hi with yanfly's tag code how would i make a state where if you have the state you can counter at the rate of % with a skill?
e.g.
enemy has the state
if enemy takes damage
10% chance to use skill 20(Death)
on the last attacker who attacked this enemy
e.g.
enemy has the state
if enemy takes damage
10% chance to use skill 20(Death)
on the last attacker who attacked this enemy