Hi! I wanted help on a simple skill I'm trying to make. Essentially, I want the skill to give the player/party member a free, additional turn if they successfully hit an enemy. My main problem is I don't know how I should properly format it or if I'm using the right scripting.
Relevant Plugins:
Yanfly Battle Core
Yanfly Action sequence 1-3
Yanfly Skill Score
Yanfly Instant Cast
Here if my current notetag in the skill:
I had the idea of maybe making a variable for this skill, so that it checks on each hit if the player dealt damage, adding 1 to the variable. Then, at the very end of the notetag, it would make the skill instant if that variable was at 2. Once again, I'm not sure how to format it though. If you need any screenshots or additional info please let me know. Thanks!
Relevant Plugins:
Yanfly Battle Core
Yanfly Action sequence 1-3
Yanfly Skill Score
Yanfly Instant Cast
Here if my current notetag in the skill:
Code:
<Target Action>
action animation
wait for animation
action effect
wait for animation
action animation
wait for animation
action effect
If (this.isHpEffect())
instant = true
end
<\Target Action>
<Cooldown: 4>
I had the idea of maybe making a variable for this skill, so that it checks on each hit if the player dealt damage, adding 1 to the variable. Then, at the very end of the notetag, it would make the skill instant if that variable was at 2. Once again, I'm not sure how to format it though. If you need any screenshots or additional info please let me know. Thanks!