From feb7acf8aae7b7446f7565933fd90bd08a76b37e Mon Sep 17 00:00:00 2001 From: QAston Date: Sun, 10 Jan 2010 14:51:34 +0100 Subject: *spell_linked_spell entry for Deterrance. Resolves #237. --HG-- branch : trunk --- src/game/SpellAuraEffects.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp index 952ae649214..14161feac2e 100644 --- a/src/game/SpellAuraEffects.cpp +++ b/src/game/SpellAuraEffects.cpp @@ -5840,6 +5840,8 @@ void AuraEffect::HandleAuraDummy(AuraApplication const * aurApp, uint8 mode, boo break; } case SPELLFAMILY_PALADIN: + if (!(mode & AURA_EFFECT_HANDLE_REAL)) + break; switch (GetSpellProto()->SpellIconID) { // Blessing of Sanctuary @@ -5847,8 +5849,8 @@ void AuraEffect::HandleAuraDummy(AuraApplication const * aurApp, uint8 mode, boo case 19: case 1804: { - if (!caster || !target) - return; + if (!caster) + break; if (apply) { @@ -5859,7 +5861,7 @@ void AuraEffect::HandleAuraDummy(AuraApplication const * aurApp, uint8 mode, boo else target->RemoveAura(67480, GetCasterGUID()); - return; + break; } } break; -- cgit v1.2.3