MZ Party-shared TP Bar

Back in the MV days, I tried throwing together a system where your Party shared a single TP value and bar, and it was represented on the right side of the screen during battle. It was most likely not efficient in any way.
Spoiler: Image from my MV Project
1598054188912.png

My request is a more-seasoned developer come up with a similar type of system that others would also be able to use!

It was the same idea as the Star Power bar from the Paper Mario Series, or from Persona Q: The TP increases when anyone takes damage, you use a skill to increase it, etc. There are several Levels you gain to (and through the story, you can increase your max). For instance, your bar is increasing as you take damage, and once you have 1 "TP" filled, you can then use a special skill.
Spoiler: Paper Mario / Persona Q Image examples
1598054155959.png
1598054259561.png

I plan to also take a stab at it with MZ, but I still feel like if someone else was willing to try it out, they could do a better job than I!
That's a cool idea
*Bump*

Original thread: https://forums.rpgmakerweb.com/threads/party-shared-tp-bar.125660/