Manipulating MP/TP to Give Status Effects

Question: Is it possible to give characters status effects based on how high/low their MP or TP is, and if so, how would I implement it? Would I need to learn Javascript? Sorry if this is a dumb question, I've never played with RPGmaker before

I've moved this thread to MV Support. Thank you.

You originally posted this in Game Mechanics Design, which is for discussing design (i.e. "what"; engine-agnostic) rather than implementation ("how"; engine-specific).

Basically you'd need to update the states after any relevant MP/TP changes. Personally I'd consider a plugin for this, but I've left it in MV Support for now in case someone has a creative event-based solution~

For example, YEP Auto Passive States lets you give actors/enemies passive states (always present), and optionally (de)activate those states based on conditions. With that, you could write:
  • A notetag like this in the "Note" field (a.k.a. notebox) of the actor/enemy:

    <Passive State: x>
    Replace x with the database ID of the state you want to use as a passive.

  • A notetag like this in the "Note" field of the passive state:

    <Passive Condition: MP Above 50>
    You can find more about the available notetag rules in the plugin's help section.
Passive states are always present, but they only have an effect and are visible when they're active, i.e. when their condition is met.
Moved to: MV Support You originally posted this in Game Mechanics Design, which is for discussing design (i.e. "what"; engine-agnostic) rather than implementation ("how"; engine-specific).

Basically you'd need to update the states after any relevant MP/TP changes. Personally I'd consider a plugin for this, but I've left it in MV Support for now in case someone has a creative event-based solution~

For example, YEP Auto Passive States lets you give actors/enemies passive states (always present), and optionally (de)activate those states based on conditions. With that, you could write:
  • A notetag like this in the "Note" field (a.k.a. notebox) of the actor/enemy:

    <Passive State: x>

    Replace x with the database ID of the state you want to use as a passive.

  • A notetag like this in the "Note" field of the passive state:

    <Passive Condition: MP Above 50>

    You can find more about the available notetag rules in the plugin's help section.
Passive states are always present, but they only have an effect and are visible when they're active, i.e. when their condition is met.
Sorry about the wrong forum, but thanks for explaining it so that I know where to post stuff in the future!

As for the explanation, thank you so much! I did consider YEP's Auto Passive States but I wasn't sure if this would affect both battles and the overworld sprites or if I could manipulate it to give specific states/multiple states based on the MP/TP. I think I'll have to do some more research, but I appreciate the help 🙂)

Original thread: https://forums.rpgmakerweb.com/threads/manipulating-mp-tp-to-give-status-effects.150192/