Max TP Formula
This script allows you to set the max TP for each actor using a formula.
Max TP can be determined by the actor or by the class: if the actor has its own max TP formula, then the class formula is ignored. However, if the actor doesn’t have a formula, then the class formula is used.
Script: download here
In the script editor, place this script below Materials and above Main
Note-tag actors or classes with
<max tp formula: FORMULA>
Where the formula is a valid ruby expression that evaluates to a number.
You can use the following variables in your formula:
a – current actor
p – game party
t – game troop
v – game variables
s – game switches
Use the current battle turn count
t.turn_count * 10
Actor’s current level
a.level * 100
Party leader’s level
p.leader.level * 20