I want to create a state that swaps the users hp and mp values when they enter the state, and unswaps them when they leave the state.
I am not sure how to code for this (I have tried messing around with Javascript and custom apply effects, but to little avail).
(Necessary details end here, below is just more details about my aims with the state)
More details on the state:
Essentially, the idea is that the character has three stances (or "attitudes") - Gregarious, Academic, and Obnoxious
Changing to Academic stance swaps HP and MP.
Changing to Obnoxious stance fully restores MP, but gives taunt.
Changing to Gregarious stance restores some HP and raises defence.
The idea is that the characters normal max HP is too low to use their strongest skills, so they need to switch to a risky stance to be effective offensively.
Going from academic to obnoxious fully restores SP, then swaps that SP with HP, and lets them take the heat off their teammates using taunt.
I am not sure how to code for this (I have tried messing around with Javascript and custom apply effects, but to little avail).
(Necessary details end here, below is just more details about my aims with the state)
More details on the state:
Essentially, the idea is that the character has three stances (or "attitudes") - Gregarious, Academic, and Obnoxious
Changing to Academic stance swaps HP and MP.
Changing to Obnoxious stance fully restores MP, but gives taunt.
Changing to Gregarious stance restores some HP and raises defence.
The idea is that the characters normal max HP is too low to use their strongest skills, so they need to switch to a risky stance to be effective offensively.
Going from academic to obnoxious fully restores SP, then swaps that SP with HP, and lets them take the heat off their teammates using taunt.