Core/Spells: Fix crash with spellstealing of Divine Illumination
This commit is contained in:
@@ -1551,13 +1551,14 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
|
|||||||
else
|
else
|
||||||
target->RemoveAurasDueToSpell(64364, GetCasterGUID());
|
target->RemoveAurasDueToSpell(64364, GetCasterGUID());
|
||||||
break;
|
break;
|
||||||
case 31842:
|
case 31842: // Divine Illumination
|
||||||
if (caster->HasAura(70755))
|
// Item - Paladin T10 Holy 2P Bonus
|
||||||
|
if (target->HasAura(70755))
|
||||||
{
|
{
|
||||||
if (apply)
|
if (apply)
|
||||||
caster->CastSpell(caster, 71166, true);
|
target->CastSpell(target, 71166, true);
|
||||||
else
|
else
|
||||||
caster->RemoveAurasDueToSpell(71166);
|
target->RemoveAurasDueToSpell(71166);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user