From 205961affc10ac328c230ec87b2ff6e7e58c1129 Mon Sep 17 00:00:00 2001 From: Xfurry Date: Sat, 28 Feb 2015 00:49:33 +0100 Subject: [PATCH] [c13058] Add missing achiev check spells for ToC5 Spell ids: 68572, 68574 and 68575 (based on commit [12848] - c9f10b9) Signed-off-by: Xfurry --- sql/mangos.sql | 5 ++++- sql/updates/c13058_01_mangos_spell_template.sql | 7 +++++++ src/shared/revision_nr.h | 2 +- src/shared/revision_sql.h | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 sql/updates/c13058_01_mangos_spell_template.sql diff --git a/sql/mangos.sql b/sql/mangos.sql index cf185eebee..52112bb381 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_c13034_04_mangos_creature` bit(1) DEFAULT NULL + `required_c13058_01_mangos_spell_template` bit(1) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes'; -- @@ -21149,6 +21149,9 @@ INSERT INTO `spell_template` VALUES (65074, 0x00800180, 0x00000000, 0x00000005, 0x00000000, 0x00000000, 101, 37, 6, 22, 7, 28, 4, 0, 0, 0, 'Achievement check - Freya'), (65195, 0x00800180, 0x00000000, 0x00000005, 0x00000000, 0x00000000, 101, 37, 6, 22, 7, 28, 4, 0, 0, 0, 'Achievement check - Assembly of Iron'), (68184, 0x00800180, 0x00000000, 0x00000005, 0x00000000, 0x00000000, 101, 37, 6, 22, 7, 28, 4, 0, 0, 0, 'Achievement check - Faction Champions'), +(68572, 0x00800180, 0x00000000, 0x00000005, 0x00000000, 0x00000000, 101, 37, 6, 22, 7, 28, 4, 0, 0, 0, 'Achievement check - Grand Champions'), +(68574, 0x00800180, 0x00000000, 0x00000005, 0x00000000, 0x00000000, 101, 37, 6, 22, 7, 28, 4, 0, 0, 0, 'Achievement check - Confessor Paletress'), +(68575, 0x00800180, 0x00000000, 0x00000005, 0x00000000, 0x00000000, 101, 37, 6, 22, 7, 28, 4, 0, 0, 0, 'Achievement check - Eadric the Pure'), (72845, 0x00800180, 0x00000000, 0x00000005, 0x00000000, 0x00000000, 101, 37, 6, 22, 7, 28, 4, 0, 0, 0, 'Achievement check - Pit of Saron - Don\'t Look Up'); /*!40000 ALTER TABLE `spell_template` ENABLE KEYS */; UNLOCK TABLES; diff --git a/sql/updates/c13058_01_mangos_spell_template.sql b/sql/updates/c13058_01_mangos_spell_template.sql new file mode 100644 index 0000000000..dcb60092da --- /dev/null +++ b/sql/updates/c13058_01_mangos_spell_template.sql @@ -0,0 +1,7 @@ +ALTER TABLE db_version CHANGE COLUMN required_c13034_04_mangos_creature required_c13058_01_mangos_spell_template bit; + +DELETE FROM spell_template WHERE id IN (68572,68574,68575); +INSERT INTO spell_template VALUES +(68572, 0x00800180, 0x00000000, 0x00000005, 0x00000000, 0x00000000, 101, 37, 6, 22, 7, 28, 4, 0, 0, 0, 'Achievement check - Grand Champions'), +(68574, 0x00800180, 0x00000000, 0x00000005, 0x00000000, 0x00000000, 101, 37, 6, 22, 7, 28, 4, 0, 0, 0, 'Achievement check - Confessor Paletress'), +(68575, 0x00800180, 0x00000000, 0x00000005, 0x00000000, 0x00000000, 101, 37, 6, 22, 7, 28, 4, 0, 0, 0, 'Achievement check - Eadric the Pure'); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 82f62cd79f..fa5209d396 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 "13057" + #define REVISION_NR "13058" #endif // __REVISION_NR_H__ diff --git a/src/shared/revision_sql.h b/src/shared/revision_sql.h index 5a13a0af18..b02a916792 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_c12952_01_characters_pvpstats" - #define REVISION_DB_MANGOS "required_c13034_04_mangos_creature" + #define REVISION_DB_MANGOS "required_c13058_01_mangos_spell_template" #define REVISION_DB_REALMD "required_c12484_02_realmd_account_access" #endif // __REVISION_SQL_H__