This has come up a lot. I can't find a way to do it. I would like to attack a enemy and inflict a state upon myself in the process.
Inflict state on self when scope is on enemy?
RPG Maker VXAce Supportin the damage formula, do "a.add_state(X); ..."
Where X is the id of the state. Then, just put the damage formula as normal after. For example, if damage is "a.atk * 4 - b.def * 2" and you want to give yourself state id 3, do "a.add_state(3); a.atk * 4 - b.def * 2".
Where X is the id of the state. Then, just put the damage formula as normal after. For example, if damage is "a.atk * 4 - b.def * 2" and you want to give yourself state id 3, do "a.add_state(3); a.atk * 4 - b.def * 2".
Original thread: https://forums.rpgmakerweb.com/threads/inflict-state-on-self-when-scope-is-on-enemy.16462/