mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Fix food/drink to match live
This commit is contained in:
@@ -3656,16 +3656,6 @@ void Mob::DoBuffTic(const Buffs_Struct &buff, int slot, Mob *caster)
|
||||
break;
|
||||
}
|
||||
|
||||
case SE_Hunger: {
|
||||
// this procedure gets called 7 times for every once that the stamina update occurs so we add
|
||||
// 1/7 of the subtraction.
|
||||
// It's far from perfect, but works without any unnecessary buff checks to bog down the server.
|
||||
if (IsClient()) {
|
||||
CastToClient()->m_pp.hunger_level += 5;
|
||||
CastToClient()->m_pp.thirst_level += 5;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SE_Invisibility:
|
||||
case SE_InvisVsAnimals:
|
||||
case SE_InvisVsUndead: {
|
||||
|
||||
Reference in New Issue
Block a user