Hi, i've been using Yanfly's Buff & States Core to create a state that takes 3 turns to finish(basically a time bomb).
After it ends, deals damage equals to a variable that counts the amount of times the skill was casted, thanks to Ellye's State Damage.
The problem is that, when the battler aplies the state on a enemy, at the end of the first turn, deals damage even if
the state didn't end.
The way i'm doing this:
1) Created a state called "Time Bomb". Takes 3 turns to dissapear. With Yanfly's Plugin an Ellye's Plugin, I added to the comment box:
<Custom Leave Effect>
<formula: v[1]*5>
</Custom Leave Effect>
2) Created a skill called "Time Bomb". It applies the state "Time Bomb" and runs a common event called "Time Bomb" that adds +1 to a variable, previously set to 0 by a parallel event on the map.
When I test the skill ingame, the battler casts the skill, applies the state and the turns ends normally, except for the state. It deals damage even if the state timer didn't end.
Do you guys think there is a more efficient way to do this?
Thanks!
After it ends, deals damage equals to a variable that counts the amount of times the skill was casted, thanks to Ellye's State Damage.
The problem is that, when the battler aplies the state on a enemy, at the end of the first turn, deals damage even if
the state didn't end.
The way i'm doing this:
1) Created a state called "Time Bomb". Takes 3 turns to dissapear. With Yanfly's Plugin an Ellye's Plugin, I added to the comment box:
<Custom Leave Effect>
<formula: v[1]*5>
</Custom Leave Effect>
2) Created a skill called "Time Bomb". It applies the state "Time Bomb" and runs a common event called "Time Bomb" that adds +1 to a variable, previously set to 0 by a parallel event on the map.
When I test the skill ingame, the battler casts the skill, applies the state and the turns ends normally, except for the state. It deals damage even if the state timer didn't end.
Do you guys think there is a more efficient way to do this?
Thanks!