[Hitpoints] More HP Fixes - Remove Hacks (#1518)

* Fix HP update throttling

* Remove more hacks

Co-authored-by: Akkadius <akkadius1@gmail.com>
This commit is contained in:
splose
2021-09-05 00:17:59 -04:00
committed by GitHub
parent 41352f77ae
commit 943c623be0
4 changed files with 7 additions and 21 deletions
+1 -1
View File
@@ -3739,7 +3739,7 @@ void Mob::CommonDamage(Mob* attacker, int &damage, const uint16 spell_id, const
//send an HP update if we are hurt
if (GetHP() < GetMaxHP())
SendHPUpdate(!iBuffTic); // the OP_Damage actually updates the client in these cases, so we skip the HP update for them
SendHPUpdate(); // the OP_Damage actually updates the client in these cases, so we skip the HP update for them
} //end `if damage was done`
//send damage packet...