diff options
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/mangos.sql | 2 | ||||
| -rw-r--r-- | sql/updates/7777_01_mangos_spell_proc_event.sql | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/sql/mangos.sql b/sql/mangos.sql index 6cfb3a8a82f..0a036be48a3 100644 --- a/sql/mangos.sql +++ b/sql/mangos.sql @@ -23,7 +23,7 @@ DROP TABLE IF EXISTS `db_version`; CREATE TABLE `db_version` ( `version` varchar(120) default NULL, `creature_ai_version` varchar(120) default NULL, - `required_7776_01_mangos_npc_spellclick_spells` bit(1) default NULL + `required_7777_01_mangos_spell_proc_event` bit(1) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes'; -- diff --git a/sql/updates/7777_01_mangos_spell_proc_event.sql b/sql/updates/7777_01_mangos_spell_proc_event.sql new file mode 100644 index 00000000000..e54db2854f3 --- /dev/null +++ b/sql/updates/7777_01_mangos_spell_proc_event.sql @@ -0,0 +1,6 @@ +ALTER TABLE db_version CHANGE COLUMN required_7776_01_mangos_npc_spellclick_spells required_7777_01_mangos_spell_proc_event bit; + +DELETE FROM spell_proc_event WHERE entry IN (30299,30301,30302); +INSERT INTO spell_proc_event VALUES (30299, 0x0000007E, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); +INSERT INTO spell_proc_event VALUES (30301, 0x0000007E, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); +INSERT INTO spell_proc_event VALUES (30302, 0x0000007E, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); |
