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.
Action Evals - ActionEvals.js
Plugin desc : ver1.00/Added a function to evaluate the formula set when taking action.
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/Battle/ActionEvals.js
File name : ActionEvals.js
Help of plugin :
@plugindesc ver1.00/Added a function to evaluate the formula set when taking action. @author Yana @url https://github.com/munokura/Yana-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/Yana-MV-plugins ). Original plugin by Yana. ----- This plugin allows you to set eval expressions that are evaluated before or after actions for Traits, skills, and items. *Please place this plugin below BeforeCommon.js. ----------------------------------------------------- How to Use ------------------------------------------------------ ************************************************* - Evaluate the expression before an action (After BattleManager.startAction) ************************************************* In the Note field of an item, skill, or object with a Traits, add: <BeforeActionEval> formula1 formula2 ... </BeforeActionEval> ***************************************************** - Evaluate the expression for each target just before calculating damage. (G (before ame_Action.makeDamageValue) **************************************************** In the Note field of an item, skill, or object with a Traits, add: <BeforeTargetsActionEval> formula1 formula2 ... </BeforeTargetsActionEval> ************************************************* - Effect Applicability Evaluate the formula for each target after use. (After Game_Action.applyItemUserEffect) ************************************************* In the Note field of an item, skill, or object with a Traits, enter: <AfterTargetsActionEval> formula1 formula2 ... </AfterTargetsActionEval> ************************************** *********** - Evaluate the formula just before completing the action (before BattleManager.endAction) **************************************************** In the Note field of an item, skill, or object with a Traits, add: <AfterActionEval> formula1 formula2 - - - </AfterActionEval> Each formula can use the following, just like the damage formula: a:user b:target v:variable . Also, s:switch action:current action If the timing is not per target, b:array of all targets ------------------------------------------------------ Terms of Use ------------------------------------------------------ This plugin is released under the MIT License. http://opensource.org/licenses/mit-license.php ------------------------------------------------------ Update History: ver1.00: Released @param UseTraits @desc This is the setting for whether to evaluate the Traits. If set to true, the evaluation formulas written in the Traits of the actor will also be evaluated. @default true