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

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

MV plugins

TM Tp Reset - TMTpReset.js

Plugin desc : Adjusts the initial TP at the start of battle.

License : MIT License

Author : tomoaky

Desc page : https://github.com/munokura/tomoaky-MV-plugins

Download Page : https://raw.githubusercontent.com/munokura/tomoaky-MV-plugins/refs/heads/master/TMTpReset.js

File name : TMTpReset.js

Help of plugin :

@target MZ MV
@plugindesc Adjusts the initial TP at the start of battle.
@author tomoaky
@url https://raw.githubusercontent.com/munokura/tomoaky-MV-plugins/master/TMTpReset.js
@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/tomoaky-MV-plugins ).
Original plugin by tomoaky.
-----
Usage Example:
If the plugin parameters are set as follows:
startTp = 10
startVariableTp = 2
startTpVariance = 20

Initial TP = 10 + Game Variable #2 + Random Number between 0 and 19
(The calculation result is rounded to the range of 0 and 100.)

If you have set individual initial TP values for actors, enemies, etc. using memo tags, the total value of those tags will be added to the startTp value.

Memo Tags (Actor, Class, Weapon, Armor, Enemy, State)
<startTp:20>
Increases TP by 20 at the start of battle.

Terms of Use:
MIT License.
https://ja.osdn.net/projects/opensource/wiki/licenses%2FMIT_license
Modifications and redistribution are permitted without permission from the author, and there are no restrictions on usage (commercial, R18, etc.).

@param startTp
@text TP value at the start of battle
@desc Initial TP value at the start of battle Initial value: 0
@default 0
@type number

@param startVariableTp
@text Variable ID to add to the TP initial value
@desc Game variable number to add to the initial TP value. Initial value: 0 (disabled if 0)
@default 0
@type variable

@param startTpVariance
@text Random number to add to the initial TP value
@desc Random number to add to the initial TP value. Initial value: 0 (For 50, a random value between 0 and 49 is added.)
@default 0
@type number

スポンサードリンク

-MV plugins

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