diff --git a/sql/updates/10159_01_mangos_spell_proc_event.sql b/sql/updates/10159_01_mangos_spell_proc_event.sql index ae464a56e..bca10a01c 100644 --- a/sql/updates/10159_01_mangos_spell_proc_event.sql +++ b/sql/updates/10159_01_mangos_spell_proc_event.sql @@ -1,5 +1,5 @@ ALTER TABLE db_version CHANGE COLUMN required_10156_03_mangos_spell_proc_event required_10159_01_mangos_spell_proc_event bit; -delete from `spell_proc_event` where `entry` = 48516; -insert into `spell_proc_event` values -(48516, 0x00, 7, 0x00000005, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 30); \ No newline at end of file +DELETE FROM `spell_proc_event` WHERE `entry` = 48516; +INSERT INTO `spell_proc_event` VALUES +(48516, 0x00, 7, 0x00000005, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 30); diff --git a/sql/updates/10217_02_mangos_playercreateinfo_action.sql b/sql/updates/10217_02_mangos_playercreateinfo_action.sql index d9c4366b6..8b85008a2 100644 --- a/sql/updates/10217_02_mangos_playercreateinfo_action.sql +++ b/sql/updates/10217_02_mangos_playercreateinfo_action.sql @@ -29,7 +29,7 @@ INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) V (2, 1, 1, 78, 0), (2, 1, 2, 20572, 0); -DELETE FROM playercreateinfo_action where race=2 AND class=9; +DELETE FROM playercreateinfo_action WHERE race=2 AND class=9; INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) VALUES (2, 9, 0, 686, 0), (2, 9, 1, 687, 0), @@ -90,19 +90,19 @@ INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) V (5, 1, 1, 78, 0), (5, 1, 2, 20577, 0); -DELETE FROM playercreateinfo_action where race=5 AND class=8; +DELETE FROM playercreateinfo_action WHERE race=5 AND class=8; INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) VALUES (5, 8, 0, 133, 0), (5, 8, 1, 168, 0), (5, 8, 2, 20577, 0); -DELETE FROM playercreateinfo_action where race=5 AND class=9; +DELETE FROM playercreateinfo_action WHERE race=5 AND class=9; INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) VALUES (5, 9, 0, 686, 0), (5, 9, 1, 687, 0), (5, 9, 2, 20577, 0); -DELETE FROM playercreateinfo_action where race=5 AND class=5; +DELETE FROM playercreateinfo_action WHERE race=5 AND class=5; INSERT IGNORE INTO playercreateinfo_action (race, class, button, action, type) VALUES (5, 5, 0, 585, 0), (5, 5, 1, 2050, 0), diff --git a/sql/updates/10219_01_mangos_spell_proc_event.sql b/sql/updates/10219_01_mangos_spell_proc_event.sql index 0c0de0c27..ab310ce1b 100644 --- a/sql/updates/10219_01_mangos_spell_proc_event.sql +++ b/sql/updates/10219_01_mangos_spell_proc_event.sql @@ -1,4 +1,4 @@ ALTER TABLE db_version CHANGE COLUMN required_10217_05_mangos_spell_proc_event required_10219_01_mangos_spell_proc_event bit; -delete from `spell_proc_event` where entry = 36032; -insert into `spell_proc_event` values (36032, 0x40, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); \ No newline at end of file +DELETE FROM `spell_proc_event` WHERE entry = 36032; +INSERT INTO `spell_proc_event` VALUES (36032, 0x40, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); diff --git a/sql/updates/10223_01_mangos_spell_proc_event.sql b/sql/updates/10223_01_mangos_spell_proc_event.sql index a3cda65ad..b9174b202 100644 --- a/sql/updates/10223_01_mangos_spell_proc_event.sql +++ b/sql/updates/10223_01_mangos_spell_proc_event.sql @@ -1,5 +1,5 @@ ALTER TABLE db_version CHANGE COLUMN required_10219_01_mangos_spell_proc_event required_10223_01_mangos_spell_proc_event bit; -delete from `spell_proc_event` where entry = 71761; -insert into `spell_proc_event` values +DELETE FROM `spell_proc_event` WHERE entry = 71761; +INSERT INTO `spell_proc_event` VALUES (71761, 0x00, 3, 0x00000000, 0x00000000, 0x00000000, 0x00100000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000100, 0.000000, 0.000000, 0); diff --git a/sql/updates/10349_01_mangos_spell_proc_event.sql b/sql/updates/10349_01_mangos_spell_proc_event.sql index 5e871bbd5..89bfc8f90 100644 --- a/sql/updates/10349_01_mangos_spell_proc_event.sql +++ b/sql/updates/10349_01_mangos_spell_proc_event.sql @@ -1,6 +1,6 @@ ALTER TABLE db_version CHANGE COLUMN required_10342_02_mangos_command required_10349_01_mangos_spell_proc_event bit; -delete from `spell_proc_event` where entry IN (71406, 71545); -insert into `spell_proc_event` values +DELETE FROM `spell_proc_event` WHERE entry IN (71406, 71545); +INSERT INTO `spell_proc_event` VALUES (71406, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000, 0.000000,45.000000, 0), (71545, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000, 0.000000,45.000000, 0); diff --git a/sql/updates/10411_01_mangos_spell_proc_event.sql b/sql/updates/10411_01_mangos_spell_proc_event.sql index eae6a29eb..b89e4cbbc 100644 --- a/sql/updates/10411_01_mangos_spell_proc_event.sql +++ b/sql/updates/10411_01_mangos_spell_proc_event.sql @@ -1,3 +1,3 @@ ALTER TABLE db_version CHANGE COLUMN required_10410_01_mangos_spell_chain required_10411_01_mangos_spell_proc_event bit; -insert into spell_proc_event values (47230, 0x7F, 5, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); +INSERT INTO spell_proc_event VALUES (47230, 0x7F, 5, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); diff --git a/sql/updates/11831_01_mangos_mangos_string.sql b/sql/updates/11831_01_mangos_mangos_string.sql index 591a35c38..a8239411f 100644 --- a/sql/updates/11831_01_mangos_mangos_string.sql +++ b/sql/updates/11831_01_mangos_mangos_string.sql @@ -1,4 +1,4 @@ ALTER TABLE db_version CHANGE COLUMN required_11827_01_mangos_creature_linking_template required_11831_01_mangos_mangos_string bit; -delete from mangos_string where entry = 1193; -insert into mangos_string values (1193,'Gear Score of Player %s is %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); \ No newline at end of file +DELETE FROM mangos_string WHERE entry = 1193; +INSERT INTO mangos_string VALUES (1193,'Gear Score of Player %s is %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index b927fbb19..e5de1338b 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 "11836" + #define REVISION_NR "11837" #endif // __REVISION_NR_H__