[c12563] Add server-side spells 37264, 37278 and 37365

This commit is contained in:
Schmoozerd 2013-05-31 09:30:59 +01:00 committed by Antz
parent bf5c6b1ddd
commit 75e0ea33b4
4 changed files with 14 additions and 4 deletions

View file

@ -1425,7 +1425,7 @@ CREATE TABLE `db_version` (
`version` varchar(120) DEFAULT NULL, `version` varchar(120) DEFAULT NULL,
`creature_ai_version` varchar(120) DEFAULT NULL, `creature_ai_version` varchar(120) DEFAULT NULL,
`cache_id` int(10) DEFAULT '0', `cache_id` int(10) DEFAULT '0',
`required_c12552_01_mangos_item_enchantment_template` bit(1) default NULL `required_c12564_01_mangos_spell_template` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes'; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
/*!40101 SET character_set_client = @saved_cs_client */; /*!40101 SET character_set_client = @saved_cs_client */;
@ -1435,7 +1435,7 @@ CREATE TABLE `db_version` (
LOCK TABLES `db_version` WRITE; LOCK TABLES `db_version` WRITE;
/*!40000 ALTER TABLE `db_version` DISABLE KEYS */; /*!40000 ALTER TABLE `db_version` DISABLE KEYS */;
INSERT INTO `db_version` (`version`, `creature_ai_version`, `cache_id`, `required_c12552_01_mangos_item_enchantment_template`) VALUES INSERT INTO `db_version` (`version`, `creature_ai_version`, `cache_id`, `required_c12564_01_mangos_spell_template`) VALUES
('Mangos default database.','Creature EventAI not provided.',0,NULL); ('Mangos default database.','Creature EventAI not provided.',0,NULL);
/*!40000 ALTER TABLE `db_version` ENABLE KEYS */; /*!40000 ALTER TABLE `db_version` ENABLE KEYS */;
UNLOCK TABLES; UNLOCK TABLES;
@ -21388,6 +21388,9 @@ INSERT INTO `spell_template` VALUES
(35904, 0x00000000, 101, 21, 28, 44, 8, 0, 20405, 64, 0, 'Summon Nether Charge right of the caster'), (35904, 0x00000000, 101, 21, 28, 44, 8, 0, 20405, 64, 0, 'Summon Nether Charge right of the caster'),
(35905, 0x00000000, 101, 21, 28, 43, 8, 0, 20405, 64, 0, 'Summon Nether Charge left of the caster'), (35905, 0x00000000, 101, 21, 28, 43, 8, 0, 20405, 64, 0, 'Summon Nether Charge left of the caster'),
(35906, 0x00000000, 101, 21, 28, 41, 8, 0, 20405, 64, 0, 'Summon Nether Charge front of the caster'), (35906, 0x00000000, 101, 21, 28, 41, 8, 0, 20405, 64, 0, 'Summon Nether Charge front of the caster'),
(37264, 0x00000000, 101, 21, 28, 18, 7, 0, 21729, 64, 0, 'Power Converters: Summon Electromental (from cata)'),
(37278, 0x00000000, 101, 21, 28, 18, 1, 0, 21737, 64, 0, 'Power Converters: Summon Mini-Electromental (from cata)'),
(37365, 0x00000000, 101, 21, 28, 18, 1, 0, 21757, 64, 0, 'Power Converters: Summon Big Flavor Electromental (from cata)'),
(44920, 0x00000000, 101, 21, 6, 1, 0, 56, 24941, 0, 0, 'Model - Shattered Sun Marksman - BE Male Tier 4'), (44920, 0x00000000, 101, 21, 6, 1, 0, 56, 24941, 0, 0, 'Model - Shattered Sun Marksman - BE Male Tier 4'),
(44924, 0x00000000, 101, 21, 6, 1, 0, 56, 24945, 0, 0, 'Model - Shattered Sun Marksman - BE Female Tier 4'), (44924, 0x00000000, 101, 21, 6, 1, 0, 56, 24945, 0, 0, 'Model - Shattered Sun Marksman - BE Female Tier 4'),
(44928, 0x00000000, 101, 21, 6, 1, 0, 56, 24949, 0, 0, 'Model - Shattered Sun Marksman - Draenei Male Tier 4'), (44928, 0x00000000, 101, 21, 6, 1, 0, 56, 24949, 0, 0, 'Model - Shattered Sun Marksman - Draenei Male Tier 4'),

View file

@ -0,0 +1,7 @@
ALTER TABLE db_version CHANGE COLUMN required_c12552_01_mangos_item_enchantment_template required_c12564_01_mangos_spell_template bit;
DELETE FROM spell_template WHERE id IN (37264, 37278, 37365);
INSERT INTO spell_template VALUES
(37264, 0x00000000, 101, 21, 28, 18, 7, 0, 21729, 64, 0, 'Power Converters: Summon Electromental (from cata)'),
(37278, 0x00000000, 101, 21, 28, 18, 1, 0, 21737, 64, 0, 'Power Converters: Summon Mini-Electromental (from cata)'),
(37365, 0x00000000, 101, 21, 28, 18, 1, 0, 21757, 64, 0, 'Power Converters: Summon Big Flavor Electromental (from cata)');

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "12563" #define REVISION_NR "12564"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__

View file

@ -1,6 +1,6 @@
#ifndef __REVISION_SQL_H__ #ifndef __REVISION_SQL_H__
#define __REVISION_SQL_H__ #define __REVISION_SQL_H__
#define REVISION_DB_CHARACTERS "required_12447_02_characters_calendar_invites" #define REVISION_DB_CHARACTERS "required_12447_02_characters_calendar_invites"
#define REVISION_DB_MANGOS "required_c12552_01_mangos_item_enchantment_template" #define REVISION_DB_MANGOS "required_c12564_01_mangos_spell_template"
#define REVISION_DB_REALMD "required_c12484_02_realmd_account_access" #define REVISION_DB_REALMD "required_c12484_02_realmd_account_access"
#endif // __REVISION_SQL_H__ #endif // __REVISION_SQL_H__