I'm looking for a way to make a state that doesn't get removed while visiting an inn, because it's a disease. Is there a way of doing this? I would like the state to be removable through the "remove state" command though.
Incurable state
RPG Maker VXAce SupportFor your actors, add this to the inn event:
Conditonal Branch: [Actor] has [state] applied
Heal HP [Entire Party]
Heal MP [Entire Party]
Remove State [Do this for all states save the one you want to keep]
Else
[insert a conditional branch for all of the actors you have; i.e. do this 7 more times with different actors if you have 8 actors that can be afflicted.]
Else
Recover All
So basically, if someone has the state, you have to manually go in and remove all the states like poison, blind, etc. and heal everyone's HP and MP. But if no one does, you can simply recover all as per usual.
-Wallace
Conditonal Branch: [Actor] has [state] applied
Heal HP [Entire Party]
Heal MP [Entire Party]
Remove State [Do this for all states save the one you want to keep]
Else
[insert a conditional branch for all of the actors you have; i.e. do this 7 more times with different actors if you have 8 actors that can be afflicted.]
Else
Recover All
So basically, if someone has the state, you have to manually go in and remove all the states like poison, blind, etc. and heal everyone's HP and MP. But if no one does, you can simply recover all as per usual.
-Wallace
There is also the option of passive states scripts. I know of at least 3 that are available.
This solution works best if the state is indeed incurable during the duration of your game. It could be removed easily other ways though.
~ Dinhbat
This solution works best if the state is indeed incurable during the duration of your game. It could be removed easily other ways though.
~ Dinhbat
as wallace mentioned you can add a line to your inn after everyone has been healed add the
add status effect for (actor)
itll basically heal everyone even the sickness but then give the sickness back to that actor after it has been healed
unless you dont want him to be healed of his hp/mp you can do something like a custom made inn
on the events go to your inn event or make a new one and on the first tab middle right select recover all then choose the actors you want to heal but leave the infected/sick actor out
this will heal whoever you selected and no one else
hope this helps n.n
add status effect for (actor)
itll basically heal everyone even the sickness but then give the sickness back to that actor after it has been healed
unless you dont want him to be healed of his hp/mp you can do something like a custom made inn
on the events go to your inn event or make a new one and on the first tab middle right select recover all then choose the actors you want to heal but leave the infected/sick actor out
this will heal whoever you selected and no one else
hope this helps n.n
Within the "Remove state" command, you could remove all states but the disease state. It could be a pain in the butt to do, but it works.
Original thread: https://forums.rpgmakerweb.com/threads/incurable-state.26073/