I've been trying to make a state that buffs a specific skill using the YEP's Buffs & States Core plugin, but I'm running into a wall
that i've not quite been able to jump over.
i have set up the state as shown below:
However, instead of just increasing the damage of skill ID: 952 it increases all the damage dealt by the actor.
Is there something I'm missing?
Thanks in advance.
that i've not quite been able to jump over.
i have set up the state as shown below:
Code:
<Custom Confirm Effect>
if (this.isSkill(952))
{
/// damage formula
var damage = (user.atk * 3.5 - target.def) * 0.75;
/// Round up the number, just to make sure it works.
damage = Math.ceil(damage);
value += Math.max(0, damage);
user.addStateCounter(173, -1);
}
</Custom Confirm Effect>
However, instead of just increasing the damage of skill ID: 952 it increases all the damage dealt by the actor.
Is there something I'm missing?
Thanks in advance.