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 Effect - FTKR_ExItemConfig_Effect.js
Plugin desc : v1.2.1 A plugin that expands the effects of using items and skills
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_Effect.js
File name : FTKR_ExItemConfig_Effect.js
Help of plugin :
@plugindesc v1.2.1 A plugin that expands the effects of using items and skills @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 configure the effects of using items and skills in more detail. 1. You can change the target of the effect. 2. You can use JS formulas for the effect amount. 3. You can set the activation conditions for the effect. ----------------------------------------------------------------------------- Setup Instructions ----------------------------------------------------------------------------- 1. Add this plugin to the "Plugin Manager." 2. This plugin cannot be used in conjunction with FTKR_SkillExpansion.js. 3. When using it in conjunction with YEP_BattleEngineCore.js, place this plugin below YEP_BattleEngineCore.js. ----------------------------------------------------------------------------- Usage Effect Settings ----------------------------------------------------------------------------- You can change the effect settings by adding the following notetag to the Note field of items and skills. <EIC EFFECT: x> code </EIC EFFECT> : Reflections the settings written in the code section for the effect ID x. : Effect IDs are numbered 0, 1,... in the order they are set in the effect field. [Items that can be used for code] Target: y : Changes the target of the effect to y. : The following codes can be used for y. : user or user - Targets the user. : randomFriends or randomAllies - Selects a random ally. : randomOpponents or randomEnemy - Selects a random enemy. VALUE1: eval : Changes Content1 of the effect to the value set in Formula (eval). : Content1 is the first value set in the effect. : Example) For HP recovery, the value to set as a percentage. VALUE2: eval : Changes Content2 of the effect to the value set in Formula (eval). : Content2 is the second value set in the effect. : Example) For HP recovery, the value to set as a positive number. ENABLED: eval : Enables the target effect ID under the conditions set in Formula (eval). : If not set, it is always enabled. : If not enabled, the effect will not occur. [About Formula (eval) Values] Like damage formulas, formulas can be used to specify non-fixed values by entering a formula. The following codes can be used. Negative values are allowed. a.param - References the user's parameters. (a.atk is the user's attack power.) b.param - References the target's parameters. (b.def is the target's defense) s[x] - References the state of switch ID x. v[x] - References the value of variable ID x. iv[x] - References the value of the item's self variable ID x. (*1) result - References the result of using a skill or item. result.hpDamage obtains the amount of HP damage. (*1) FTKR_ItemSelfVariables.js is required to use self variables. Configuration Example) By adding "HP Recover" to the first effect and entering the following tag, when switch ID 1 or switch ID 2 is ON, the user will recover 20% of the damage dealt to the opponent. <EIC EFFECT: 0> Target: user VALUE1: 0 VALUE2: result.hpDamage * 0.2 ENABLED: s[1] && s[2] </EIC EFFECT> ----------------------------------------------------------------------------- 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.2.1 - 2019/05/08: Bug Fixes 1. Fixed a bug where the effects of Traits added with the FTKR_ExStateEffects function were not properly activated. v1.2.0 - August 27, 2017: Traits additions 1. Added the ability to set activation conditions for common events. v1.1.1 - August 4, 2017: Deleted unnecessary comments. v1.1.0 - May 11, 2017: Bug fixes, tag changes, and help revisions. v1.0.1 - April 29, 2017: Compatible with FTKR_ItemSelfVariables v1.1.0 and later. 1. Changed the damage amount reference code. v1.0.0 - April 14, 2017: First version released. -----------------------------------------------------------------------------