Hi everbody,
I am in need of some help to get one of my skills working.
The idea is quite simple: After the attack has been completed, i'd like to check if the target has a specific state applied. If yes, an additional animation should be played and the skill damage should be applied once more, but with a different element type.
The setup works fine so far, the animation plays as defined, but I am struggling with dealing the skill damage once more and with using the element type 16 instead of 7 for this.
Here the corresponding section of the code. I am using Yanfly's action sequence, so the whole part of checking for the state is happening in the follow action after the skill resolution is completed.
...
<follow action>
wait: 30
IF target.isStateAffected(104)
animation 302: target
wait for animation
?????
END
wait: 10
opacity not focus: 100%
</follow action>
...
Btw.: Not sure if it can be done with one of Yanfly's many PlugIns or JS or somehow else...
I am in need of some help to get one of my skills working.
The idea is quite simple: After the attack has been completed, i'd like to check if the target has a specific state applied. If yes, an additional animation should be played and the skill damage should be applied once more, but with a different element type.
The setup works fine so far, the animation plays as defined, but I am struggling with dealing the skill damage once more and with using the element type 16 instead of 7 for this.
Here the corresponding section of the code. I am using Yanfly's action sequence, so the whole part of checking for the state is happening in the follow action after the skill resolution is completed.
...
<follow action>
wait: 30
IF target.isStateAffected(104)
animation 302: target
wait for animation
?????
END
wait: 10
opacity not focus: 100%
</follow action>
...
Btw.: Not sure if it can be done with one of Yanfly's many PlugIns or JS or somehow else...