[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:
sploseandAkkadius authored and GitHub committed 2021-09-04 23:17:59 -05:00
1 parent 41352f77ae
commit 943c623be0
4 files changed
+7 -21

No files matched your search

+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...