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

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

MZ plugins

NRP Battler Graphic Extend - NRP_BattlerGraphicExtend.js

Plugin desc : v1.051 Extend the graphics of the battler.

License : MIT License

Author : Takeshi Sunagawa (http://newrpg.seesaa.net/)

Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_BattlerGraphicExtend.js

Desc page : http://newrpg.seesaa.net/article/500642681.html

Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_BattlerGraphicExtend.js

File name : NRP_BattlerGraphicExtend.js

Help of plugin :

Extend the graphics of the battler.
 * 
 * This plugin is based on BattlerGraphicExtend.js by Triacontane
 * and adjusted for DynamicMotion.
 * 
 * It has reduced functionality compared to the original plugin.
 * 
 * -------------------------------------------------------------------
 * [Usage]
 * -------------------------------------------------------------------
 * Include the following in the note of the object
 * that holds the trait. (actor, enemy, class, equipment, state)
 * 
 * ◆Battler's Tone Change
 * <BattlerTone:r,g,b,g>
 * r:Red g:Green b:Blue(-255..255) g:Gray(0..255)
 * 
 * - Example(Bright Red): <BattlerTone:255,-255,-255,0>
 * - Example(Gray)      : <BattlerTone:0,0,0,255>
 * 
 * ◆Battler's Flash
 * <BattlerFlash:r,g,b,a>
 * r:Red g:Green b:Blue a:Strength(0..255)
 * 
 * ◆Battler's Flash Interval
 * <BattlerFlashInterval:f>
 * f:Number of frames (Default:90)
 * 
 * ◆Battler's Flash Priority
 * <BattlerFlashPriority:p>
 * p:Priority (Default:0)
 * 
 * ◆Battler's motion speed
 * <BattlerMotionRate:n>
 * n:Rate(100%)
 * 
 * - Example: <BattlerMotionRate:150>
 * ※This setting is valid only for actors.
 * 
 * -------------------------------------------------------------------
 * [Flash Specifications]
 * -------------------------------------------------------------------
 * If multiple flashes are set up on the battler,
 * the flashes will alternate from red to blue to green to red again.
 * 
 * However, if a priority (<BattlerFlashPriority>) is set for a flash,
 * only the flash with the highest priority will be displayed (alternately).
 * 
 * Also, if the plugin parameter “PriorityByInterval” is turned on,
 * only the flash with the shortest interval will be given priority.
 * 
 * -------------------------------------------------------------------
 * [Script]
 * -------------------------------------------------------------------
 * You can flash battler with the following.
 * battler.startFlash([r,g,b,a], f);
 * r:Red g:Green b:Blue a:Strength(0..255) f:Number of frames
 * 
 * For example, if you want the target to flash red (30 frames)
 * in DynamicAnimation, the following would be used.
 * 
 * <D-Animation>
 * script = b.startFlash([255,0,0,255], 30);
 * </D-Animation>
 * 
 * -------------------------------------------------------------------
 * [Terms]
 * -------------------------------------------------------------------
 * Like BattlerGraphicExtend.js, it is subject to the MIT License.
 * http://opensource.org/licenses/mit-license.php
 * 
 * @------------------------------------------------------------------
 * @ Plugin Parameters
 * @------------------------------------------------------------------
 * 
 * @param FlashType
 * @type select
 * @option 0:Half @value 0
 * @option 1:All @value 1
 * @default 0
 * @desc Flash display method.
 * If half, at least half of the color is left.
 * 
 * @param FlashInterval
 * @type number
 * @default 90
 * @desc Default value for flash interval.
 * Set in 1/60 second increments.
 * 
 * @param PriorityByInterval
 * @type boolean
 * @default false
 * @desc If multiple flash settings exist, only the one with the shortest interval is displayed.
 * 
 * @param NoFlashStateIcon
 * @type boolean
 * @default false
 * @desc Separating the enemy's state icon from the body removes it from the flash.
 * 
 * @param StateIconZ
 * @parent NoFlashStateIcon
 * @type number
 * @default 9
 * @desc Specifies the Z coordinate of the icon if NoFlashStateIcon is on.
 * 
 * @param StateIconAdjustX
 * @parent NoFlashStateIcon
 * @type number @min -999
 * @default -4
 * @desc Adjusts the X coordinate of the icon when the state icon is not flashed.
 * 
 * @param StateIconAdjustY
 * @parent NoFlashStateIcon
 * @type number @min -999
 * @default 10
 * @desc Adjusts the Y coordinate of the icon when the state icon is not flashed.

スポンサードリンク

-MZ plugins

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