@ -1,4 +1,4 @@
//=============================================================================
//=============================================================================
// Yanfly Engine Plugins - Battle Engine Extension - Visual HP Gauge
// YEP_X_VisualHpGauge.js
//=============================================================================
@ -8,92 +8,140 @@ Imported.YEP_X_VisualHpGauge = true;
var Yanfly = Yanfly || { } ;
Yanfly . VHG = Yanfly . VHG || { } ;
Yanfly . VHG . version = 1.07
//=============================================================================
/ * :
* @ plugindesc v1 . 06 血量槽外观 ☁ ️
* @ plugindesc v1 . 07 ( Requires YEP _BattleEngineCore . js ) Reveal HP Gauges
* when a battler is selected or takes damage in battle .
* @ author Yanfly Engine Plugins
*
* @ param -- - 全局 -- -
* @ param -- - General -- -
* @ default
*
* @ param Display Actor
* @ text 角色HP条
* @ parent -- - General -- -
* @ type boolean
* @ on YES
* @ off NO
* @ desc Do you wish to display the HP Gauge for actors ?
* NO - false YES - true
* @ default true
*
* @ param Defeat First
* @ text 敌人需击败显示血条
* @ parent -- - General -- -
* @ type boolean
* @ on YES
* @ off NO
* @ desc Enemies must be defeated first before showing the HP Gauge .
* NO - false YES - true
* @ default false
*
* @ param Always Visible
* @ text 始终可见
* @ parent -- - General -- -
* @ type boolean
* @ on YES
* @ off NO
* @ desc HP Gauge is always visible and doesn ' t fade away .
* NO - false YES - true
* @ default false
*
* @ param -- - 外观 -- -
* @ param -- - Appearance -- -
* @ default
*
* @ param Minimum Gauge Width
* @ parent -- - Appearance -- -
* @ type number
* @ min 1
* @ desc This is the minimum width in pixels for HP Gauges .
* @ default 144
*
* @ param Gauge Height
* @ parent -- - Appearance -- -
* @ type number
* @ min 1
* @ desc This is the height in pixels for HP Gauges .
* @ default 18
*
* @ param Back Color
* @ parent -- - Appearance -- -
* @ desc This is the text color used for the back of HP Gauges .
* @ default 19
*
* @ param HP Color 1
* @ parent -- - Appearance -- -
* @ type number
* @ min 0
* @ max 31
* @ desc This is the text color used for the 1 st part of HP Gauges .
* @ default 20
*
* @ param HP Color 2
* @ parent -- - Appearance -- -
* @ type number
* @ min 0
* @ max 31
* @ desc This is the text color used for the 2 nd part of HP Gauges .
* @ default 21
*
* @ param Gauge Duration
* @ text
* @ parent -- - Appearance -- -
* @ type number
* @ min 0
* @ desc This is the frames the HP gauge will continue to show after
* it finishes draining or filling .
* @ default 30
*
* @ param Gauge Position
* @ text 条位置
* @ parent -- - Appearance -- -
* @ type boolean
* @ on Above
* @ off Below
* @ desc Where do you wish to show the HP gauge ?
* BELOW - false ABOVE - true
* @ default false
*
* @ param Y Buffer
* @ parent -- - Appearance -- -
* @ type number
* @ desc How much do you wish to shift the gauge Y position ?
* @ default - 16
*
* @ param Use Thick Gauges
* @ text 使用厚量规
* @ parent -- - Appearance -- -
* @ type boolean
* @ on Thick
* @ off Normal
* @ desc Use the thick gauges provided by this plugin ?
* Default - false Thick - true
* @ default true
*
* @ param -- - 文本显示 -- -
* @ param -- - Text Display -- -
* @ default
*
* @ param Show HP
* @ parent -- - Text Display -- -
* @ type boolean
* @ on YES
* @ off NO
* @ desc Show the actual 'HP' text .
* NO - false YES - true
* @ default false
*
* @ param Show Value
* @ parent -- - Text Display -- -
* @ type boolean
* @ on YES
* @ off NO
* @ desc Show the HP value .
* NO - false YES - true
* @ default false
*
* @ param Show Max
* @ parent -- - Text Display -- -
* @ type boolean
* @ on YES
* @ off NO
* @ desc Show the MaxHP value if value is shown ?
* NO - false YES - true
* @ default false
@ -103,14 +151,18 @@ Yanfly.VHG = Yanfly.VHG || {};
* Introduction
* === === === === === === === === === === === === === === === === === === === === === === === === === =
*
* 这个插件需要YEP _BattleEngineCore战斗引擎核心 , 确保放在这个插件下面
*
* This plugin requires YEP _BattleEngineCore .
* Make sure this plugin is located under YEP _BattleEngineCore in the plugin
* list .
*
* 这个插件可以在敌方被击中或者选择时显示血量 , 你也可以设置队员的
* 血量显示 。 你可以调整血量显示的参数 。
* This plugin shows the HP Gauges of enemies as they ' re selected or while they
* take damage . You can also opt for actors to show their HP Gauge as well .
* Adjust the parameters to change the way you want the HP Gauges to appear .
*
* 敌方默认不需要先击倒在显示血量 。 这个可以通过参数设定 。 但是 , 在编
* 辑器战斗测试时 , 血量会一直显示 , 除非敌方隐藏 。
* By default , enemies would need to be defeated first in order for the gauges
* to show up . This can be changed within the parameter settings . However ,
* during battle test , the HP gauges are always shown unless the enemy has a
* hidden HP gauge .
*
* === === === === === === === === === === === === === === === === === === === === === === === === === =
* Notetags
@ -118,39 +170,35 @@ Yanfly.VHG = Yanfly.VHG || {};
*
* Class and Enemy Notetags :
* < Hide HP Gauge >
* 隐藏血量
* This HP gauge will always be hidden if this notetag is present .
*
* < Show HP Gauge >
* 显示血量
* This HP gauge will always be shown if this notetag is present while the
* target is selected or taking damage .
*
* < HP Gauge Width : x >
* 血量槽宽度 , 如果宽度小于最小宽度 , 将会取最小宽度
* This will set the battler ' s HP Gauge width to x pixels . However , if this
* width is less than the minimum width , minimum width will take priority .
*
* < HP Gauge Height : x >
* 血量槽高度
* This set ' s the HP Gauge height to x pixels .
*
* < HP Gauge Back Color : x >
* 血量槽背景颜色
* This changes the HP Gauge ' s back color to x text color .
*
* < HP Gauge Color 1 : x >
* 血量槽颜色1
* This changes the HP Gauge ' s color 1 to x text color .
*
* < HP Gauge Color 2 : x >
* 血量槽颜色2
* This changes the HP Gauge ' s color 2 to x text color .
*
* === === === === === === === === === === === === === === === === === === === === === === === === === =
* Changelog
* === === === === === === === === === === === === === === === === === === === === === === === === === =
*
* Version 1.07 :
* - Updated for RPG Maker MV version 1.5 . 0.
*
* Version 1.06 :
* - Compatibility update with State Categories .
*