Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
Skill Cost - SkillCost.js
Plugin desc : Skill Cost Ver0.8.1 (2025/7/22)
License : MIT License
Author : PotatoDragon
Website : https://github.com/pota-gon/RPGMakerMZ/wiki
Desc page : https://raw.githubusercontent.com/pota-gon/RPGMakerMZ/refs/heads/main/plugins/Data/Skill/SkillCost.js
Download Page : https://raw.githubusercontent.com/munokura/PotatoDragon-MZ-plugins/main/SkillCost.js
File name : SkillCost.js
Help of plugin :
@target MZ @url https://raw.githubusercontent.com/pota-gon/RPGMakerMZ/refs/heads/main/plugins/Data/Skill/SkillCost.js @plugindesc Skill Cost Ver0.8.1 (2025/7/22) @author PotatoDragon @license MIT License @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/PotatoDragon-MZ-plugins ). Original plugin by PotatoDragon. Please check the latest official version at: https://github.com/pota-gon/RPGMakerMZ/wiki ----- ## Overview This plugin adds various cost consumption features to skills and items. You can set various costs, including HP, MP, TP, money, and items. ## Basic Features - Fixed or percentage consumption of HP/MP/TP - Fixed or percentage consumption of money - Fixed or percentage consumption of items/weapons/armor - Support for simultaneous display of multiple costs - Disables normal attack costs - Adjustable skill cost display width ## How to Use Enter the following tags in the memo field of a skill or item. ### HP, MP, and TP Consumption <HP Consumption: 100> => Current HP -100 <HP Percentage Consumption: 10%> => Current HP -10% <MP Percentage Consumption: 50%> => Current MP -50% <Max HP Percentage Consumption: 25%> => Max HP -25% <Max MP Percentage Consumption: 30%> => Max MP -30% ### Money Consumption <Money Consumption: 10,000> => Money -10,000 (currency unit not required) <Money Percentage Consumption: 20%> => Money -20% ### Item Consumption <Item Consumption: Item ID, Quantity> <Item Consumption: Item Name, Quantity> => Consume the specified item <Weapon Consumption: Weapon ID, Quantity> <Armor Consumption: Armor ID, Quantity> => Consume the specified weapon or armor. <Item Percentage Consumption: Item Name, Percentage %> <Weapon Percentage Consumption: Weapon ID, Percentage %> <Armor Percentage Consumption: Armor ID, Percentage %> => Consume by a percentage of the number of items in your possession. ## Usage Example ``` <HP Consumption: 50> <MP Consumption: 25%> <Money Consumption: 1000> <Item Consumption: Potion, 2> ``` ## Notes - If the calculation result for percentage consumption is less than 1, it will be automatically rounded up to 1. - If Normal Attack Cost 0 is enabled, all attack skill costs will be disabled. - When specifying an item name, weapons and armor will also be included in the search. - If multiple costs are set at the same time, all conditions must be met. @param FixSkillCostSize @text Skill cost size bug fix @desc Skills with four-digit MP consumption and long names @type boolean @on Fix it @off Do not fix @default true @param ItemCostName @text Item Cost Quantity Name @desc Item cost quantity name @default 個 @param AttackCostZero @text Normal attack cost: 0 @desc Reduces skill consumption for normal attacks to 0 @type boolean @on Set to 0 @off consume @default false @param HpCostColor @text Consumed HP font color @desc HP consumption text color @type color @default 21 @param GoldCostColor @text Consumption money font color @desc Consumption money text color @type color @default 14 @param ItemCostColor @text Consumable item text color @desc Consumable item text color @type color @default 0 @param HpName @text HP abbreviation @desc Abbreviations when using two or more costs among HP, MP, and TP @default H @param MpName @text MP abbreviation @desc Abbreviations when using two or more costs among HP, MP, and TP @default M @param TpName @text TP abbreviation @desc Abbreviations when using two or more costs among HP, MP, and TP @default T @param HpCostMetaName @text HP Consumption Tag @desc Name of the memo tag used for HP consumption @default HpCost @param GoldCostMetaName @text Money Consumption Tag @desc Name of the memo tag used for consuming money @default GoldCost @param ItemCostMetaName @text Item Consumption Tag @desc Name of the memo tag used for item consumption @default ItemCost @param WeaponCostMetaName @text Weapon Consumption Tag @desc Name of the memo tag used for weapon consumption @default WeaponCost @param ArmorCostMetaName @text Armor consumption tag @desc Name of the memo tag used for armor consumption @default ArmorCost @param ItemRateCostMetaName @text Item percentage consumption tag @desc Name of the memo tag used for item rate consumption @default ItemRateCost @param WeaponRateCostMetaName @text Weapon Percentage Consumption Tag @desc Name of memo tag used for weapon rate consumption @default WeaponRateCost @param ArmorRateCostMetaName @text Armor consumption rate tag @desc Name of the memo tag used for armor consumption @default ArmorRateCost @param HpRateCostMetaName @text HP percentage consumption tag @desc Name of the memo tag used for HP percentage consumption @default HpRateCost @param MpRateCostMetaName @text MP rate consumption tag @desc Name of the memo tag used for MP percentage consumption @default MpRateCost @param GoldRateCostMetaName @text Money Consumption Tag @desc Name of the memo tag used for money consumption @default GoldRateCost @param MaxHpRateCostMetaName @text MaxHP percentage consumption tag @desc Name of the memo tag used for MaxHP percentage consumption @default MaxHpRateCost @param MaxMpRateCostMetaName @text MaxMP rate consumption tag @desc Name of the memo tag used for MaxMP rate consumption @default MaxMpRateCost