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.
Effect Conditions - EffectConditions.js
Plugin desc : Effect conditional application plugin
License : MIT License
Author : Triacontane
Website : https://triacontane.blogspot.com/
Download Page : https://raw.githubusercontent.com/munokura/triacontane-MV-plugins/refs/heads/main/EffectConditions.js
File name : EffectConditions.js
Help of plugin :
@url https://triacontane.blogspot.com/ @plugindesc Effect conditional application plugin @author Triacontane @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/triacontane-MV-plugins ). Original plugin by Triacontane. Please check the latest official version at: https://triacontane.blogspot.com ----- Set application conditions for each effect. Effects that do not meet the conditions will be disabled. Enter the following in the database Note field where you describe the effect. <EC1Switch:10> // When switch [10] is ON, the first effect is enabled. <EC1Cond:JSExpression> // When the JS expression evaluates to true, the first effect is enabled. < → < > → > Example: <EC1Cond:¥v[1] > 10> // When variable [1] is greater than 10. You can refer to the caster by writing "subject" in the script. You can refer to the target by writing "target" in the script. (*1) You can refer to the skill's effect amount by writing "damage" in the script. (*2) *1 However, this cannot be used if the effect type is "Common Event." *2 Recovery will result in a negative value. Example: <EC1Cond: target.hpRate() === 1> # Effective only if the opponent's HP is at maximum. The second and subsequent effects can be set in the same way. This plugin does not have plugin commands. Terms of Use: You may modify and redistribute this plugin without permission from the author, and there are no restrictions on its use (commercial, 18+, etc.). This plugin is now yours.