Hello.
I am heavily using Yanfly scripts, and I recently hit wall with this one
http://yanfly.moe/2015/10/11/yep-4-action-sequence-pack-1/
What I need:
My states applied/not applied chances towards targed are expected to be heavily related to relative (%) damage done by individual blows to target.
Example: Target receive single blow for 20% or more (of total target.mhp) impact damage, so he has risk of broken bones status, etc...
Math I need for every status I need I can easilly do inside separate common event, as well as location damage etc.. and put everything necessary to game switches.
My problem is HOW I exactly I check switch ON/OFF during action sequence inside skill notebox related to yanfly plugin above.
Something with logic like this:
eval: If ($gameSelfSwitches.(5)==true) add state 12: target, show;
Tried but 7 hours of various syntax erorrs makes me really sad :(. I need just this one line I am not able to write correctly :P.
I will be etternally gratefull for right syntax I need to copy/paste to make it work.
Thank you, you will be my hero.
I am heavily using Yanfly scripts, and I recently hit wall with this one
http://yanfly.moe/2015/10/11/yep-4-action-sequence-pack-1/
What I need:
My states applied/not applied chances towards targed are expected to be heavily related to relative (%) damage done by individual blows to target.
Example: Target receive single blow for 20% or more (of total target.mhp) impact damage, so he has risk of broken bones status, etc...
Math I need for every status I need I can easilly do inside separate common event, as well as location damage etc.. and put everything necessary to game switches.
My problem is HOW I exactly I check switch ON/OFF during action sequence inside skill notebox related to yanfly plugin above.
Something with logic like this:
eval: If ($gameSelfSwitches.(5)==true) add state 12: target, show;
Tried but 7 hours of various syntax erorrs makes me really sad :(. I need just this one line I am not able to write correctly :P.
I will be etternally gratefull for right syntax I need to copy/paste to make it work.
Thank you, you will be my hero.