Misc fixes.

This commit is contained in:
hondacrx
2021-08-29 18:46:18 -04:00
parent b66d65d406
commit 85f7edc339
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -2721,6 +2721,9 @@ namespace Game.Spells
if (effMask == 0) if (effMask == 0)
return; return;
if (!_staticApplications.ContainsKey(target.GetGUID()))
_staticApplications[target.GetGUID()] = 0;
_staticApplications[target.GetGUID()] |= effMask; _staticApplications[target.GetGUID()] |= effMask;
} }
+1 -1
View File
@@ -948,7 +948,7 @@ namespace Game.Spells
if (unitTarget.HasAura(48920) && ((uint)(unitTarget.GetHealth() + (ulong)addhealth) >= unitTarget.GetMaxHealth())) if (unitTarget.HasAura(48920) && ((uint)(unitTarget.GetHealth() + (ulong)addhealth) >= unitTarget.GetMaxHealth()))
unitTarget.RemoveAura(48920); unitTarget.RemoveAura(48920);
m_healing -= addhealth; m_healing += addhealth;
} }
[SpellEffectHandler(SpellEffectName.HealPct)] [SpellEffectHandler(SpellEffectName.HealPct)]