*spell_linked_spell entry for Deterrance. Resolves #237.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-01-10 14:51:34 +01:00
parent 3f6ad61905
commit feb7acf8aa
3 changed files with 9 additions and 3 deletions

View File

@@ -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;