Core/Spells: Drop dead code and fix some SQL updates

This commit is contained in:
tobmaps
2011-06-01 01:58:32 +07:00
parent 506fedcfea
commit e25c73978a
3 changed files with 3 additions and 9 deletions
@@ -1 +1,2 @@
DELETE FROM `creature_template_addon` WHERE `entry` = 15224;
INSERT INTO `creature_template_addon` (`entry`,`auras`) VALUES (15224, '24777'); 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 // aura removed - remove death runes
target->ToPlayer()->RemoveRunesByAuraEffect(GetEffect(0)); 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; break;
case SPELLFAMILY_HUNTER: case SPELLFAMILY_HUNTER:
// Glyph of Freezing Trap // Glyph of Freezing Trap