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.
Passive Skill - PassiveSkill.js
Plugin desc : ver1.063/Allows you to set Traits for skills.
License : MIT License
Author : Yana
Website : https://w.atwiki.jp/pokotan/pages/3.html
Desc page : https://github.com/munokura/Yana-MV-plugins
Download Page : https://raw.githubusercontent.com/munokura/Yana-MV-plugins/refs/heads/master/Item_Skill/PassiveSkill.js
File name : PassiveSkill.js
Help of plugin :
@plugindesc ver1.063/Allows you to set Traits for skills. @author Yana @url https://raw.githubusercontent.com/munokura/Yana-MV-plugins/master/Item_Skill/PassiveSkill.js @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/Yana-MV-plugins ). Original plugin by Yana. ----- ------------------------------------------------------ How to Set ------------------------------------------------------ - Setting a passive skill with a single parameter, such as attack power or max HP <passive:xxx+y> <passive:xxx-y> <passive:xxx+y%> <passive:xxx-y%> <passive:xxxy> Increases (decreases) xxx's stat by y points (%). *For any of the standard stats (Max HP, Max MP, Attack Power, Defense, Magic Power, Magic Defense, Agility, and Luck), the value is applied as is if no % is attached. If a % is attached, add 100 to the value, and apply the resulting value as if it were a standard Elements. *For any of the additional stats (Accuracy, Evasion, Critical Hit Rate, Critical Hit Avoidance, Magic Evasion, Magic Reflectionion, Counterattack Rate, HP Regeneration Rate, MP Regeneration Rate, TP Regeneration Rate), the behavior is the same whether a % is attached or not. *For special ability effects such as Target Rate, Defense Effectiveness Rate, Recovery Effectiveness Rate, Medicine Knowledge, MP Consumption Rate, TP Recharge Rate, Physical Damage Rate, Magic Damage Rate, Floor Damage Rate, and EXP Gain Rate, if no percentage is attached, the actual value is applied. If a percentage is attached, add 100 to the value and apply the calculated value in the same way as when setting a normal trait. *This also applies to State Nullification, Attack Elements, Attack Speed Modifier, Additional Attacks, Add Skill Type, Skill Type Seal, Add Skill, Skill Seal, Weapon Type Equipment, Armor Type Equipment, Fixed Equipment, Equipment Seal, and Additional Actions. These are the same whether or not a percentage is attached. Example: <passive:MaxHp +50> Max HP increases by 50 points. <passive:ATK +20%> Same as the trait, Attack Power +120%. <passive:HIT+20%> <passive:HIT+20> Same as the Traits, Hit Rate +20%. <passive:TGR+30> Increases Target Rate by 30%. <passive:TGR+30%> Same as the Traits, Target Rate +130%. <passive:StateResist5> Same as the Traits, State Nullification 5. <passive:ActionTime+20%> Same as the Traits, Additional Actions 20%. - Passive skill settings with two parameters, such as Elements effectiveness or state effectiveness. <passive:xxxy+z> <passive:xxxy-z> <passive:xxxy+z%> <passive:xxxy-z%> Increases (decreases) the rate of xxx's yth parameter by z (%). *For Elements effectiveness, debuff effectiveness, and state effectiveness, if there is no % attached, the value is added (subtracted) directly. If there is a % attached, 100 is added to the value, and the calculated value is applied in the same way as when setting a normal trait. *For attacking states, the % attached or not is the same. Example: <passive:ElementRate4-30%> This is the same as setting Elements number 4 to 70% Elements effectiveness. <passive:ElementRate4-30> This reduces the Elements effectiveness of Elements number 4 by 30%. - Setting passive skills without parameters, such as Dual Wielding and Auto-Battle <passive:xxx> Adds the xxx trait. Example: <passive:DualWield> This is the same as the trait and slot type Dual Wielding. <passive:AutoBattle> This is the same as the trait and special flag Auto-Battle. ------------------------------------------------------ Specifications and Explanation ------------------------------------------------------ - Skills added via traits do not function as passive skills. - When AddMultiOrder is true, the calculation is additive, then multiplicative. So, if you have 100 attack power and both the Attack Power +50 and Attack Power +50% traits, the result is (100 + 50) x 1.5 = 225. - When false, the calculation is multiplicative, then additive, the result is 100 x 1.5 + 50 = 200. - If the corresponding skill type is sealed or the passive skill itself is sealed, the skill will lose its effect. - If a required weapon type is set, the skill will lose its effect if that condition is not met. - A passive skill does not necessarily function as a passive skill unless it is the skill type specified by PassiveSkillTypeID. - PassiveSkillTypeID is merely the ID of the skill type that will not be displayed during battle. ----------------------------------------------------- There are no plugin commands. -------------------------------------------------------------------- ------------------------------------------------------ Terms of Use ------------------------------------------------------ This plugin is released under the MIT License. http://opensource.org/licenses/mit-license.php ------------------------------------------------------ Update History: ver1.061: Fixed a bug that caused an infinite loop when leveling up when using the Status Class + Class Change Scene. ver1.06: Fixed a bug that prevented passive skills from being applied when acquiring skills via event commands. ver1.051: Deleted console.log. ver1.05: Fixed several typos. Deleted a non-functional plugin parameter. ver1.04: Fixed a bug where the maximum MP keyword was incorrect. Fixed a bug where passive skills were not properly defined using system-defined terms. ver1.03: Fixed a bug where skills without traits were being recognized as passive skills. Fixed a bug where sparam values were not 100% correct. ver1.02: Moved PassiveSkillManager outside of the function. ver1.01: Fixed a bug that prevented passive skills from being hidden properly if the skill type was added at the top. ver1.00: Released @param Passive Skill Type ID @desc Skill type ID to treat as a passive skill. Skill types with IDs set here will not be displayed during battle. @default 3 @param Add Multi Order @desc The order of parameter addition and multiplication. If true, it is addition → multiplication, if false, it is multiplication → addition. @default true