Core/Spells: Fix crash with spellstealing of Divine Illumination

This commit is contained in:
tobmaps
2011-06-20 03:39:07 +07:00
parent 32ee81939f
commit 24764a674b
+5 -4
View File
@@ -1551,13 +1551,14 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
else
target->RemoveAurasDueToSpell(64364, GetCasterGUID());
break;
case 31842:
if (caster->HasAura(70755))
case 31842: // Divine Illumination
// Item - Paladin T10 Holy 2P Bonus
if (target->HasAura(70755))
{
if (apply)
caster->CastSpell(caster, 71166, true);
target->CastSpell(target, 71166, true);
else
caster->RemoveAurasDueToSpell(71166);
target->RemoveAurasDueToSpell(71166);
}
break;
}