An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Conditional State - ConditionalState.js

Plugin desc : Conditional State Grant Plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com

Desc page : https://github.com/triacontane/RPGMakerMV/tree/mz_master/ConditionalState.js

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MZ-plugins/refs/heads/main/ConditionalState.js

File name : ConditionalState.js

Help of plugin :

@target MZ
@url https://github.com/triacontane/RPGMakerMV/tree/mz_master/ConditionalState.js
@plugindesc Conditional State Grant Plugin
@author Triacontane
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/triacontane-MZ-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----

A state will be granted when the remaining HP or MP conditions are met.
Enter the following in the memo field with the characteristic (※1).
※1 However, behavior when assigning tags to states has not been confirmed.

<CS_UpperHP:30,4> # When current HP exceeds 30%, grants State [4].
<CS_UpperHp:30,4> # Same as above.
<CS_LowerHP:40,5> # When current HP falls below 40%, grants State [5].
<CS_LowerHp:40,5> # Same as above.
<CS_UpperMP:30,4> # When current MP exceeds 30%, grants State [4].
<CS_UpperMp:30,4> # Same as above.
<CS_LowerMP:40,5> # When current MP falls below 40%, grants State [5].
<CS_LowerMp:40,5> # Same as above.
<CS_UpperTP:30,4> # When current TP exceeds 30%, grants State [4].
<CS_UpperTp:30,4> # Same as above.
<CS_LowerTP:40,5> # Grants State [5] when current TP falls below 40%.
<CS_LowerTp:40,5> # Same as above.

You can also specify the condition directly as a value instead of a
percentage.
<CS_UpperHPValue:30,4> # When current HP exceeds 30, grants State [4].
<CS_UpperHpValue:30,4> # Same as above.
<CS_LowerHPValue:40,5> # When current HP falls below 40, grants State [5].
<CS_LowerHpValue:40,5> # Same as above.
<CS_UpperMPValue:30,4> # When current MP exceeds 30, grants State [4].
<CS_UpperMpValue:30,4> # Same as above.
<CS_LowerMPValue:40,5> # When current MP falls below 40, grants State [5].
<CS_LowerMpValue:40,5> # Same as above.
<CS_UpperTPValue:30,4> # When current TP exceeds 30, grants State [4].
<CS_UpperTpValue:30,4> # Same as above.
<CS_LowerTPValue:40,5> # Grants State [5] when current TP falls below 40.
<CS_LowerTpValue:40,5> # Same as above

While the similar plugin ”AutomaticState.js” sets it on a per-state basis,
this plugin sets it on a per-battler basis.

States specified by this plugin can be canceled by specifying a cancellation
condition or using an event command, but they are not intended to be canceled
by design. Please note.

This plugin does not have a plugin command.

Terms of Use:
You may modify and redistribute this plugin without permission, and there are
no restrictions on its use (commercial, R18+, etc.).
This plugin is now yours.

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.