I'm trying to make a skill that sheds all defense and transfers that amount to attack, but I don't know how to set it up.
Stat transfer skill. Help.
RPG Maker MV SupportLink a Common event to that skill that does:
-Set Variable value equal to the Defence of the character.
-Change parameter for that character, decrease Defence by the value stored in the Variable.
-Change parameter again, this time increase Attack by the value stored in the Variable.
You're going to need to run a common event at the end of each battle, as well as one that triggers on when the skill effect ends or if the character dies that does the reverse to normalise their stats again. (Also, will have to take off 1 Defence point when returning Defence, since stats can't go below 1, so they'd otherwise be ending up with 1 more Defence than they started with.)
-Set Variable value equal to the Defence of the character.
-Change parameter for that character, decrease Defence by the value stored in the Variable.
-Change parameter again, this time increase Attack by the value stored in the Variable.
You're going to need to run a common event at the end of each battle, as well as one that triggers on when the skill effect ends or if the character dies that does the reverse to normalise their stats again. (Also, will have to take off 1 Defence point when returning Defence, since stats can't go below 1, so they'd otherwise be ending up with 1 more Defence than they started with.)
Original thread: https://forums.rpgmakerweb.com/threads/stat-transfer-skill-help.127106/