I was wondering if anybody knew how to make stamina only regenerate up to the 40th hour while being offline instead of hour 42.
For example: If a player is offline and has 41 hours 20 minutes of stamina, they won't regenerate any stamina.
If a player is offline and has 37 hours of stamina, they will regenerate 3 hours over time and no more.
I've checked player.cpp / player.h and couldn't figure it out.
Red
For example: If a player is offline and has 41 hours 20 minutes of stamina, they won't regenerate any stamina.
If a player is offline and has 37 hours of stamina, they will regenerate 3 hours over time and no more.
I've checked player.cpp / player.h and couldn't figure it out.
Red