I'm trying to make a skill that has a 2 turn cooldown, but if it kills the target, the cooldown is reset to 0.
I have no idea what I'm doing...someone who knows the plugin help me please XD
What I put in the skill note tag:
So far it gives an error that the target is undefined.
I have no idea what I'm doing...someone who knows the plugin help me please XD
What I put in the skill note tag:
<Cooldown Eval>
if (target.hp <=0) {
cooldown = 0;
}
</Cooldown Eval>
<Cooldown: 2>
if (target.hp <=0) {
cooldown = 0;
}
</Cooldown Eval>
<Cooldown: 2>
So far it gives an error that the target is undefined.