Categories

This is a state that, on the fifth skill cast, raise the damage of that skill by 50%.

You are here:
< Back

Credit: TacticianDaraen

<Custom Battle Effect>
user._boiling = 5;
user.setStateCounter(stateId, user._boiling);
</Custom Battle Effect>

<Custom Action Start Effect>
var action = user.currentAction();
user._boiling = user._boiling || 0;
if (action.isSkill() && action.isHpEffect() && user._boiling > 0) { //don't want to apply to healing skill? Change to "action.isDamage"
  user._boiling -= 1;
  user.setStateCounter(stateId, user._boiling);
}
if (user._boiling <= 0) {
  user.startAnimation(3);
}
</Custom Action Start Effect>

<Custom Confirm Effect>
if (user._boiling <= 0) {
  value = Math.round(value * 1.5);
}
</Custom Confirm Effect>

<Custom Conclude Effect>
 if (user._boiling <= 0) {
   user._boiling = 5;
   user.setStateCounter(stateId, user._boiling);
 }
</Custom Conclude Effect>
Table of Contents