Core/Spells: fix sql file from previous commit and add newline after load function

This commit is contained in:
Kandera
2012-04-25 14:21:56 -04:00
parent 13b68af78d
commit 1b5fa3a6f3
2 changed files with 1 additions and 1 deletions

View File

@@ -1,4 +1,3 @@
select id from spell_scripts where command = 18 order by id asc;
DELETE FROM `spell_scripts` WHERE `id` IN (15998,25952,29435,45980,51592,51910,52267,54420);
DELETE FROM `spell_script_names` WHERE `spell_id` IN (15998,25952,29435,45980,51592,51910,52267,54420);
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES

View File

@@ -2669,6 +2669,7 @@ public:
{
return GetCaster()->GetTypeId() == TYPEID_UNIT;
}
void HandleDummy(SpellEffIndex effIndex)
{
GetCaster()->ToCreature()->DespawnOrUnsummon();