Getting a state if your TP reaches 0

AmazingKazuki

Veteran
Veteran
Joined
May 21, 2015
Messages
103
Reaction score
38
First Language
English
Primarily Uses
Two things come to mind but I'm not the best at solving these issues.

1. Is there anything on the state that could interfere with the conditioning?
2. Are the plugins in the right order?

Have you tried other conditions like this on other states and they have worked or not worked?
 

KazukiT

Veteran
Veteran
Joined
Dec 7, 2014
Messages
257
Reaction score
270
First Language
English
Primarily Uses
RMMV
Two things come to mind but I'm not the best at solving these issues.

1. Is there anything on the state that could interfere with the conditioning?
2. Are the plugins in the right order?

Have you tried other conditions like this on other states and they have worked or not worked?
I put the plugin below Yanfly's BuffState Core and made a test skill that drains TP to 0 and it still not working.
 

HumanNinjaToo

The Cheerful Pessimist
Veteran
Joined
Apr 18, 2013
Messages
1,226
Reaction score
601
First Language
English
Primarily Uses
RMMV
I think the condition is supposed to be a percentage. Did you try 1%

edit: I actually just looked in the plugin and <Passive Condition: TP Below x> is not listed as a valid note tag. So you would need to use something like this:
Code:
  <Custom Passive Condition>
  if (user.tp < 1) {
    condition = true;
  } else {
    condition = false;
  }
  </Custom Passive Condition>
 
Last edited:

KazukiT

Veteran
Veteran
Joined
Dec 7, 2014
Messages
257
Reaction score
270
First Language
English
Primarily Uses
RMMV
I think the condition is supposed to be a percentage. Did you try 1%

edit: I actually just looked in the plugin and <Passive Condition: TP Below x> is not listed as a valid note tag. So you would need to use something like this:
Code:
  <Custom Passive Condition>
  if (user.tp < 1) {
    condition = true;
  } else {
    condition = false;
  }
  </Custom Passive Condition>
I just put in the code exactly how you have it and it didn't work.
 

HumanNinjaToo

The Cheerful Pessimist
Veteran
Joined
Apr 18, 2013
Messages
1,226
Reaction score
601
First Language
English
Primarily Uses
RMMV
I just put in the code exactly how you have it and it didn't work.
I just realized I was wrong earlier, you were using the custom stat note tag for TP, sorry I missed that before; either way, I don't understand why that didn't work unless since it's calling for a stat it always looks at TP as being 100?? I don't know.

Also, maybe try this in the custom condition:
(user.tp / user.mtp <= 0.25)

If that works than just adjust the 0.25 to maybe 0.01 if you're wanting it for when TP is basically at zero.

edit: BTW, you remembered to give the passive state to the actor right? either setting it within the plugin parameters or using a note tag for the actor/class?
 

KazukiT

Veteran
Veteran
Joined
Dec 7, 2014
Messages
257
Reaction score
270
First Language
English
Primarily Uses
RMMV
I got it to work it work but setting in the plugin parameters and using the notetag I was initially using. Anyways, thanks for helping me realize the solution was right under my nose.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Degica has discounts on Humble for games and older Makers. I don't know which A-train to choose. :-D
Hey, uh...refresh my memory. What do i do if I want a thread I made deleted?

Forum statistics

Threads
103,194
Messages
997,908
Members
134,667
Latest member
SardonicReserve
Top