Core/Spells: Drop dead code and fix some SQL updates
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DELETE FROM `creature_template_addon` WHERE `entry` = 15224;
|
||||
INSERT INTO `creature_template_addon` (`entry`,`auras`) VALUES (15224, '24777');
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
INSERT INTO `spell_script_names`(`spell_id`, `ScriptName`) VALUES ('24778', 'spell_dream_fog_sleep');
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` = 24778;
|
||||
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (24778, 'spell_dream_fog_sleep');
|
||||
|
||||
@@ -1401,14 +1401,6 @@ void Aura::HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster,
|
||||
// aura removed - remove death runes
|
||||
target->ToPlayer()->RemoveRunesByAuraEffect(GetEffect(0));
|
||||
}
|
||||
switch(GetId())
|
||||
{
|
||||
case 50514: // Summon Gargoyle
|
||||
if (removeMode != AURA_REMOVE_BY_EXPIRE)
|
||||
break;
|
||||
target->CastSpell(target, GetEffect(0)->GetAmount(), true, NULL, GetEffect(0));
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case SPELLFAMILY_HUNTER:
|
||||
// Glyph of Freezing Trap
|
||||
|
||||
Reference in New Issue
Block a user