mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 02:27:21 +00:00
Fix for player hp updates not matching between client and server
This commit is contained in:
1 parent
c82d08cf11
commit
92d32feb0d
4 files changed
+22
-1
No files matched your search
@@ -286,6 +286,9 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
|
||||
dmg = -dmg;
|
||||
}
|
||||
|
||||
// hack fix for client health not reflecting server value
|
||||
last_hp = 0;
|
||||
|
||||
//do any AAs apply to these spells?
|
||||
if(dmg < 0) {
|
||||
if (!PassCastRestriction(false, spells[spell_id].base2[i], true))
|
||||
|
||||
Reference in new issue
Block a user