Hello I'm desperately trying to get the skill with the following damage formula to work:
if(b.isStateAffected(11)){$gameVariables.setValue(137, 90);}(a.atk * 5 - b.def * 2 + v[137])
If the battler is inflicted by state 11, the damage should be +90.
The if case seems to work properly, but what doesn't work is the actual formula itself.
If state 11 is not inflicted the damage output will be "0" if it is, the damage is much lesser than expected.
So it seems that the bold hightlighted part of the formula doesn't work:
if(b.isStateAffected(11)){$gameVariables.setValue(137, 90);}(a.atk * 5 - b.def * 2 + v[137])
It uses only the "+v[137]" I really don't know why.
if(b.isStateAffected(11)){$gameVariables.setValue(137, 90);}(a.atk * 5 - b.def * 2 + v[137])
If the battler is inflicted by state 11, the damage should be +90.
The if case seems to work properly, but what doesn't work is the actual formula itself.
If state 11 is not inflicted the damage output will be "0" if it is, the damage is much lesser than expected.
So it seems that the bold hightlighted part of the formula doesn't work:
if(b.isStateAffected(11)){$gameVariables.setValue(137, 90);}(a.atk * 5 - b.def * 2 + v[137])
It uses only the "+v[137]" I really don't know why.