When an enemy is inflicted with the state
An actor attacks with the normal attack skill
Then I would like the actor to also get the state because he "touched" the infected enemy.
I tried Yanflys Damage formular:
<damage formula>
if (target.isStateAffected(7)) {if (target.result().missed) {} else {battler.addState(7)}}
</damage formula>
It works, however it is always applied if an infected enemy is hit, even if the attack missed. Anyone know how to solve this...?!
An actor attacks with the normal attack skill
Then I would like the actor to also get the state because he "touched" the infected enemy.
I tried Yanflys Damage formular:
<damage formula>
if (target.isStateAffected(7)) {if (target.result().missed) {} else {battler.addState(7)}}
</damage formula>
It works, however it is always applied if an infected enemy is hit, even if the attack missed. Anyone know how to solve this...?!