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 Skill Sub Command - FTKR_SkillSubCommand.js
Plugin desc : v1.0.0 A plugin that adds subcommands to the skill screen
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_SkillSubCommand.js
File name : FTKR_SkillSubCommand.js
Help of plugin :
@plugindesc v1.0.0 A plugin that adds subcommands to the skill screen @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 ----------------------------------------------------------------------------- Implementing this plugin adds the ability to display subcommands. Subcommands have the following standard functions: 1. Execute a skill. 2. Delete (forget) a learned skill. ----------------------------------------------------------------------------- Setup Instructions ----------------------------------------------------------------------------- 1. Add this plugin to the "Plugin Manager." 2. This plugin cannot be used in conjunction with FTKR_SkillExpansion.js. 3. This plugin cannot be used in conjunction with FTKR_SEP_ShowSkillStatus.js. ----------------------------------------------------------------------------- Skill Deletion Conditions ----------------------------------------------------------------------------- By default, skills can be deleted unconditionally. However, you can set deletion conditions by adding the following notetags to skills. <EIC FORGET> Condition Expression </EIC FORGET> [About the Value of the Condition Expression (eval)] The condition expression (eval) allows you to use non-fixed values by entering a calculation formula, like a damage calculation formula. The following code 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) Deletion is possible when switch ID 1 is ON. <EIC FORGET> s[1] </EIC FORGET> [Setting Multiple Conditions] The following two input examples have the same meaning. 1. Arrange multiple condition expressions vertically <EIC FORGET> Condition 1 Condition 2 </EIC FORGET> 1. Arrange multiple condition expressions horizontally using '&&' <EIC FORGET> Condition 1 && Condition 2 </EIC FORGET> ----------------------------------------------------------------------------- About Custom Commands ----------------------------------------------------------------------------- You can set custom commands that execute common events. Note that the menu will automatically close when a common event is executed. Set this using the following plugin parameters. <ustom1 Format> : Set the command name to display in the subcommand. <Custom1 EventID> : Set the ID of the common event to execute. You can obtain information about the actor and skill that executed the subcommand using the following script. Actor Game Data $gameParty.menuActor() ⇒ Actor ID $gameParty.menuActor()._actorId ⇒ Actor Name $gameParty.menuActor()._name Skill Data $gameParty.lastItem() ⇒ Skill ID $gameParty.lastItem().id ⇒ Skill Name $gameParty.lastItem().name ----------------------------------------------------------------------------- License for 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/15: First version created ----------------------------------------------------------------------------- @param Enable Confirmation @desc When forgetting a skill, should a confirmation screen be displayed? 1 - Confirm, 0 - Don't confirm @default 1 @param --サブコマンド-- @text --Subcommand-- @param Command Use Format @desc Describes what will be displayed when you use the execution command. @default Use @param Command Forget Format @desc Describes what will be displayed when you execute the "Forget" command. @default Forget @param Command Cancel Format @desc Describes what will be displayed when you execute the command "Stop". @default Cancel @param --確認画面-- @text --Confirmation screen-- @param Conf Title Format @desc Describes the confirmation content when deleting a skill. %1 - Actor name, %2 - Skill name @default Will you forget [%2]? @param Confirmation Ok Format @desc Describes what will be displayed when you click "Execute" in the confirmation command. @default Ok @param Confirmation Cancel Format @desc Describes the display content of the confirmation command "Do not execute." @default Cancel @param --カスタムコマンド1-- @text --Custom Command 1-- @param Custom1 Format @desc Describes the display content of "Custom Command 1" in the execution command. @param Custom1 EventID @desc Set the ID of the common event to be executed by Custom Command 1.