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

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

MZ plugins

PANDA Crisis Color To2Levels - PANDA_CrisisColorTo2Levels.js

Plugin desc : divide the text color when in a pinch into 2 levels.

License : MIT License

Author : panda(werepanda.jp)

Website : https://www.werepanda.jp/

Desc page : http://www.werepanda.jp/blog/20241125220213.html

File name : PANDA_CrisisColorTo2Levels.js

Help of plugin :

* @target MZ
 * @plugindesc divide the text color when in a pinch into 2 levels.
 * @author panda(werepanda.jp)
 * @url http://www.werepanda.jp/blog/20241125220213.html
 * 
 * @help Divide the change of the actor's text color when HP is low
 * into 2 levels, Crisis and Fatal.
 * 
 * The threshold % and text color can be set in the plugin parameters.
 * The default settings are as follows.
 * Crisis: Yellow (color number 17) when HP is less than 25% of Max HP
 * Fatal : Vermilion (color number 2) when HP is less than 10% of Max HP
 * 
 * Can also use in conjunction with the plugin PANDA_CrisisColorForEnemy.js
 * which applies the text color in a pinch for enemy names.
 * 
 * [License]
 * this plugin is released under MIT license.
 * https://opensource.org/licenses/mit-license.php
 * 
 * @param CrisisRate
 * @text HP Rate when in Crisis
 * @desc The battler will be in Crisis (Level 1) when HP is less than the specified % of Max HP.
 * @type number
 * @default 25
 * @decimals 0
 * @max 100
 * @min 0
 * 
 * @param CrisisColor
 * @text Color for Crisis
 * @desc Specify the color number for Crisis (Level 1).
 * @type color
 * @default 17
 * @decimals 0
 * @max 31
 * @min 0
 * 
 * @param FatalRate
 * @text HP Rate when in Fatal
 * @desc The battler will be in Fatal (Level 2) when HP is less than the specified % of Max HP.
 * @type number
 * @default 10
 * @decimals 0
 * @max 100
 * @min 0
 * 
 * @param FatalColor
 * @text Color for Fatal
 * @desc Specify the color number for Fatal (Level 2).
 * @type color
 * @default 2
 * @decimals 0
 * @max 31
 * @min 0
 *

スポンサードリンク

-MZ plugins

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