How to add negative effects, like recoil or stun

Posting this here, because for some reason I can't make a new thread, but anyone know how to ad negative effects, like recoil or stun to a move? Got a strong move I want to be more of a 'finisher' because it adds stun for 2 turns after the use.

I've split your post into a new thread. 👋

You want to apply the stun to the user, right? A quick way to do this is use the damage formula, e.g.

a.addState(123); a.atk * 4 - b.def * 2
"Add state ID 123 to the user; return a damage/heal value of 4x user's ATK minus 2x target's DEF."

However, if any actor in your game can use this skill while affected by an Auto Battle trait, you should look for an alternative approach. Otherwise auto-battle actors will give themselves the state whenever they consider using this skill.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-add-negative-effects-like-recoil-or-stun.164034/