Welcome to PGMV! 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.
FTKR Ex Item Config IB Skill Cost - FTKR_ExItemConfig_IB_SkillCost.js
Plugin desc : v1.0.0 A plugin that expands skill consumption costs
License : MIT License
Author : Futokoro
Desc page : https://github.com/munokura/futokoro-MV-plugins
Download Page : https://raw.githubusercontent.com/munokura/futokoro-MV-plugins/refs/heads/master/FTKR_ExItemConfig_IB_SkillCost.js
File name : FTKR_ExItemConfig_IB_SkillCost.js
Help of plugin :
@plugindesc v1.0.0 A plugin that expands skill consumption costs
@author Futokoro
@url https://github.com/munokura/futokoro-MV-plugins
@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/futokoro-MV-plugins ).
Original plugin by Futokoro.
Please check the URL below for the latest version of the plugin.
URL https://github.com/futokoro/RPGMaker
-----
-----------------------------------------------------------------------------
Overview
-----------------------------------------------------------------------------
By implementing this plugin, you can set skill cost consumption in more detail.
This plugin is an extension plugin for FTKR_ExItemConfig_ItemBasic.js.
-----------------------------------------------------------------------------
Setup Instructions
-----------------------------------------------------------------------------
1. Add this plugin to the "Plugin Manager."
2. This plugin requires FTKR_ExItemConfig_ItemBasic.js.
3. This plugin cannot be used in conjunction with FTKR_SkillExpansion.js.
-----------------------------------------------------------------------------
Usage Conditions
-----------------------------------------------------------------------------
You can set skill cost consumption by adding the following note tag to the skill.
Cost consumption can be set for each data ID in FTKR_ExItemConfig_ItemBasic.js.
<EIC COST: x>
code
</EIC COST>
: Registers the code setting for data ID x.
[Items that can be used in code]
Mp: eval
: Changes MP cost to the value set by eval.
Tp: eval
: Changes TP cost to the value set by eval.
Hp: eval
: Sets HP cost to the value set by eval.
[About the Value of the Calculation Formula (eval)]
Like damage calculation formulas, the calculation formula (eval) allows you to use non-fixed values by entering a formula.
The following codes can be used:
a.param - References the user's parameters. (a.atk is the user's attack power)
s[x] - References the state of switch ID x.
v[x] - References the value of variable ID x.
iv[x] - References the value of item self variable ID x. (*1)
(*1) FTKR_ItemSelfVariables.js is required to use self variables.
Input Example)
Consume all of the user's current MP and TP.
However, at least 1 is required.
<EIC COST: 0>
Mp: Math.max(a.mp, 1)
Tp: Math.max(a.tp, 1)
</EIC COST>
-----------------------------------------------------------------------------
License of this plugin
-----------------------------------------------------------------------------
This plugin is released under the MIT License.
Copyright (c) 2017 Futokoro
http://opensource.org/licenses/mit-license.php
----------------------------------------------------------------------------
Change History
-----------------------------------------------------------------------------
v1.0.0 - 2017/04/30: First release
-----------------------------------------------------------------------------
@param Draw All Cost
@desc Show all costs of skills? 0 - Don't show, 1 - Show
@default 0
@param HP Cost Format
@desc Enter the HP cost display content as a string. %1 - HP cost
@default ¥c[21]%1¥}HP¥{
@param MP Cost Format
@desc Describes the MP cost display content as a string. %1 - MP cost
@default ¥c[23]%1¥}MP¥{
@param TP Cost Format
@desc Enter the TP cost display content as a string. %1 - TP cost
@default ¥c[29]%1¥}TP¥{