I'm relatively new to RPG Maker and I wanted to have some unique attacks that backfire on the player if they miss, like "if you hit, the enemy loses all accuracy for 3 turns, but if you miss, then you get frozen for 2 turns".
I've been using Yanflys Plugins like BattleEngineCore, ActionSequencePack1 and SkillCore to try and include this effect. But everything I do doesn't seem to work and after reading through every thread I could find I've still not found anything that actually works.
I was hoping I could find some help here. I've figured that putting "a.addState(13)" in the notes makes the effect happen, I just can't figure out how to make that effect happen if the attack misses.
I've tried a bunch of different scripts but here's the one I assume should be working
<Post-Damage Eval>
if (result.missed || result.evaded){
a.addState(13)
}
</Post-Damage Eval>
I've tried several variations of this but none seem to work, I'd really appreciate some help on this.
I've been using Yanflys Plugins like BattleEngineCore, ActionSequencePack1 and SkillCore to try and include this effect. But everything I do doesn't seem to work and after reading through every thread I could find I've still not found anything that actually works.
I was hoping I could find some help here. I've figured that putting "a.addState(13)" in the notes makes the effect happen, I just can't figure out how to make that effect happen if the attack misses.
I've tried a bunch of different scripts but here's the one I assume should be working
<Post-Damage Eval>
if (result.missed || result.evaded){
a.addState(13)
}
</Post-Damage Eval>
I've tried several variations of this but none seem to work, I'd really appreciate some help on this.