diff options
author | QAston <none@none> | 2010-01-10 14:51:34 +0100 |
---|---|---|
committer | QAston <none@none> | 2010-01-10 14:51:34 +0100 |
commit | feb7acf8aae7b7446f7565933fd90bd08a76b37e (patch) | |
tree | d1ea4502a6caaa320071ab67f1d87818daa06e13 /src | |
parent | 3f6ad61905c380a7366ff4d9e82267d7b46fd680 (diff) |
*spell_linked_spell entry for Deterrance. Resolves #237.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuraEffects.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
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; |