I'm using Yanfly's BuffStateCore, I have a mutli enemy attack where the player attacks 4 random enemies, what I want is for with each attack, the attack increases by 25% but the attack seems to be the same amount. I tested it out by putting 100 in my damage formula and it just remains the same number, here is the script in my states notebox
<Custom Apply Effect>
user.glory = 0.25;
</Custom Apply Effect>
</Custom Confirm Effect>
// Check if the damage dealt deals physical HP damage.
if (this.isPhysical() && this.isHpEffect() && value > 0) {
// Base the bonus damage off of the user's HP rate.
value = value + (value * user.glory);
value = Math.ceil(value);
user.glory = user.glory * 2;
}
</Custom Confirm Effect>
Does anything appear to be wrong with my script?
<Custom Apply Effect>
user.glory = 0.25;
</Custom Apply Effect>
</Custom Confirm Effect>
// Check if the damage dealt deals physical HP damage.
if (this.isPhysical() && this.isHpEffect() && value > 0) {
// Base the bonus damage off of the user's HP rate.
value = value + (value * user.glory);
value = Math.ceil(value);
user.glory = user.glory * 2;
}
</Custom Confirm Effect>
Does anything appear to be wrong with my script?