From 32ceff1267fc74bb72cf421e0e016d8ec5b51c39 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 24 Jul 2010 21:51:25 +0200 Subject: Modified spell_scripts table, it is now possible to add different scripts for each spell effect Allow SPELL_EFFECT_DUMMY spells to use spell_scripts --HG-- branch : trunk --- sql/base/world_database.sql | 1 + sql/updates/9010_world_spell_scripts.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 sql/updates/9010_world_spell_scripts.sql (limited to 'sql') diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql index bdca525e3e1..8b5f03706a8 100644 --- a/sql/base/world_database.sql +++ b/sql/base/world_database.sql @@ -7339,6 +7339,7 @@ DROP TABLE IF EXISTS `spell_scripts`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_scripts` ( `id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `effIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', `delay` int(10) unsigned NOT NULL DEFAULT '0', `command` mediumint(8) unsigned NOT NULL DEFAULT '0', `datalong` mediumint(8) unsigned NOT NULL DEFAULT '0', diff --git a/sql/updates/9010_world_spell_scripts.sql b/sql/updates/9010_world_spell_scripts.sql new file mode 100644 index 00000000000..ee1c8601873 --- /dev/null +++ b/sql/updates/9010_world_spell_scripts.sql @@ -0,0 +1 @@ +ALTER TABLE `spell_scripts` ADD COLUMN `effIndex` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `id`; -- cgit v1.2.3