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

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

MZ plugins

State Auto Battle - StateAutoBattle.js

Plugin desc : Add 1-turn auto battle to the party command

License : MIT License

Author : yuwaka

Website : https://www.rpgmakerweb.com/products/rpg-maker-mz

Download Page :  C:Program Files (x86)SteamsteamappscommonRPG Maker MZdlcBasicResourcespluginslaunch StateAutoBattle.js

File name : StateAutoBattle.js

Help of plugin :

* @target MZ
 * @plugindesc Add 1-turn auto battle to the party command
 * @author yuwaka
 *
 * @param autosuteid
 * @text State ID
 * @desc ID of the state to be granted during auto battle
 * @default 11
 * @type number
 * @min 1
 *
 * @param autocommandname
 * @text Command Name
 * @desc The name of the command to be added to the party command
 * @default Auto
 * @type string
 *
 * @help
 * It is a simple automatic battle system with states.
 * 
 * If you want to have automatic battle for one turn only, create a state with trait -> "special flag" -> "Auto Battle" as a feature.
 * Check the "Remove at Battle End" and "Remove by Restriction" checkboxes,
 * and specify "0~0" as the turn duration for Auto-removal Timing.
 * 
 * The first number of "Duration in Turns:" should be 0, even if you want it to last several turns.
 * If you want to release it at any time, you can control it with a battle event or use another plugin.
 * 
 * The command insertion location is between "Fight" and "Escape".
 * If you want to change it, please edit this file directly.
 * Conflicts with other plugin that change the party commands.
 *
 * here are no plugin commands in this plugin.
 * This is a plugin for RPG Maker MZ only.
 * Please feel free to modify and use it in accordance with the terms of the RPG Maker.
 * I will not be responsible for any problems that may occur. Please understand.

スポンサードリンク

-MZ plugins

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