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

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

Dynamic Battler Param - DynamicBattlerParam.js

Plugin desc : Butler parameter dynamic configuration plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com/

Desc page : https://triacontane.blogspot.com/

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MV-plugins/refs/heads/main/DynamicBattlerParam.js

File name : DynamicBattlerParam.js

Help of plugin :

@url https://triacontane.blogspot.com/
@plugindesc Butler parameter dynamic configuration plugin
@author Triacontane
@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/triacontane-MV-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----

DynamicBattlerParameter.js

Dynamic changes the basic parameters of the battler based on the battler's
state.

This uses a JavaScript formula for configuration.

The formula is obtained from the Note field or plugin parameters.

Specify the formula in the Note field of the database with the feature as
follows.

Note!

The Note field takes priority, but if the plugin parameters are not
specified, the Note field and other parameters will not be referenced.
(To maintain performance)

<DBP_Mhp:[Formula]> # Apply formula to Max HP
<DBP_Mmp:[Formula]> # Apply formula to Max MP
<DBP_Atk:[Formula]> # Apply formula to Attack Power
<DBP_Def:[Formula]> # Apply formula to Defense Power
<DBP_Mat:[Formula]> # Apply formula to Magic Power
<DBP_Mdf:[Formula]> # Apply formula to Magic Defense
<DBP_Agi:[Formula]> # Apply formula to Agility
<DBP_Luk:[Formula]> # Apply formula to Luck
<DBP_Hit:[Formula]> # Apply formula to Hit Rate
<DBP_Eva:[Formula]> # Apply formula to Evade Rate
<DBP_Cri:[Formula]> # Apply formula to Critical Hit Rate
<DBP_Cev:[Formula]> # Apply formula to Critical Hit Evade
<DBP_Mev:[Formula]> # Apply formula to Magic Evade
<DBP_Mrf:[Formula]> # Apply formula to Magic Reflection
<DBP_Cnt:[Formula]> # Apply formula to Counterattack
<DBP_Hrg:[Formula]> # Apply formula to HP Regeneration
<DBP_Mrg:[Formula]> # Apply formula to MP Regeneration
<DBP_Trg:[Formula]> # Apply formula to TP Regeneration
<DBP_Tgr:[Formula]> # Apply formula to Target Rate
<DBP_Grd:[Formula]> # Apply formula to Defense Effectiveness Rate
<DBP_Rec:[Formula]> # Apply formula to Healing Effectiveness Rate
<DBP_Pha:[Formula]> # Apply formula to Medicine Knowledge
<DBP_Mcr:[Formula]> # Apply formula to MP Consumption Rate
<DBP_Tcr:[Formula]> # Apply formula to TP Charge Rate
<DBP_Pdr:[Formula]> # Apply formula to Physical Damage Rate
<DBP_Mdr:[Formula]> # Apply formula to Magic Damage Rate
<DBP_Fdr:[Formula]> # Apply formula to floor damage rate
<DBP_Exr:[Formula]> # Apply formula to experience gain rate

The following elements can be used in the formula.
The values of each parameter follow the specifications below.

- When the formula targets normal stats (max HP to luck),
The battler's original parameters are used, without taking into account
fluctuations due to equipment or buffs.
This is to prevent the effects of equipment and buffs from being applied
twice.

- If the calculation formula targets additional stats or special stats
(from hit rate to experience gain rate),
the parameters will take into account fluctuations due to equipment and
buffs.

*In either case, fluctuations due to this plugin will not be included.
This is to avoid loops and significant performance degradation caused by
applying additional formulas to the formula's reference source.

param # Original value specified in the database
a.hp # HP
a.mp # MP
a.tp # TP
a.mhp # Max HP
a.mmp # Max MP
a.atk # Attack Power
a.def # Defense Power
a.mat # Magic Power
a.mdf # Magic Defense
a.agi # Agility
a.luk # Luck
a.hpRate() # HP Rate (0.0 - 1.0)
a.mpRate() # MP Rate (0.0 - 1.0)
a.tpRate() # TP Rate (0.0 - 1.0)
a.special('aaa') # Value of [aaa] in the Note field (*)
a.level # Level
a.actorId() # Actor ID
a._classId # Class ID
a.currentExp() # Experience Points

