From ed4c475f581783325ede2aef550bb67504523fe9 Mon Sep 17 00:00:00 2001 From: Splinter Date: Tue, 15 Dec 2009 23:12:31 +0300 Subject: [PATCH] [8995] Overwrite wrong proc flags for glyph 43539 triggering. Signed-off-by: VladimirMangos --- sql/mangos.sql | 4 ++-- sql/updates/8995_01_mangos_spell_proc_event.sql | 5 +++++ sql/updates/Makefile.am | 2 ++ src/shared/revision_nr.h | 2 +- src/shared/revision_sql.h | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 sql/updates/8995_01_mangos_spell_proc_event.sql diff --git a/sql/mangos.sql b/sql/mangos.sql index 017d1aca4..a625b1367 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_8993_01_mangos_spell_proc_event` bit(1) default NULL + `required_8995_01_mangos_spell_proc_event` bit(1) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes'; -- @@ -18447,7 +18447,7 @@ INSERT INTO `spell_proc_event` VALUES (58631, 0x00000000, 15, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (58644, 0x00000000, 15, 0x00000000, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (58647, 0x00000000, 15, 0x00000000, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), -(58677, 0x00000000, 15, 0x00002000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), +(58677, 0x00000000, 15, 0x00002000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0.000000, 0.000000, 0), (58872, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0.000000, 0.000000, 0), (58874, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0.000000, 0.000000, 0), (58901, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0), diff --git a/sql/updates/8995_01_mangos_spell_proc_event.sql b/sql/updates/8995_01_mangos_spell_proc_event.sql new file mode 100644 index 000000000..24bf418ba --- /dev/null +++ b/sql/updates/8995_01_mangos_spell_proc_event.sql @@ -0,0 +1,5 @@ +ALTER TABLE db_version CHANGE COLUMN required_8993_01_mangos_spell_proc_event required_8995_01_mangos_spell_proc_event bit; + +DELETE FROM spell_proc_event WHERE entry=58677; +INSERT INTO spell_proc_event VALUES +(58677, 0x00000000, 15, 0x00002000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0.000000, 0.000000, 0); diff --git a/sql/updates/Makefile.am b/sql/updates/Makefile.am index 49d443909..9aeedc2d1 100644 --- a/sql/updates/Makefile.am +++ b/sql/updates/Makefile.am @@ -206,6 +206,7 @@ pkgdata_DATA = \ 8992_01_mangos_spell_proc_event.sql \ 8992_02_mangos_spell_chain.sql \ 8993_01_mangos_spell_proc_event.sql \ + 8995_01_mangos_spell_proc_event.sql \ README ## Additional files to include when running 'make dist' @@ -392,4 +393,5 @@ EXTRA_DIST = \ 8992_01_mangos_spell_proc_event.sql \ 8992_02_mangos_spell_chain.sql \ 8993_01_mangos_spell_proc_event.sql \ + 8995_01_mangos_spell_proc_event.sql \ README diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 9165d2791..ebb9244d7 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 "8994" + #define REVISION_NR "8995" #endif // __REVISION_NR_H__ diff --git a/src/shared/revision_sql.h b/src/shared/revision_sql.h index 1b7283fb6..b3d9549e0 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_8874_01_characters_character_skills" - #define REVISION_DB_MANGOS "required_8993_01_mangos_spell_proc_event" + #define REVISION_DB_MANGOS "required_8995_01_mangos_spell_proc_event" #define REVISION_DB_REALMD "required_8728_01_realmd_account" #endif // __REVISION_SQL_H__ -- 2.11.4.GIT