Hey everyone! So i'm really tired while posting this so please don't mind if its an easy fix lol. So, what i'm trying to do is in my game, there will be bosses that have a special status effect, this status effect makes them immune to knockout, and instead when reaching 0 HP they will go into recovery, which will make them not be able to move (like petrify or sleep) but at the end gain 25% of their HP back. During this window of recovery, the players only way to win is to cast a spell that will remove the special status effect, so that the boss can be KO'd. the catch is the spell will only work during this recovery phase, if the spell is cast when the boss is not recovering, it won't work and have no effect. Is there any way I can do this?
Trying to make a status unremovable if another status is on
RPG Maker MV SupportBasically, you'll need a state that applies immortallity (=resistance to state #1) and that is applied to the boss enemy on turn 0 of the battle.
Then you'll need a troop event set to be triggered by HP=0 of the boss that applies the recovery state, and that state also has to contain both the recovery effect and the unable to move effect.
Now the skill you want to kill that boss needs a common event as effect, and that common event checks which states are on the boss and removes them in the correct conditions.
Problem with this is that common events run on turnend, not on the skill use itself.
To change that you'll need a plugin, and there are several plugins that could be used, sometimes making the sequence even easier than the non-scripted variant I described above.
Then you'll need a troop event set to be triggered by HP=0 of the boss that applies the recovery state, and that state also has to contain both the recovery effect and the unable to move effect.
Now the skill you want to kill that boss needs a common event as effect, and that common event checks which states are on the boss and removes them in the correct conditions.
Problem with this is that common events run on turnend, not on the skill use itself.
To change that you'll need a plugin, and there are several plugins that could be used, sometimes making the sequence even easier than the non-scripted variant I described above.
Sorry for the delayed response, but could you link me some of these plugins?
Original thread: https://forums.rpgmakerweb.com/threads/trying-to-make-a-status-unremovable-if-another-status-is-on.97071/