diff options
author | tobmaps <spambot42@yandex.ru> | 2011-06-20 03:39:07 +0700 |
---|---|---|
committer | tobmaps <spambot42@yandex.ru> | 2011-06-20 03:39:07 +0700 |
commit | 24764a674ba5fde71c2eeed51610a0965feb9a03 (patch) | |
tree | c68de64b970caaed045f04fdda40cfbd7ec2a45d /src | |
parent | 32ee81939f45b1916733da420ed828d2369d11f9 (diff) |
Core/Spells: Fix crash with spellstealing of Divine Illumination
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/game/Spells/Auras/SpellAuras.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index dc5be00331e..f4f9a6680c4 100755 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -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; } |