Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
NUUN State Turn - NUUN_StateTurn.js
Plugin desc : State, buff remaining turn display
License : MIT License
Author : NUUN
Website : https://github.com/nuun888/MZ/blob/master/NUUN_StateTurn.js
Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_StateTurn.js
File name : NUUN_StateTurn.js
Help of plugin :
* @target MZ * @plugindesc State, buff remaining turn display * @author NUUN * @base NUUN_Base * @orderAfter NUUN_Base * @version 1.1.9 * * @help * Show remaining turns on the state icon. * * Display turn mode * 'remaining':The default correction value when specified is 1.。 * 'elapsed':When specifying, set the number of turns correction to -1. * "NUUN_StateTurnCount" is required to display elapsed turns. * * Turn text color * state notes * <BatState> A state with this tag is a disadvantageous state. Therefore, the color of the disadvantageous state and debuff turn is applied. * For states without the above tags, advantageous states and buff turn colors are applied. * * Terms of Use * This plugin is distributed under the MIT license. * * Log * 1/29/2025 Ver.1.1.9 * Compatible with "NUUN_StateIconSideBySide" Ver.2.0.0. * 11/10/2024 Ver.1.1.8 * Re-corrected. * 11/9/2024 Ver.1.1.7 * Fixed an issue where state turns were not displayed correctly when using the Battle Style Extension Plugin. * 5/15/2024 Ver.1.1.6 * Fixed an issue where state turns were not displayed. * 3/2/2024 Ver.1.1.5 * Fixed an issue where the turn display would be misaligned when the state display was specified with "NUUN_BattleStyleEX". * 8/23/2023 Ver.1.1.4 * Fixed an issue where an error would occur when fighting an enemy group with monsters appearing in the middle. * 3/30/2022 Ver.1.1.3 * Fixed an issue where the number of turns was not displayed correctly when the auto release timing was at the end of the turn. * 1/3/2023 Ver.1.1.2 * Changed the Type of color specification plug-in parameter to color. (Ver.1.6.0 or later) * Changed the display in languages other than Japanese to English. * 10/29/2022 Ver.1.1.1 * Added a function that allows you to change the character color of disadvantage, state, and buff turn numbers. * 1/21/2022 Ver.1.1.0 * Added Elapsed Turns to how state turns are displayed. (Requires "NUUN_StateTurnCount") * 9/16/2021 Ver.1.0.2 * Changed some function names to avoid conflicts. * Removed unnecessary processing. * 9/15/2021 Ver.1.0.1 * Fixed an issue where the turn display could not be acquired properly. * Fixed an issue where turns in states without auto-release were displayed. * 9/9/2021 Ver.1.0.0 * First edition. * * @param TurnMode * @desc Specifies the turn mode to display. * @text Display turn mode * @type select * @option Remaining turn * @value 'remaining' * @option Elapsed turns (requires ``NUUN_StateTurnCount'') * @value 'elapsed' * @default 'remaining' * * @param ActorStateIconVisible * @desc Remaining turn indication on allied state icons. * @text Allied state remaining turn display * @type boolean * @default true * * @param EnemyStateIconVisible * @desc Remaining turn display on enemy state icon. * @text Enemy state remaining turn display * @type boolean * @default true * * @param TurnX * @desc Turn coordinate X. (relative) * @text Turn coordinate X (relative) * @type number * @default 0 * @min -9999 * * @param TurnY * @desc Turn coordinate Y. (relative) * @text Turn coordinate Y (relative) * @type number * @default -4 * @min -9999 * * @param TurnFontSize * @desc Font size for turns. (from main font) * @text Turn font size * @type number * @default -4 * @min -9999 * * @param TurnCorrection * @text Correction of the number of turns * @desc Correct the display of the number of turns. * @default 1 * @type number * @min -9999 * @max 9999 * * @param TurnColor * @text Advantageous state, color of buff turn * @desc Advantageous state, system color number for debuff turns. (Color code can be entered from the text tab) * @type color * @default 0 * * @param BadTurnColor * @text Unfavorable state, debuff turn color * @desc System color number for unfavorable states and debuff turns. (Color code can be entered from the text tab) * @type color * @default 0 *