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.
PANDA Fixed Auto Battle - PANDA_FixedAutoBattle.js
Plugin desc : Fixes that scripts in damage formulas is executed in auto battle.
License : MIT License
Author : panda(werepanda.jp)
Website : https://www.werepanda.jp/
Desc page : http://www.werepanda.jp/blog/20220321161150.html
File name : PANDA_FixedAutoBattle.js
Help of plugin :
* @target MV MZ * @plugindesc Fixes that scripts in damage formulas is executed in auto battle. * @author panda(werepanda.jp) * @url http://www.werepanda.jp/blog/20220321161150.html * * @help You can embed any script in damage formula of skills. * For example, * a.addState(13); a.atk * 4 - b.def * 2 * allows you to apply the user the state id 13 while doing damage. * * However, if you have actors with the trait of Auto Battle, * the scripts will be executed to evaluate the damage formula * for all usable skills at the beginning of the turn. * * This plugin fixes this, so that the execution result will not be reflected * when evaluating for the auto battle. * * Also, "inEval" will be defined as a global variable. * Only when evaluating auto battle, inEval = true, so you can change * the processing between evaluation and execution in the damage formula. * * [License] * this plugin is released under MIT license. * https://opensource.org/licenses/mit-license.php *