So I have Visustella MZ Skills and States Core and I would like to implement a Sanity system but I have an issue. The states that represent the stages of Sanity don't work as intented. SO here is how it should have been:
There are 4 Passive state A, Passive State B, Passive State C and Passive State D.
When The player's MP is About 80 to 100 he gets Passive state A that replace B, C and D.
When his MP gets from 50 to 79 he gets Passive state B that replace the Passive State A, C and D.
When his MP gets from 20 to 49 he gets Passive state C that replace the Passive State A, B and D.
When his MP gets from 1 to 19 he gets Passive state D that replace the Passive State A, B and C.
And if the player's MP gets to 0 it activates a common event.
The problem is the state don't get replace by one another when their condition is Active, they just all apply. I tried everything but nothing works. I need your help please.
Here is how the code for Passive state D:
<JS Passive Condition>
condition = user.mp >= 20;
</JS Passive Condition>
<Category: Sanity>
<Remove Other Sanity States>
There are 4 Passive state A, Passive State B, Passive State C and Passive State D.
When The player's MP is About 80 to 100 he gets Passive state A that replace B, C and D.
When his MP gets from 50 to 79 he gets Passive state B that replace the Passive State A, C and D.
When his MP gets from 20 to 49 he gets Passive state C that replace the Passive State A, B and D.
When his MP gets from 1 to 19 he gets Passive state D that replace the Passive State A, B and C.
And if the player's MP gets to 0 it activates a common event.
The problem is the state don't get replace by one another when their condition is Active, they just all apply. I tried everything but nothing works. I need your help please.
Here is how the code for Passive state D:
<JS Passive Condition>
condition = user.mp >= 20;
</JS Passive Condition>
<Category: Sanity>
<Remove Other Sanity States>