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

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

MZ plugins

MNKR Calc Tpb Init - MNKR_CalcTpbInit.js

Plugin desc : You can specify the charge value at the start of a TPB battle.

License : MIT License

Author : munokura

Website : http://x.com/munokura

Desc page : https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_CalcTpbInit.js

File name : MNKR_CalcTpbInit.js

Help of plugin :

@target MZ
@url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_CalcTpbInit.js
@plugindesc You can specify the charge value at the start of a TPB battle.
@author munokura
@license MIT License

@help
By default, the charge value that determines the order of actions at the start
of a TPB battle is
the battler’s agility plus a random value.

When this plugin is installed, the following behavior will occur only at the
start of a TPB battle:
1. The random value addition to the initial charge value will be removed.
2. The initial value will be reflected as the sum of the values specified by
tags in each memo field.
3. Charge will accumulate from the initial value based on agility.

Enter the following tags in the memo fields for actors, classes, weapons,
armor, and enemy characters.
<MNKR_CalcTpbInit:Number>

Example
<MNKR_CalcTpbInit:10>
<MNKR_CalcTpbInit:-5>

For actors, the sum of all relevant tags will be reflected in the result.
Specify the maximum charge value in the plugin parameters.
The initial value will be the percentage obtained by dividing the total tag
value by the maximum value.

Example
If you specify 1000, half the charge will be applied if the total tag value is
500.

There are no plugin commands.

# Terms of Use
MIT License.
http://opensource.org/licenses/mit-license.php
You may modify and redistribute this without permission from the author, and
there are no restrictions on its use (commercial, 18+, etc.).

@param maxInit
@text Tag Maximum Value
@desc The initial value is the ratio of the total tag value divided by the maximum value.
@type number
@default 1000
@min 1

スポンサードリンク

-MZ plugins

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