Hello, I'm wondering if there is a plugin that can let you swap states with your target. (ex: Harold is inflicted with Poison and Slime is inflicted with Blind. Let's say Harold casts a skill called "Status Swap". The skill will transfer the Poison from Harold to the Slime, and the Blind from the Slime to Harold.) It would also be nice if this works with buffs and debuffs too.
Swapping States
JS Plugin RequestsBump?
Script
Terms of Use: Credit DreamX
Use <swapStates:1> as a skill notetag to swap states, use <swapBuffs:1> as a skill notetag to swap buffs and debuffs
Terms of Use: Credit DreamX
Use <swapStates:1> as a skill notetag to swap states, use <swapBuffs:1> as a skill notetag to swap buffs and debuffs
Thank you for taking the time to make this! However, the buff/debuff portion doesn't seem to be working correctly.
- First, I tried using the skill while the user has a Defense buff on him, and when it transferred to the enemy, it turned into a Max MP buff. Same thing happened when he had a Magic Defense buff.
- I used it again when the enemy had the said Max MP buff. The skill user stole the enemy's Max MP buff with no problem.
- Then I tried to use the skill while the enemy had an Attack debuff on it. The result was that the enemy was cured of the Attack debuff but the skill user isn't inflicted with it.
- So, because of the points above, I wasn't able to test what happens when both the user and the enemy are inflicted with the same buff or debuff.
- First, I tried using the skill while the user has a Defense buff on him, and when it transferred to the enemy, it turned into a Max MP buff. Same thing happened when he had a Magic Defense buff.
- I used it again when the enemy had the said Max MP buff. The skill user stole the enemy's Max MP buff with no problem.
- Then I tried to use the skill while the enemy had an Attack debuff on it. The result was that the enemy was cured of the Attack debuff but the skill user isn't inflicted with it.
- So, because of the points above, I wasn't able to test what happens when both the user and the enemy are inflicted with the same buff or debuff.
Thanks for bug checking. I'll work on fixing it. Did you try states? They seem to be working correctly.
Edit: I seem to have fixed the bug: Script
Yes, they're both working properly now 🙂
I updated the script with an option to prevent some states from begin swapped. Use <noSwap:1> as a notetag.
Script
Script
Original thread: https://forums.rpgmakerweb.com/threads/swapping-states.54742/