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 No Duplicate States - PANDA_NoDuplicateStates.js

Plugin desc : prevents already-applied states from being re-applied.

License : MIT License

Author : panda(werepanda.jp)

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

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

File name : PANDA_NoDuplicateStates.js

Help of plugin :

* @target MV MZ
 * @plugindesc prevents already-applied states from being re-applied.
 * @author panda(werepanda.jp)
 * @url http://www.werepanda.jp/blog/20250720182408.html
 * 
 * @help If the specified state is already applied to the target,
 * this plugin prevents the state from being applied again
 * and displays the specified message.
 * The remaining turn count will also not be overwritten.
 * The check is performed before the state application process.
 * 
 * States not specified in the plugin parameters will begave as standard.
 * 
 * State ID : Specify the target state.
 * State IDs for Judgement :
 *   If the actual state applied may vary depending on the skill, etc.
 *   (e.g., a random state is applied), specify the state(s) to use
 *   for duplication judgement. Multiple states can be specified.
 *   If not specified, it will be treated as the same as "State ID".
 * If an actor/enemy is already inflicted with the state :
 *   Specify the message to be displayed when the target already has the state.
 *   %1 will be replaced with the name of the target actor or enemy.
 *  If left blank, no message will be displayed.
 * 
 * [License]
 * this plugin is released under MIT license.
 * https://opensource.org/licenses/mit-license.php
 * 
 * 
 * @param StateList
 * @text State List
 * @desc Specify states that will not be applied again. Specify the target state and the messages when it is already applied.
 * @type struct<state>[]
 *

スポンサードリンク

-MZ plugins

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