An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

PANDA Fixed Confusion Action - PANDA_FixedConfusionAction.js

Plugin desc : adjusts actions when confusion-type states are added or removed.

License : MIT License

Author : panda(werepanda.jp)

Website : https://www.werepanda.jp/

Desc page : http://www.werepanda.jp/blog/20250724004955.html

File name : PANDA_FixedConfusionAction.js

Help of plugin :

* @target MV MZ
 * @plugindesc adjusts actions when confusion-type states are added or removed.
 * @author panda(werepanda.jp)
 * @url http://www.werepanda.jp/blog/20250724004955.html
 * 
 * @help Adjusts the battler's planned action in the current turn when a state
 * with restriction "Attack an Enemy/Anyone/an Ally" is applied or removed,
 * preventing odd behavior.
 * 
 * On add: If the battler's turn comes up in the same turn, they perform
 *         a normal attack according to the restriction (enemy/anyone/ally).
 * On remove: The planned action is canceled so the normal attack will not run.
 * 
 * If the battler becomes affected by a "Cannot move" state (e.g. Sleep)
 * while confused, any planned action is also canceled correctly.
 * 
 * [License]
 * this plugin is released under MIT license.
 * https://opensource.org/licenses/mit-license.php
 *

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.