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

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

MZ plugins

NUUN Skill Cost Show EX - NUUN_SkillCostShowEX.js

Plugin desc : Skill cost display EX

License : MIT License

Author : NUUN

Website : https://github.com/nuun888/MZ/blob/master/NUUN_SkillCostShowEX.js

Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_SkillCostShowEX.js

File name : NUUN_SkillCostShowEX.js

Help of plugin :

* @target MZ
 * @plugindesc Skill cost display EX
 * @author NUUN
 * @version 1.1.3
 * @base NUUN_Base
 * @base NUUN_SkillCostEX
 * @orderAfter NUUN_Base
 * @orderAfter NUUN_SkillCostEX
 * 
 * @help
 * Extends the display of skill costs.
 * When setting costs other than HP, MP, TP, Gold, and Exp in the display order of skill costs, enter the tag name of the cost to be consumed in the cost display target, and the costs other than HP, MP, TP, Gold, and Exp Please set in individual settings.
 * or Cost evaluation formula, enter the cost evaluation formula.
 * To display the cost of the party limit gauge, enter 'limitCost' in the cost display target and enter "this._actor.skillLimitCost(skill)" in the cost evaluation formula.
 * skill:Skill data to activate
 * actor:Actor game data
 * cost:Cost(Equipment consumption and evaluation formulas are returned as true/false values.)
 * 
 * For the color setting, normally enter the system color.
 * You can enter the color code from the text tab.
 * 
 * Individual display cost settings.
 * skill notes
 * <SkillCostEval:[eval]> You can define the format to display.
 * [eval]:Evaluation formula
 * actor:Actor game data
 * skill:Activated skill data
 * cost:Cost(Equipment consumption and evaluation formulas are returned as true/false values.)
 * 
 * <SkillCostWidth:[string]> Specify the display width of the cost as a string. The width of the specified string affects the width of the skill name.
 * [string]:string
 * <SkillCostWidth:00000> Let the length of 00000 be set as the display width of the cost.
 * 
 * Cost data reference
 * HP, MP, TP, Gold, Exp are obtained by cost value.
 * If the consumption MP is 50, 50 will be substituted for the cost value.
 * Other costs are retrieved in an array.
 * cost[id]: Get the value of the [id] number of the acquisition tag.
 * From the : of each tag, the order is 0, 1, 2... from the left.
 * In the case of item consumption <SkillItemCost: No.0, No.1, No.2> If you specify cost[2], you will get the number of consumption.
 * 
 * Prefixes and suffixes are not applied to consumption skills that have a cost evaluation formula defined.
 * 
 * "NUUN_EquipSkillLearning" is required to set 'EquipSkillLearnSkill' for "Cost display target".
 * https://github.com/nuun888/MZ/blob/master/README/EquipSkillLearning.md
 * 
 * 
 * Terms of Use
 * This plugin is distributed under the MIT license.
 * 
 * Log
 * 1/22/2023 Ver.1.1.3
 * Added a function that allows you to specify the cost range for each skill.
 * 12/17/2022 Ver.1.1.2
 * Added a function that can display the points of "NUUN_EquipSkillLearning".
 * 12/6/2022 Ver.1.1.1
 * Changed the Type of color specification plug-in parameter to color. (Core script Ver.1.6.0 or later)
 * 12/4/2022 Ver.1.1.0
 * Changed the specifications of the cost evaluation formula for individual cost settings other than HP, MP, TP, Gold, and Exp.
 * Changed the specification of the cost display target in the order of skill cost display.
 * Applies cost evaluation formula to all consumption costs.
 * 11/25/2022 Ver.1.0.2
 * Fixed so that actor's game data acquisition parameter can be acquired by actor.
 * Changed the display in languages other than Japanese to English.
 * 1/3/2022 Ver.1.0.1
 * Fixed an issue where multiple tags not listed in the cost display target were not displayed correctly.
 * 12/5/2021 Ver.1.0.0
 * First edition.
 * 
 * @param CostOrderSetting
 * @text Display order of skill cost
 * @desc Set the display order of skill costs. Costs set at the top are displayed later.
 * @default ["{¥"CostOrderSelect¥":¥"'Exp'¥",¥"CostTagSetting¥":¥"------------------------------¥",¥"CostColor¥":¥"0¥",¥"Prefix¥":¥"¥",¥"Suffix¥":¥"¥",¥"CostEval¥":¥"¥"}","{¥"CostOrderSelect¥":¥"'Gold'¥",¥"CostTagSetting¥":¥"------------------------------¥",¥"CostColor¥":¥"0¥",¥"Prefix¥":¥"¥",¥"Suffix¥":¥"¥",¥"CostEval¥":¥"¥"}","{¥"CostOrderSelect¥":¥"'TP'¥",¥"CostTagSetting¥":¥"------------------------------¥",¥"CostColor¥":¥"0¥",¥"Prefix¥":¥"¥",¥"Suffix¥":¥"¥",¥"CostEval¥":¥"¥"}","{¥"CostOrderSelect¥":¥"'MP'¥",¥"CostTagSetting¥":¥"------------------------------¥",¥"CostColor¥":¥"0¥",¥"Prefix¥":¥"¥",¥"Suffix¥":¥"¥",¥"CostEval¥":¥"¥"}","{¥"CostOrderSelect¥":¥"'HP'¥",¥"CostTagSetting¥":¥"------------------------------¥",¥"CostColor¥":¥"0¥",¥"Prefix¥":¥"¥",¥"Suffix¥":¥"¥",¥"CostEval¥":¥"¥"}"]
 * @type struct<CostOrderSettingList>[]
 * 
 * @param CostWidth
 * @text cost range
 * @desc 1 cost range.
 * @type string
 * @default 000
 * 
 * @param Connection
 * @text Between cost characters
 * @desc Characters between costs.
 * @type string
 * @default /
 * 
 * @param PrefixFontSize
 * @desc Prefix font size.
 * @text Prefix font size
 * @type number
 * @default 20
 * @min 1
 * 
 * @param SuffixFontSize
 * @desc Suffix font size.
 * @text Suffix font size
 * @type number
 * @default 20
 * @min 1
 * 
 * @param ConnectionFontSize
 * @desc Font size for cost between characters.
 * @text Between-cost character font size
 * @type number
 * @default 26
 * @min 1
 * 
 * @param CostFontSize
 * @desc Cost font size.
 * @text Cost font size
 * @type number
 * @default 26
 * @min 1
 * 
 * @param PrefixY
 * @desc Y coordinate of the prefix.
 * @text Prefix Y coordinate
 * @type number
 * @default 2
 * @min -9999
 * 
 * @param SuffixY
 * @desc Y coordinate of the suffix.
 * @text Suffix Y coordinate
 * @type number
 * @default 2
 * @min -9999
 * 
 * @param ConnectionY
 * @desc Y coordinate of the cost-between character.
 * @text Y coordinate of letter between costs
 * @type number
 * @default 0
 * @min -9999
 * 
 * @param CostY
 * @desc Y coordinate of the cost.
 * @text Cost Y coordinate
 * @type number
 * @default 0
 * @min -9999
 * 
 * @param HPCostSetting
 * @text HP setting
 * @default ------------------------------
 * 
 * @param HPCostColor
 * @text HP cost color
 * @desc HP cost color.
 * @type color
 * @default 21
 * @parent HPCostSetting
 * 
 * @param HPPrefix
 * @text HP prefix
 * @desc HP prefix.
 * @type string
 * @default HP
 * @parent HPCostSetting
 * 
 * @param HPSuffix
 * @text HP suffix
 * @desc HP suffix.
 * @type string
 * @default 
 * @parent HPCostSetting
 * 
 * @param MPCostSetting
 * @text MP setting
 * @default ------------------------------
 * 
 * @param MPCostColor
 * @text MP cost color
 * @desc MP cost color.
 * @type color
 * @default 23
 * @parent MPCostSetting
 * 
 * @param MPPrefix
 * @text MP prefix
 * @desc Prefix for MP.
 * @type string
 * @default MP
 * @parent MPCostSetting
 * 
 * @param MPSuffix
 * @text MP suffix
 * @desc Suffix of MP.
 * @type string
 * @default
 * @parent MPCostSetting 
 * 
 * @param TPCostSetting
 * @text TP setting
 * @default ------------------------------
 * 
 * @param TPCostColor
 * @text TP cost color
 * @desc TP cost color.
 * @type color
 * @default 29
 * @parent TPCostSetting
 * 
 * @param TPPrefix
 * @text TP prefix
 * @desc Prefix for TP.
 * @type string
 * @default TP
 * @parent TPCostSetting
 * 
 * @param TPSuffix
 * @text TP suffix
 * @desc TP suffix.
 * @type string
 * @default
 * @parent TPCostSetting 
 * 
 * @param GoldCostSetting
 * @text Gold setting
 * @default ------------------------------
 * 
 * @param GoldCostColor
 * @text Money cost color
 * @desc The color of the money cost.
 * @type color
 * @default 17
 * @parent GoldCostSetting
 * 
 * @param GoldPrefix
 * @text Money prefix
 * @desc Money prefix.
 * @type string
 * @default 
 * @parent GoldCostSetting
 * 
 * @param GoldSuffix
 * @text Money suffix
 * @desc Money prefix.
 * @type string
 * @default G
 * @parent GoldCostSetting
 * 
 * @param ExpCostSetting
 * @text EXP setting
 * @default ------------------------------
 * 
 * @param ExpCostColor
 * @text Exp cost color
 * @desc Exp cost color.
 * @type color
 * @default 27
 * @parent ExpCostSetting
 * 
 * @param ExpPrefix
 * @text Exp prefix
 * @desc Exp prefix.
 * @type string
 * @default EXP
 * @parent ExpCostSetting
 * 
 * @param ExpSuffix
 * @text Exp suffix
 * @desc Exp suffix.
 * @type string
 * @default 
 * @parent ExpCostSetting
 * 
 *

スポンサードリンク

-MZ plugins

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