*Retrieves the value corresponding to the specified content from the memo
field with special features.
<aaa:100> # a.special('aaa') returns [100].

This plugin does not have any plugin commands.

Terms of Use:
You may modify and redistribute it without permission from the author, and
there are no restrictions on its use (commercial, R18+, etc.).
This plugin is now yours.

@param FormulaMhp
@desc This is the formula for determining maximum HP. If there is a specification in the Note field, that will take priority.

@param FormulaMmp
@desc This is the formula that determines the maximum MP. If there is a specification in the Note field, that will take priority.

@param FormulaAtk
@desc This is the formula that determines attack power. If there is a specification in the Note field, that will take priority.

@param FormulaDef
@desc This is the formula that determines defensive power. If there is a specification in the Note field, that will take priority.

@param FormulaMat
@desc This is the formula that determines magical power. If there is a specification in the Note field, that will take priority.

@param FormulaMdf
@desc This is the formula that determines magic defense. If there is a specification in the Note field, that will take priority.

@param FormulaAgi
@desc This is the formula that determines agility. If there is a specification in the Note field, that will take priority.

@param FormulaLuk
@desc This is the formula that determines luck. If there is a specification in the Note field, that will take priority.

@param FormulaHit
@desc This is the formula that determines the hit rate. If there is a specification in the Note field, that will take priority.

@param FormulaEva
@desc This is the formula that determines the evasion rate. If there is a specification in the Note field, that will take priority.

@param FormulaCri
@desc This is the formula that determines the critical hit rate. If there is a specification in the Note field, that will take priority.

@param FormulaCev
@desc This is the formula that determines critical hit avoidance. If there is a specification in the Note field, that will take priority.

@param FormulaMev
@desc This is the formula that determines magic evasion. If there is a specification in the Note field, that will take priority.

@param FormulaMrf
@desc This is the formula that determines magic reflection. If there is a specification in the Note field, that will take priority.

@param FormulaCnt
@desc This is the formula that determines the counterattack. If there is a specification in the Note field, that will take priority.

@param FormulaHrg
@desc This is the formula that determines HP regeneration. If there is a specification in the Note field, that will take priority.

@param FormulaMrg
@desc This is the formula that determines MP regeneration. If there is a specification in the Note field, that will take priority.

@param FormulaTrg
@desc This is the formula that determines TP regeneration. If there is a specification in the Note field, that will take priority.

@param FormulaTgr
@desc This is the formula that determines the target rate. If there is a specification in the Note field, that will take priority.

@param FormulaGrd
@desc This is the formula that determines the defensive effectiveness rate. If there is a specification in the Note field, that will take priority.

@param FormulaRec
@desc This is the formula that determines the recovery effect rate. If there is a specification in the Note field, that will take priority.

@param FormulaPha
@desc This is the formula to determine your drug knowledge. If there is a specification in the Note field, that will take priority.

@param FormulaMcr
@desc This is the formula that determines the MP consumption rate. If there is a specification in the Note field, that will take priority.

@param FormulaTcr
@desc This is the formula that determines the TP charge rate. If there is a specification in the Note field, that will take priority.

@param FormulaPdr
@desc This is the formula for determining the physical damage rate. If there is a specification in the Note field, that will take priority.

@param FormulaMdr
@desc This is the formula that determines the magic damage rate. If there is a specification in the Note field, that will take priority.

@param FormulaFdr
@desc This is the formula for determining the floor damage rate. If there is a specification in the Note field, that will take priority.

@param FormulaExr
@desc This is the formula that determines the experience gain rate. If there is a specification in the Note field, that will take priority.

スポンサードリンク

-MV plugins

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