Misc fixes.

This commit is contained in:
hondacrx
2022-01-09 14:33:39 -05:00
parent ebb1379d49
commit 595338284c
11 changed files with 37 additions and 83 deletions
+3
View File
@@ -477,8 +477,11 @@ namespace Game.Entities
val = maxHealth;
}
ulong oldVal = GetHealth();
SetUpdateFieldValue(m_values.ModifyValue(m_unitData).ModifyValue(m_unitData.Health), val);
TriggerOnHealthChangeAuras(oldVal, val);
// group update
Player player = ToPlayer();
if (player)