Thirst/Starvation Effects
Wondering if anyone has found a way to implement thirst/starvation effects. I have been tinkering with having a persistent detrimental HP/Mana regen buff on all players that food and water negate.
Hoping there's a less cumbersome way that someone has come up with and is willing to share. Thanks in advance! |
In zone client_process
Code:
void Client::DoHPRegen() { Maybe makes more sense to make all three (hp regen, mana regen, end regen) depend on both water and food. |
Or even decrement by 1 each tick or something.
Go AFK for three in-game days? Die of thirst! MWAhahahahahahaha! |
Awesomesauce! That's perfect. Thanks so much.
|
All times are GMT -4. The time now is 10:17 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.