I tried this but it didn't work.
The correct syntax probably doesn't use the b used in damage formulas...
<JS Pre-Damage>
if (b.hp != b.mhp) a.addState(1);
</JS Pre-Damage>
The correct syntax probably doesn't use the b used in damage formulas...
<JS Pre-Damage>
if (b.hp != b.mhp) a.addState(1);
</JS Pre-Damage>