Misc fixes.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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)]
|
||||||
|
|||||||
Reference in New Issue
Block a user