Ok in hope, Im in the right place tuto or support,
so here is my problem im trying to make a skill that evaluate the incoming hit direction and to put a +- to damage depending on var
so i try common event that call a force action but it seem to complex when it could be easier and does not do what i want
so i try [damage formula] under damage core from yanfly and that what i came to so far
my variable 4 is = to random
that was a common event with force action that was returning the use of a skill with a different damage formula end up with 2
action and on top of it no damage...
example if skill call random 0 call skill 1... if random 1 call skill 2 ect...
control variable random 0-4 (so 0=front hit and 1= flank hit)
if { ( \V[4]===0);a.atk+a.agi*4}
if { (\V[4]===1);a.atk+a.agi*5}
this is just an exemple and was probably not be Writen the right way
----------------------------------------------------------------------------------------------------------------
my first problem was that it does not hit, i understood that i can call an event without a damage formulae..
so i look under Damage core from yanfly
In which i can call a damage formulae in skill notetag but aint sure of the proper way to write it down
so that my example of damage formula probably not written correctly,
first i would need to change the common event evaluation to be first in line and not last but that aside
my second problem was to evaluate the var[4] which is my random variable,
so that i could say you hit front rear flank...

so maybe if i write something like
if someone could confirm my java...
<damage formula>
random_variable[4](0,1,2,3,4)
if {(var[4]===0);a.atk+a.agi*4,call_event[5])}
if{(var[4]===1);a.atk+a.agi*5,call_event [5])}
etc....
<damage formula>
or am i in the dark...
so here is my problem im trying to make a skill that evaluate the incoming hit direction and to put a +- to damage depending on var
so i try common event that call a force action but it seem to complex when it could be easier and does not do what i want
so i try [damage formula] under damage core from yanfly and that what i came to so far
my variable 4 is = to random
that was a common event with force action that was returning the use of a skill with a different damage formula end up with 2
action and on top of it no damage...
example if skill call random 0 call skill 1... if random 1 call skill 2 ect...
control variable random 0-4 (so 0=front hit and 1= flank hit)
if { ( \V[4]===0);a.atk+a.agi*4}
if { (\V[4]===1);a.atk+a.agi*5}
this is just an exemple and was probably not be Writen the right way
----------------------------------------------------------------------------------------------------------------
my first problem was that it does not hit, i understood that i can call an event without a damage formulae..
so i look under Damage core from yanfly
In which i can call a damage formulae in skill notetag but aint sure of the proper way to write it down

so that my example of damage formula probably not written correctly,
first i would need to change the common event evaluation to be first in line and not last but that aside
my second problem was to evaluate the var[4] which is my random variable,
so that i could say you hit front rear flank...

so maybe if i write something like
if someone could confirm my java...
<damage formula>
random_variable[4](0,1,2,3,4)
if {(var[4]===0);a.atk+a.agi*4,call_event[5])}
if{(var[4]===1);a.atk+a.agi*5,call_event [5])}
etc....
<damage formula>
or am i in the dark...