mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
*Update to Mangos 7072.
*Remove some duplicated functions of possess. --HG-- branch : trunk
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
DROP TABLE IF EXISTS `character_db_version`;
|
||||
CREATE TABLE `character_db_version` (
|
||||
`required_7059_02_characters_pet_spell` bit(1) default NULL
|
||||
`required_7067_03_characters_character_spell` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
|
||||
|
||||
--
|
||||
|
||||
6
sql/updates/7067_01_mangos_playercreateinfo_spell.sql
Normal file
6
sql/updates/7067_01_mangos_playercreateinfo_spell.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE db_version CHANGE COLUMN required_7063_01_mangos_spell_proc_event required_7067_01_mangos_playercreateinfo_spell bit;
|
||||
|
||||
ALTER TABLE playercreateinfo_spell
|
||||
DROP COLUMN Active;
|
||||
|
||||
DELETE FROM playercreateinfo_spell WHERE Spell IN (1178,3025,5419,5420,5421,7376,7381,9635,21156,21178,24905,33948,34123,40121);
|
||||
33
sql/updates/7067_02_mangos_spell_learn_spell.sql
Normal file
33
sql/updates/7067_02_mangos_spell_learn_spell.sql
Normal file
@@ -0,0 +1,33 @@
|
||||
ALTER TABLE db_version CHANGE COLUMN required_7067_01_mangos_playercreateinfo_spell required_7067_02_mangos_spell_learn_spell bit;
|
||||
|
||||
ALTER TABLE spell_learn_spell
|
||||
ADD COLUMN Active tinyint(3) unsigned NOT NULL default '1' AFTER SpellID;
|
||||
|
||||
DELETE FROM spell_learn_spell WHERE Entry IN (
|
||||
71,768,783,1066,2458,2457,5487,5487,9634,9634,17002,24858,24866,
|
||||
33872,33873,33891,33891,33943,33943,33943,40123,40123
|
||||
);
|
||||
|
||||
INSERT INTO spell_learn_spell VALUES
|
||||
(71,7376,0),
|
||||
(768,3025,0),
|
||||
(783,5419,0),
|
||||
(1066,5421,0),
|
||||
(2457,21156,0),
|
||||
(2458,7381,0),
|
||||
(5487,1178,0),
|
||||
(5487,21178,0),
|
||||
(9634,9635,0),
|
||||
(9634,21178,0),
|
||||
(17002,24867,0),
|
||||
(24858,24905,0),
|
||||
(24866,24864,0),
|
||||
(33872,47179,0),
|
||||
(33873,47180,0),
|
||||
(33891,5420,0),
|
||||
(33891,34123,0),
|
||||
(33943,33948,0),
|
||||
(33943,34090,1),
|
||||
(33943,34764,0),
|
||||
(40123,40121,0),
|
||||
(40123,40122,0);
|
||||
3
sql/updates/7067_03_characters_character_spell.sql
Normal file
3
sql/updates/7067_03_characters_character_spell.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE character_db_version CHANGE COLUMN required_7059_02_characters_pet_spell required_7067_03_characters_character_spell bit;
|
||||
|
||||
DELETE FROM `character_spell` WHERE `spell` IN (7376,3025,5419,5421,21156,7381,1178,21178,9635,21178,24905,5420,34123,33948,34090,34764,40121,40122);
|
||||
@@ -1,4 +1,5 @@
|
||||
DELETE FROM `character_spell` WHERE `spell` IN ('28880', 59542, 59543, 59544, 59545, 59547, 59548);
|
||||
DELETE FROM `character_spell` WHERE `spell` IN (7376,3025,5419,5421,21156,7381,1178,21178,9635,21178,24905,5420,34123,33948,34090,34764,40121,40122);
|
||||
INSERT INTO character_spell SELECT characters.guid as guid, 28880, -1, 1, 0 FROM `characters` WHERE characters.race=11 AND characters.class = 1;
|
||||
INSERT INTO character_spell SELECT characters.guid as guid, 59542, -1, 1, 0 FROM `characters` WHERE characters.race=11 AND characters.class = 2;
|
||||
INSERT INTO character_spell SELECT characters.guid as guid, 59543, -1, 1, 0 FROM `characters` WHERE characters.race=11 AND characters.class = 3;
|
||||
@@ -10,26 +11,6 @@ INSERT INTO character_spell SELECT characters.guid as guid, 59548, -1, 1, 0 FRO
|
||||
ALTER TABLE character_spell
|
||||
DROP slot;
|
||||
|
||||
DELETE FROM `playercreateinfo_action` WHERE `action` IN ('28880', 59542, 59543, 59544, 59545, 59547, 59548);
|
||||
INSERT INTO `playercreateinfo_action` VALUES
|
||||
(11,1,74,28880,0,0),
|
||||
(11,2,3,59542,0,0),
|
||||
(11,3,3,59543,0,0),
|
||||
(11,5,3,59544,0,0),
|
||||
(11,6,6,59545,0,0),
|
||||
(11,7,3,59547,0,0),
|
||||
(11,8,3,59548,0,0);
|
||||
|
||||
DELETE FROM `playercreateinfo_spell` WHERE `Spell` IN ('28880', 59542, 59543, 59544, 59545, 59547, 59548);
|
||||
INSERT INTO `playercreateinfo_spell` VALUES
|
||||
(11,1,28880,'Gift of the Naaru',1),
|
||||
(11,2,59542,'Gift of the Naaru',1),
|
||||
(11,3,59543,'Gift of the Naaru',1),
|
||||
(11,5,59544,'Gift of the Naaru',1),
|
||||
(11,6,59545,'Gift of the Naaru',1),
|
||||
(11,7,59547,'Gift of the Naaru',1),
|
||||
(11,8,59548,'Gift of the Naaru',1);
|
||||
|
||||
alter table `character_pet`
|
||||
drop column `trainpoint`,
|
||||
drop column `loyaltypoints`,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user