Core/Spells: Fixed Lay on Hands not triggering Forbearance on target
This commit is contained in:
@@ -634,11 +634,11 @@ namespace Scripts.Spells.Paladin
|
||||
|
||||
void TriggerForbearance()
|
||||
{
|
||||
Unit caster = GetCaster();
|
||||
if (caster == GetHitUnit())
|
||||
Unit target = GetHitUnit();
|
||||
if (target)
|
||||
{
|
||||
caster.CastSpell(caster, SpellIds.Forbearance, true);
|
||||
caster.CastSpell(caster, SpellIds.ImmuneShieldMarker, true);
|
||||
GetCaster().CastSpell(target, SpellIds.Forbearance, true);
|
||||
GetCaster().CastSpell(target, SpellIds.ImmuneShieldMarker, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user