aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorazazel <none@none>2010-09-18 22:50:43 +0600
committerazazel <none@none>2010-09-18 22:50:43 +0600
commitef9cb8000b7b200688cf1ed25b77980f6a8ff838 (patch)
tree9034316a326c6137aaba726a01a53da34ecc1afc /sql
parentb93cca2a8dfa1f4c16c29e3c66e8ba65da409e27 (diff)
Scripts/Spelsl: improve 24751 Trick or Treat spell and implement 24750 Trick spell.
--HG-- branch : trunk
Diffstat (limited to 'sql')
-rw-r--r--sql/base/world_database.sql1
-rw-r--r--sql/updates/9977_world_spell_script_names.sql2
2 files changed, 3 insertions, 0 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql
index d09726807e4..d0731fa8a6f 100644
--- a/sql/base/world_database.sql
+++ b/sql/base/world_database.sql
@@ -26746,6 +26746,7 @@ LOCK TABLES `spell_script_names` WRITE;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
-- generic
( 6962, 'spell_gen_pet_summoned'),
+( 24750, 'spell_gen_trick'),
( 24751, 'spell_gen_trick_or_treat'),
( 29266, 'spell_creature_permanent_feign_death'),
( 57685, 'spell_creature_permanent_feign_death'),
diff --git a/sql/updates/9977_world_spell_script_names.sql b/sql/updates/9977_world_spell_script_names.sql
new file mode 100644
index 00000000000..91918cc6538
--- /dev/null
+++ b/sql/updates/9977_world_spell_script_names.sql
@@ -0,0 +1,2 @@
+DELETE FROM `spell_script_names` WHERE `spell_id`=24750 AND `ScriptName`='spell_gen_trick';
+INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (24750,'spell_gen_trick'); \ No newline at end of file