From f2cdfcf9b287ddc038e69b6e9a1dbf1434f1a0b8 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Sat, 21 May 2011 06:04:03 +0400 Subject: [PATCH] [11517] Restore work glyph 43350 --- sql/mangos.sql | 4 ++-- sql/updates/11517_01_mangos_spell_proc_event.sql | 5 +++++ src/shared/revision_nr.h | 2 +- src/shared/revision_sql.h | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 sql/updates/11517_01_mangos_spell_proc_event.sql diff --git a/sql/mangos.sql b/sql/mangos.sql index fe4cc3920..d4e0000c4 100644 --- a/sql/mangos.sql +++ b/sql/mangos.sql @@ -24,7 +24,7 @@ CREATE TABLE `db_version` ( `version` varchar(120) default NULL, `creature_ai_version` varchar(120) default NULL, `cache_id` int(10) default '0', - `required_11516_01_mangos_spell_proc_event` bit(1) default NULL + `required_11517_01_mangos_spell_proc_event` bit(1) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes'; -- @@ -17469,7 +17469,7 @@ INSERT INTO `spell_proc_event` VALUES (57352, 0x00, 0, 0x00000001, 0x00000001, 0x00000001, 0x00000040, 0x00000040, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0x00010154, 0x00000003, 0.000000, 0.000000, 45), (57470, 0x00, 6, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (57499, 0x00, 4, 0x40000001, 0x40000001, 0x40000001, 0x00010000, 0x00010000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0x00014000, 0x00000000, 0.000000, 0.000000, 0), -(57870, 0x00, 9, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0x00000000, 0.000000, 0.000000, 0), +(57870, 0x00, 9, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0x00040000, 0.000000, 0.000000, 0), (57878, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0.000000, 0.000000, 0), (57907, 0x00, 7, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (57989, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0.000000, 0.000000, 0), diff --git a/sql/updates/11517_01_mangos_spell_proc_event.sql b/sql/updates/11517_01_mangos_spell_proc_event.sql new file mode 100644 index 000000000..085e763fd --- /dev/null +++ b/sql/updates/11517_01_mangos_spell_proc_event.sql @@ -0,0 +1,5 @@ +ALTER TABLE db_version CHANGE COLUMN required_11516_01_mangos_spell_proc_event required_11517_01_mangos_spell_proc_event bit; + +DELETE FROM `spell_proc_event` WHERE entry = 57870; +INSERT INTO `spell_proc_event` VALUE +(57870, 0x00, 9, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0x00040000, 0.000000, 0.000000, 0); \ No newline at end of file diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 3e73491e3..9b1681a27 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11516" + #define REVISION_NR "11517" #endif // __REVISION_NR_H__ diff --git a/src/shared/revision_sql.h b/src/shared/revision_sql.h index 128a96b9b..653a44620 100644 --- a/src/shared/revision_sql.h +++ b/src/shared/revision_sql.h @@ -1,6 +1,6 @@ #ifndef __REVISION_SQL_H__ #define __REVISION_SQL_H__ #define REVISION_DB_CHARACTERS "required_11436_01_characters_character_queststatus" - #define REVISION_DB_MANGOS "required_11516_01_mangos_spell_proc_event" + #define REVISION_DB_MANGOS "required_11517_01_mangos_spell_proc_event" #define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version" #endif // __REVISION_SQL_H__