I have a plugin I'm working on, and I've hit a dead-end.
So I want to increase gold based on "difficulty". While I know I have everything else right, I'm kind of stumped on actually having it multiply to the enemies base gold amount.
I thought this was the function on gold gained through enemies, that or I just did it wrong.
Cheers,
Bloodmorphed
So I want to increase gold based on "difficulty". While I know I have everything else right, I'm kind of stumped on actually having it multiply to the enemies base gold amount.
Code:
Game_Enemy.prototype.gold = function() {
switch (diffSetting) {
case 0:
return this.enemy().gold * easyGold;
break;
case 1:
return this.enemy().gold * normalGold;
break;
case 2:
return this.enemy().gold * hardGold;
break;
}
};
I thought this was the function on gold gained through enemies, that or I just did it wrong.
Cheers,
Bloodmorphed