Hazel2eyes

Warper
Member
Joined
Jul 22, 2021
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RMMZ
I'm currently using the Skills and states core by Visustella and I was wondering how to add a state when the MP of a party member reaches 0 in battle.
 

BlueMoon

Nebula Games Leader
Veteran
Joined
Jan 10, 2017
Messages
361
Reaction score
485
First Language
Italian
Primarily Uses
RMMZ
Maybe you can try to use Passive States?
You can create a passive state and assign it to your actors.

Code:
<Passive State: x>

This will be the notetag to be assigned to the actors. And the, inside your state, you can attach a custom passive condition like:

Code:
<JS Passive Condition>
 condition = user.mp <= 0;
</JS Passive Condition>
 

Hazel2eyes

Warper
Member
Joined
Jul 22, 2021
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RMMZ
Maybe you can try to use Passive States?
You can create a passive state and assign it to your actors.

Code:
<Passive State: x>

This will be the notetag to be assigned to the actors. And the, inside your state, you can attach a custom passive condition like:

Code:
<JS Passive Condition>
 condition = user.mp <= 0;
</JS Passive Condition>
Thanks so much! its working now.
 

Latest Threads

Latest Profile Posts

Does the word "research" imply that you're searching for something that had been found before?
So Dad broke the blinds two days ago and he finally decided to try to fix them. I doubt he'll do very well without some help. And I can't help him myself--I don't know how the stink to fix those blinds. My knowledge is just plushies, mascots, computers, animation, and video game design. And also, I've had to stop family and friends from downloading viruses too many times to count.
IlluminaughtyStore.jpg
:kaojoy:
Welcome to the Illuminaughty store.
Yes... they are "wearing Illuminati branded everything, reclining on huge Illuminati body pillows. Occasionally they'll "teehee" at each other and have pillow fights with Illuminati branded pillows full of hundred dollar bills."
BCj
Working on Escalia again, feels good. Have this overwhelming urge to map as well, but need to get some extra tiles commissioned first :D
Lee Sang wrote on Bandito's profile.
Hi, I've just tried your plugin "Game is Active" and when I tested it on Android, it gave me an error, something about "Cannot read property 'underfined' of underfined.

Forum statistics

Threads
113,872
Messages
1,078,082
Members
147,962
Latest member
CuidadoDoyJuegos
Top