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

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

PANDA Buff State - PANDA_BuffState.js

Plugin desc : apply a specific state in conjunction with buff / debuff.

License : MIT License

Author : panda(werepanda.jp)

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

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

File name : PANDA_BuffState.js

Help of plugin :

* @target MV MZ
 * @plugindesc apply a specific state in conjunction with buff / debuff.
 * @author panda(werepanda.jp)
 * @url http://www.werepanda.jp/blog/20220309032714.html
 * 
 * @help A specific state is automatically applied according to the buff / debuff.
 * It is also possible to apply a state which means no buff / debuff.
 * 
 * This makes it easy to create enemies
 * that only attack normally when the attack power is raised,
 * or that uses the buff skill when the attack power is not raised.
 * 
 * [Advance Preparation]
 * 
 * 1. Creating states for buff / debuff
 * First, create states for buff / debuff in [States] of [Database].
 * The default requires a total of 40 states, for 8 parameters (MaxHP ~ Luck)
 * buff 1 level, 2 level, debuff 1 level, 2 level and normal.
 * The buff / debuff states should be in the same order as the icons.
 * These states are dummy, so the settings of states are not necessary.
 * Check only [Remove at Battle End] at [Removal Conditions].
 * Buff, debuff and normal can be omitted if not used.
 * 
 * 2. Setting plug-in parameters
 * Make the following settings in the plug-in parameters.
 * - Buff Start State  : Specify the state at the beginning of the buff.
 * - Debuff Start State: Specify the state at the beginning of the debuff.
 * - Normal Start State: Specify the state at the beginning of no buff/debuff.
 *    You can set them to [None] if you do not want to use them.
 * - Buff Max Level  : Specify the maximum number of levels of buff.
 * - Debuff Max Level: Specify the maximum number of levels of debuff.
 * - Set Lower Level State
 *    ON : When in buff/debuff level 2, the state of level 1 is also applied.
 *    OFF: When in buff/debuff level 2, only the state of level 2 is applied.
 * 
 * Now, you are ready to go.
 * Please use the buff / debuff states
 * for the condition of the action patterns of the enemies.
 * 
 * [License]
 * this plugin is released under MIT license.
 * https://opensource.org/licenses/mit-license.php
 * 
 * @param StateBuffStart
 * @text Buff Start State
 * @desc Specify the state of MaxHP Buff Level 1. Based on this state, the states of parameters x levels are used.
 * @type state
 * @default 
 * 
 * @param StateDebuffStart
 * @text Debuff Start State
 * @desc Specify the state of MaxHP Debuff Level 1. Based on this state, the states of parameters x levels are used.
 * @type state
 * @default 
 * 
 * @param StateNormalStart
 * @text Normal Start State
 * @desc Specify the state of MaxHP No Buff / Debuff. Based on this state, the states of parameters are used.
 * @type state
 * @default 
 * 
 * @param MaxBuffLevel
 * @text Buff Max Level
 * @desc Specify the maximum number of levels of buff.
 * @type number
 * @decimals 0
 * @default 2
 * 
 * @param MaxDebuffLevel
 * @text Debuff Max Level
 * @desc Specify the maximum number of levels of debuff.
 * @type number
 * @decimals 0
 * @default 2
 * 
 * @param SetLowerLevel
 * @text Set Lower Level State
 * @desc The state of the lower level is also applied. When in buff/debuff level 2, the state of level 1 is also applied.
 * @type boolean
 * @default false
 * 
 *

スポンサードリンク

-MV plugins

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