Hello,
I'm using plugins of Yanfly (Battle Core, Buff and Sate, Skill Core etc....)
I want to know how i can do a passive state where it react if the user do an evasion.
For exemple, if my character evade from a skill, i want him to win a buff or a state.
Is there a formule for my passive state to react when this happen ? I am just learning about javascript.
I tried to put :
<Custom React Effect>
if user.result().evaded
user.addBuff(6,5);
</Custom React Effect>
But nothing happen ^^
Thanks in advance for answering me, and have a good day !
I'm using plugins of Yanfly (Battle Core, Buff and Sate, Skill Core etc....)
I want to know how i can do a passive state where it react if the user do an evasion.
For exemple, if my character evade from a skill, i want him to win a buff or a state.
Is there a formule for my passive state to react when this happen ? I am just learning about javascript.
I tried to put :
<Custom React Effect>
if user.result().evaded
user.addBuff(6,5);
</Custom React Effect>
But nothing happen ^^
Thanks in advance for answering me, and have a good day !