*spell_linked_spell entry for Deterrance. Resolves #237.
--HG-- branch : trunk
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` = 19263 AND `spell_effect` = 67801;
|
||||
INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES
|
||||
( 19263, 67801, 2, 'Deterrence');
|
||||
@@ -5517,6 +5517,7 @@ INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment
|
||||
(-59907, 7, 0, 'Lightwell Charges - Suicide'),
|
||||
( 26022, 61417, 2, 'Pursuit of Justice'),
|
||||
( 26023, 61418, 2, 'Pursuit of Justice'),
|
||||
( 19263, 67801, 2, 'Deterrence'),
|
||||
-- Quest
|
||||
( 40214, 40216, 2, 'Dragonmaw Illusion'),
|
||||
( 40214, 42016, 2, 'Dragonmaw Illusion'),
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user