Figured I give this question its own thread. I'm looking for a script that creates a single TP Bar above the party that shows the total amount of TP accumulated. The bar would look something like the bars from Galv's Battle Favour script, the only difference is that there's only 1 for the party members. https://galvs-scripts.com/2012/11/11/battle-favour/
Along with that, it should be noted I'm using a script for all party members and enemies to share their TP bars, meaning if party member A and B attack on the same turn, instead of both of them having 5 TP for each of them, they now share 10 TP. Then if party member A uses a skill that's worth 7 TP, both members will have 3 TP. Here's the script for that:
Is there any kind of script that would display a single TP Bar above the party instead of each party member having their own TP Bar?
Along with that, it should be noted I'm using a script for all party members and enemies to share their TP bars, meaning if party member A and B attack on the same turn, instead of both of them having 5 TP for each of them, they now share 10 TP. Then if party member A uses a skill that's worth 7 TP, both members will have 3 TP. Here's the script for that:
Code:
#=============================================================
# Universal TP
# By: TheoAllen
#-------------------------------------------------------------
class Game_Unit
def max_tp
return 200 # <-- change maximum here
end
def init_tp
self.tp = rand * 0 # <-- change initial TP here
end
def tp
@tp ||= 0
end
def tp=(value)
@tp = [[value, max_tp].min, 0].max
end
alias universal_tp_onbattle_start on_battle_start
def on_battle_start
universal_tp_onbattle_start
end
end
class Game_Battler
def tp
friends_unit.tp
end
def tp=(value)
friends_unit.tp = value
end
def max_tp
friends_unit.max_tp
end
def tp_rate
self.tp.to_f / max_tp
end
def init_tp
end
end
Is there any kind of script that would display a single TP Bar above the party instead of each party member having their own TP Bar?