diff options
author | Shauren <none@none> | 2010-07-24 21:51:25 +0200 |
---|---|---|
committer | Shauren <none@none> | 2010-07-24 21:51:25 +0200 |
commit | 32ceff1267fc74bb72cf421e0e016d8ec5b51c39 (patch) | |
tree | eb0bab86c9d2b6e37ac0d59498915008d5d43167 /sql | |
parent | 47db12b759b00ee2177e5b5ff0103d0d9e513a64 (diff) |
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
Diffstat (limited to 'sql')
-rw-r--r-- | sql/base/world_database.sql | 1 | ||||
-rw-r--r-- | sql/updates/9010_world_spell_scripts.sql | 1 |
2 files changed, 2 insertions, 0 deletions
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`; |