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

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

MZ plugins

NRP Level Grow TP - NRP_LevelGrowTP.js

Plugin desc : v1.03 Level growth of TP.

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation

Author : Takeshi Sunagawa (http://newrpg.seesaa.net/)

Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_LevelGrowTP.js

Desc page : https://newrpg.seesaa.net/article/489719706.html

Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_LevelGrowTP.js

File name : NRP_LevelGrowTP.js

Help of plugin :

Allow the Max TP (normally fixed at 100) to grow in level.
 * In short, it can be used as another MP.
 * 
 * Max TP is calculated using the same formula
 * as the ability value curve in the Class database.
 * It is handled as similarly as possible to other parameters.
 * 
 * You can also refer to the maximum TP
 * in the skill formula with "a.mtp".
 * 
 * -------------------------------------------------------------------
 * [Note of Classes]
 * -------------------------------------------------------------------
 * Fill in the following in the Classes note field
 * to set up the Max TP parameter curve.
 * ※Specifications are almost the same
 *   as other parameters such as Max MP.
 * 
 * <GrowCurveMTP:[Lv1 value],[Lv99 value],[growth type]>
 * 
 * growth type is a 21-level value (0-20) used to generate the curve.
 * Early growth is 0, standard is 10, and late growth is 20.
 * For example, if Lv1 is 0, Lv99 is 200,
 * and the growth type is standard, then <GrowCurveMTP:0,200,10>.
 * 
 * -------------------------------------------------------------------
 * [Note of Weapons and Armors]
 * -------------------------------------------------------------------
 * <PlusMTP:?>
 * Max TP is added by the specified number.
 * 
 * -------------------------------------------------------------------
 * [Note of Actors, Classes, Weapons, Armors and States]
 * -------------------------------------------------------------------
 * <RateMTP:?>
 * Vary Max TP by the specified percentage.
 * Set the value based on 100.
 * ※Equivalent to the normal capacity value of the traits.
 * 
 * -------------------------------------------------------------------
 * [Note of Enemies]
 * -------------------------------------------------------------------
 * <MTP:?>
 * Set Max TP. Formula is valid.
 * 
 * -------------------------------------------------------------------
 * [Note of Items]
 * -------------------------------------------------------------------
 * <GrowMTP:?>
 * Grows Max TP by the specified number.
 * 
 * -------------------------------------------------------------------
 * [Setting of Enemies]
 * -------------------------------------------------------------------
 * Inevitably, you will need to set the enemy's Max TP.
 * You can either set the initial value
 * with a plugin parameter or specify it individually.
 * 
 * The default value is 999999.
 * If you do not need to control the TP of your enemies,
 * it is easy to set a uniformly large value.
 * 
 * If you want to specify the value individually,
 * use <MTP:?> above if you want to specify them individually.
 * 
 * -------------------------------------------------------------------
 * [Terms]
 * -------------------------------------------------------------------
 * There are no restrictions.
 * Modification, redistribution freedom, commercial availability,
 * and rights indication are also optional.
 * The author is not responsible,
 * but will deal with defects to the extent possible.
 * 
 * @------------------------------------------------------------------
 * @ [Plugin Parameters]
 * @------------------------------------------------------------------
 * 
 * @param TpParamId
 * @type number
 * @min 0
 * @default 10
 * @desc Parameter ID to manage TP. This value follows the existing "0:Max HP to 7:Luck", but 10 or later is recommended.
 * 
 * @param MaxTpName
 * @type string
 * @default Max TP
 * @desc Max TP display name.
 * This is used when displaying the name with external plugins, etc.
 * 
 * @param PreserveTp
 * @type boolean
 * @default true
 * @desc Always "Preserve TP" regardless of traits.
 * 
 * @param RecoverAllTp
 * @type boolean
 * @default true
 * @desc TP is also recovered upon full recovery.
 * 
 * @param ApplyRegenerateTp
 * @type boolean
 * @default true
 * @desc Modifies the amount of recovery based on the TP regeneration rate to a value based on Max TP.
 * 
 * @param NoChargeTpByDamage
 * @type boolean
 * @default true
 * @desc Eliminate TP charge on damage.
 * 
 * @param ShowPopupTp
 * @type boolean
 * @default true
 * @desc TP damage/recovery pops up as well as HP and MP.
 * 
 * @param ShowRegenerateTp
 * @parent ShowPopupTp
 * @type boolean
 * @default true
 * @desc Displays a popup during TP regeneration.
 * 
 * @param TpDamageColor
 * @parent ShowPopupTp
 * @type string
 * @default #90ffff
 * @desc The RGB value of the color to be used for the pop-up at the time of TP damage.
 * 
 * @param TpRecoverColor
 * @parent ShowPopupTp
 * @type string
 * @default #ffff80
 * @desc The RGB value of the color to be used for the pop-up during TP recovery.
 * 
 * @param <EnemySetting>
 * 
 * @param EnemyDefaultMTP
 * @parent <EnemySetting>
 * @type string
 * @default 999999
 * @desc Initial value of Max TP for enemy.
 * Can be numeric, e.g. a.mmp, a.level, etc.
 * 
 * @param EnemyStartTP
 * @parent <EnemySetting>
 * @type number @min 0 @max 100
 * @default 100
 * @desc Initial % of the enemy's TP at the beginning of the battle. 100 is the full value.
 * 
 * @param TargetNoNameData
 * @type boolean
 * @default false
 * @desc Writes Max TP information to unnamed data.
 * ※Load time will be a little longer.

スポンサードリンク

-MZ plugins

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