Hazel2eyes

Villager
Member
Joined
Jul 22, 2021
Messages
7
Reaction score
4
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
363
Reaction score
487
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

Villager
Member
Joined
Jul 22, 2021
Messages
7
Reaction score
4
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 Posts

Latest Profile Posts

I guess I should send my CV to Hasbro. I've made Monopoly cheaters edition more fun and challenging. I've developed custom cheats and chest/chance cards for it. And I've cleared many ruling ambiguities through my cards and rules.
I'm only missing 2 more bgms for my game but maaaaan, searching for these tracks is killing me. Can't find anything good to replace MZ's Theme 2 and Scene 5 I have as placeholders. Everything is too epic or too evil or too alarming. That 'scene 5' track in particular would fit nicely with my scene. Well, at least I finally figured what my last click-fest of a gameplay element will be like, so something positive :D
Finding new interesting stuff to make for the resource calendar becomes harder every year D:
ScreenShot_8_19_2022_2_3_18.png
FINALLY got the mood system in the game during battle. Since the game is called Panic Attack, I figured you should have certain moods present including Panic. so the main 3 or Hype, Depressed, and Anxious. Panic is only when stunned.
Red_V2.png
Red's design is finally finished (his hair is blue on purpose, it's a joke!). Out of all of the compulsory party members, he spends the most time with you. Just like the character he's based on, he presents himself as a simple person who only wants to help others, but there's obviously more to him than meets the eye.

Forum statistics

Threads
124,698
Messages
1,165,339
Members
163,512
Latest member
Systole1913
Top