I need TP to always start at 0

Morning. How would I do this? I can't have it randomly fluctuate each fight.

And just to squeeze this in

is there a way to set it up so that starting TP for both enemy and actor can be set beteen two numbers? Like 0 min and 7 max?
Doesn't it start at 0 by default?

Mine's always been that way,
I think you can set it to 0 here:

  #--------------------------------------------------------------------------

  # * Initialize TP

  #--------------------------------------------------------------------------

  def init_tp

    self.tp = rand * 25

  end

 

in line 726 in Game_Battler script. Try changing that to 0 instead of rand * 25. You can do rand * 7  though I'm not sure if that'll make it from 0 to 7. Worth a try though if you'd like.
That's great, thanks. I even managed to edit the lines just under that for tp charge rate upon damage received so that it isn't so dramatic an increase.

Got it.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/i-need-tp-to-always-start-at-0.20961/