cHAOScythe 4 Posted February 26, 2013 Hello, I am trying to find a way to empty a character's TP Gauge if they become inflicted with the Death state. I am using my TP Gauge as an Overdrive/Limit Gauge, and I want the gauge to become 0 if that character dies. Can anyone help me out with this? Thanks, ~cHAOScythe Share this post Link to post Share on other sites
Galv 1,386 Posted February 26, 2013 Try this class Game_Battler < Game_BattlerBase alias galv_chaos_tp_die die def die @tp = 0 galv_chaos_tp_die end end 1 Corey Zamora reacted to this Share this post Link to post Share on other sites
cHAOScythe 4 Posted February 26, 2013 Thanks man, this seems to working for the most part, however, it is adding the TP I take from damage after I die. In other words:-> I have 17 TP -> Character dies -> TP empties -> But then I am left with 2 TP... Share this post Link to post Share on other sites
Galv 1,386 Posted February 26, 2013 Hmm, I can't seem to replicate this. Do you have any other scripts to do with TP or battle? Share this post Link to post Share on other sites
cHAOScythe 4 Posted February 26, 2013 Just the TP Mode script by Yanfly, but I installed that after I had already implemented your script in to my game. Nevermind, I figured it out. My attack command had the Effect: Gain TP 2% on it... Once I removed that, it solved the problem. Anyways, thanks man! The script does exactly what I wanted! You rock! Share this post Link to post Share on other sites
Galv 1,386 Posted February 26, 2013 Glad to hear it - closing this one Share this post Link to post Share on other sites