mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
sql updates for 3.2.2a
--HG-- branch : trunk
This commit is contained in:
@@ -1091,7 +1091,6 @@ INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `Spell
|
||||
( 44394, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000400, 0, 0, 0), -- Incanter's Absorption (Rank 1)
|
||||
( 44395, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000400, 0, 0, 0), -- Incanter's Absorption (Rank 2)
|
||||
( 44396, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000400, 0, 0, 0), -- Incanter's Absorption (Rank 3)
|
||||
( 44401, 0x00, 3, 0x00200000, 0x00000000, 0x00000000, 0x00000000, 0x00000FFF, 0, 0, 0), -- Missile Barrage
|
||||
( 44404, 0x00, 3, 0x20000021, 0x00009000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Missile Barrage (Rank 1)
|
||||
( 44442, 0x00, 3, 0x00800000, 0x00000040, 0x00000000, 0x00000000, 0x00010000, 0, 0, 1), -- Firestarter (Rank 1)
|
||||
( 44443, 0x00, 3, 0x00800000, 0x00000040, 0x00000000, 0x00000000, 0x00010000, 0, 0, 1), -- Firestarter (Rank 2)
|
||||
@@ -1402,10 +1401,8 @@ INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `Spell
|
||||
( 58444, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 5), -- Worg Tooth Oatmeal Stout
|
||||
( 58626, 0x00, 15, 0x02000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Glyph of Death Grip
|
||||
( 58631, 0x00, 15, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Glyph of Icy Touch
|
||||
( 58642, 0x00, 15, 0x00000000, 0x08000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Glyph of Scourge Strike
|
||||
( 58644, 0x00, 15, 0x00000000, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Glyph of Frost Strike
|
||||
( 58647, 0x00, 15, 0x00000000, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Glyph of Frost Strike
|
||||
( 58676, 0x00, 15, 0x00000000, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Glyph of Vampiric Blood
|
||||
( 58677, 0x00, 15, 0x00002000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Glyph of Death's Embrace
|
||||
( 58872, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0, 0, 0), -- Damage Shield (Rank 1)
|
||||
( 58874, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0, 0, 0), -- Damage Shield (Rank 2)
|
||||
@@ -1566,8 +1563,6 @@ INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `Spell
|
||||
( 54639, 0x00, 15, 0x00400000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Blood of the north
|
||||
( 54638, 0x00, 15, 0x00400000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Blood of the north
|
||||
( 54637, 0x00, 15, 0x00400000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Blood of the north
|
||||
( 61433, 0x00, 15, 0x00400000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Blood of the north
|
||||
( 61434, 0x00, 15, 0x00400000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Blood of the north
|
||||
( 49467, 0x00, 15, 0x00000010, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Death Rune Mastery
|
||||
( 50033, 0x00, 15, 0x00000010, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Death Rune Mastery
|
||||
( 50034, 0x00, 15, 0x00000010, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Death Rune Mastery
|
||||
@@ -2072,8 +2067,10 @@ INSERT INTO `spell_elixir` (`entry`, `mask`) VALUES
|
||||
(18194,0x10),
|
||||
(18222,0x10),
|
||||
(22730,0x10),
|
||||
(25661,0x10);
|
||||
|
||||
(25661,0x10),
|
||||
(67016,0x3),
|
||||
(67017,0x3),
|
||||
(67018,0x3);
|
||||
-- --------
|
||||
-- Death Knight
|
||||
-- --------
|
||||
|
||||
@@ -161,7 +161,7 @@ CREATE TABLE `realmlist` (
|
||||
`timezone` tinyint(3) unsigned NOT NULL default '0',
|
||||
`allowedSecurityLevel` tinyint(3) unsigned NOT NULL default '0',
|
||||
`population` float unsigned NOT NULL default '0',
|
||||
`gamebuild` int(11) unsigned NOT NULL default '9947',
|
||||
`gamebuild` int(11) unsigned NOT NULL default '10505',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `idx_name` (`name`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Realm System';
|
||||
@@ -173,7 +173,7 @@ CREATE TABLE `realmlist` (
|
||||
LOCK TABLES `realmlist` WRITE;
|
||||
/*!40000 ALTER TABLE `realmlist` DISABLE KEYS */;
|
||||
INSERT INTO `realmlist` VALUES
|
||||
(1,'Trinity','127.0.0.1',8085,1,0,1,0,0, 9947);
|
||||
(1,'Trinity','127.0.0.1',8085,1,0,1,0,0, 10505);
|
||||
/*!40000 ALTER TABLE `realmlist` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
UPDATE characters SET data = REPLACE(data,' ',' ');
|
||||
UPDATE characters SET data = CONCAT(TRIM(data),' ');
|
||||
|
||||
UPDATE `characters` SET `data` = CONCAT(
|
||||
SUBSTRING_INDEX(`data`, ' ', 1167 + 1), ' ',
|
||||
'0 0 ',
|
||||
SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1246 + 1), ' ', -1246 + 1168 - 1), ' ',
|
||||
'0 0 0 ',
|
||||
SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1294 + 1), ' ', -1294 + 1247 - 1), ' ',
|
||||
'0 '
|
||||
)
|
||||
WHERE length(SUBSTRING_INDEX(data, ' ', 1294)) < length(data) and length(SUBSTRING_INDEX(data, ' ', 1294+1)) >= length(data);
|
||||
|
||||
UPDATE characters SET data = REPLACE(data,' ',' ');
|
||||
UPDATE characters SET data = CONCAT(TRIM(data),' ');
|
||||
|
||||
alter table `groups`
|
||||
add column `raiddifficulty` int(11) UNSIGNED DEFAULT '0' NOT NULL after `difficulty`;
|
||||
|
||||
ALTER TABLE instance_reset
|
||||
ADD COLUMN difficulty tinyint(1) unsigned NOT NULL default '0' AFTER mapid,
|
||||
DROP PRIMARY KEY,
|
||||
ADD PRIMARY KEY (`mapid`,`difficulty`);
|
||||
|
||||
ALTER TABLE `bugreport` CHANGE `type` `type` LONGTEXT NOT NULL;
|
||||
ALTER TABLE `bugreport` CHANGE `content` `content` LONGTEXT NOT NULL;
|
||||
|
||||
DELETE FROM `character_spell` WHERE `spell` IN (31892, 53720);
|
||||
DELETE FROM `character_spell_cooldown` WHERE `spell` IN (31892, 53720);
|
||||
DELETE FROM `character_aura` WHERE `spell` IN (31892, 53720);
|
||||
DELETE FROM `character_action` WHERE `action` IN (31892, 53720) AND `type`=0;
|
||||
File diff suppressed because one or more lines are too long
2
sql/updates/6589_characters_bugreport.sql
Normal file
2
sql/updates/6589_characters_bugreport.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `bugreport` CHANGE `type` `type` LONGTEXT NOT NULL;
|
||||
ALTER TABLE `bugreport` CHANGE `content` `content` LONGTEXT NOT NULL;
|
||||
15
sql/updates/6589_characters_characters.sql
Normal file
15
sql/updates/6589_characters_characters.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
UPDATE characters SET data = REPLACE(data,' ',' ');
|
||||
UPDATE characters SET data = CONCAT(TRIM(data),' ');
|
||||
|
||||
UPDATE `characters` SET `data` = CONCAT(
|
||||
SUBSTRING_INDEX(`data`, ' ', 1167 + 1), ' ',
|
||||
'0 0 ',
|
||||
SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1246 + 1), ' ', -1246 + 1168 - 1), ' ',
|
||||
'0 0 0 ',
|
||||
SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1294 + 1), ' ', -1294 + 1247 - 1), ' ',
|
||||
'0 '
|
||||
)
|
||||
WHERE length(SUBSTRING_INDEX(data, ' ', 1294)) < length(data) and length(SUBSTRING_INDEX(data, ' ', 1294+1)) >= length(data);
|
||||
|
||||
UPDATE characters SET data = REPLACE(data,' ',' ');
|
||||
UPDATE characters SET data = CONCAT(TRIM(data),' ');
|
||||
2
sql/updates/6589_characters_groups.sql
Normal file
2
sql/updates/6589_characters_groups.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `groups`
|
||||
ADD COLUMN `raiddifficulty` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `difficulty`;
|
||||
4
sql/updates/6589_characters_instance_reset.sql
Normal file
4
sql/updates/6589_characters_instance_reset.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE instance_reset
|
||||
ADD COLUMN difficulty tinyint(1) unsigned NOT NULL default '0' AFTER mapid,
|
||||
DROP PRIMARY KEY,
|
||||
ADD PRIMARY KEY (`mapid`,`difficulty`);
|
||||
4
sql/updates/6589_characters_spell.sql
Normal file
4
sql/updates/6589_characters_spell.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
DELETE FROM `character_spell` WHERE `spell` IN (31892, 53720);
|
||||
DELETE FROM `character_spell_cooldown` WHERE `spell` IN (31892, 53720);
|
||||
DELETE FROM `character_aura` WHERE `spell` IN (31892, 53720);
|
||||
DELETE FROM `character_action` WHERE `action` IN (31892, 53720) AND `type`=0;
|
||||
1
sql/updates/6589_realmd_realmlist.sql
Normal file
1
sql/updates/6589_realmd_realmlist.sql
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `realmlist` SET `gamebuild`=10505 WHERE `id`=1;
|
||||
4
sql/updates/6589_world_battleground.sql
Normal file
4
sql/updates/6589_world_battleground.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
INSERT INTO `battleground_template` ( `id` , `MinPlayersPerTeam` , `MaxPlayersPerTeam` , `MinLvl` , `MaxLvl` , `AllianceStartLoc` , `AllianceStartO` , `HordeStartLoc` , `HordeStartO` )
|
||||
VALUES ( 30, 20, 40, 71, 80, 1485, 0, 1486, 0 ) ;
|
||||
INSERT INTO `battleground_template` ( `id` , `MinPlayersPerTeam` , `MaxPlayersPerTeam` , `MinLvl` , `MaxLvl` , `AllianceStartLoc` , `AllianceStartO` , `HordeStartLoc` , `HordeStartO` )
|
||||
VALUES ( 32, 0, 40, 0, 80, 0, 0, 0, 0 ) ;
|
||||
6
sql/updates/6589_world_creature_template.sql
Normal file
6
sql/updates/6589_world_creature_template.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE `creature_template`
|
||||
CHANGE COLUMN heroic_entry difficulty_entry_1 mediumint(8) unsigned NOT NULL default '0';
|
||||
ALTER TABLE `creature_template` ADD `difficulty_entry_2` MEDIUMINT(8) unsigned
|
||||
NOT NULL default 0 AFTER `difficulty_entry_1`;
|
||||
ALTER TABLE `creature_template` ADD `difficulty_entry_3` MEDIUMINT(8) unsigned
|
||||
NOT NULL default 0 AFTER `difficulty_entry_2`;
|
||||
4
sql/updates/6589_world_instance_template.sql
Normal file
4
sql/updates/6589_world_instance_template.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE `instance_template`
|
||||
DROP COLUMN maxPlayers,
|
||||
DROP COLUMN maxPlayersHeroic,
|
||||
DROP COLUMN reset_delay;
|
||||
5
sql/updates/6589_world_item_template.sql
Normal file
5
sql/updates/6589_world_item_template.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE `item_template`
|
||||
ADD COLUMN `Faction` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `Flags`;
|
||||
|
||||
ALTER TABLE item_template
|
||||
CHANGE COLUMN ItemLevel ItemLevel smallint(5) unsigned NOT NULL DEFAULT 0;
|
||||
82
sql/updates/6589_world_player_classlevelstats.sql
Normal file
82
sql/updates/6589_world_player_classlevelstats.sql
Normal file
@@ -0,0 +1,82 @@
|
||||
DELETE from `player_classlevelstats` where `class` = 7;
|
||||
INSERT INTO `player_classlevelstats` (`class`, `level`, `basehp`, `basemana`) VALUES
|
||||
(7, 1, 40, 85),
|
||||
(7, 2, 47, 91),
|
||||
(7, 3, 55, 98),
|
||||
(7, 4, 62, 106),
|
||||
(7, 5, 70, 115),
|
||||
(7, 6, 77, 125),
|
||||
(7, 7, 85, 136),
|
||||
(7, 8, 92, 148),
|
||||
(7, 9, 100, 161),
|
||||
(7, 10, 107, 175),
|
||||
(7, 11, 114, 190),
|
||||
(7, 12, 122, 206),
|
||||
(7, 13, 129, 223),
|
||||
(7, 14, 137, 241),
|
||||
(7, 15, 144, 260),
|
||||
(7, 16, 152, 280),
|
||||
(7, 17, 161, 301),
|
||||
(7, 18, 170, 323),
|
||||
(7, 19, 181, 346),
|
||||
(7, 20, 193, 370),
|
||||
(7, 21, 205, 395),
|
||||
(7, 22, 219, 421),
|
||||
(7, 23, 234, 448),
|
||||
(7, 24, 250, 476),
|
||||
(7, 25, 257, 505),
|
||||
(7, 26, 275, 535),
|
||||
(7, 27, 294, 566),
|
||||
(7, 28, 315, 598),
|
||||
(7, 29, 336, 631),
|
||||
(7, 30, 358, 665),
|
||||
(7, 31, 371, 699),
|
||||
(7, 32, 396, 733),
|
||||
(7, 33, 422, 767),
|
||||
(7, 34, 448, 786),
|
||||
(7, 35, 465, 820),
|
||||
(7, 36, 494, 854),
|
||||
(7, 37, 524, 888),
|
||||
(7, 38, 545, 922),
|
||||
(7, 39, 577, 941),
|
||||
(7, 40, 610, 975),
|
||||
(7, 41, 633, 1009),
|
||||
(7, 42, 669, 1028),
|
||||
(7, 43, 694, 1062),
|
||||
(7, 44, 732, 1096),
|
||||
(7, 45, 760, 1115),
|
||||
(7, 46, 799, 1149),
|
||||
(7, 47, 829, 1183),
|
||||
(7, 48, 871, 1202),
|
||||
(7, 49, 903, 1236),
|
||||
(7, 50, 947, 1255),
|
||||
(7, 51, 981, 1289),
|
||||
(7, 52, 1027, 1323),
|
||||
(7, 53, 1064, 1342),
|
||||
(7, 54, 1101, 1376),
|
||||
(7, 55, 1150, 1395),
|
||||
(7, 56, 1190, 1414),
|
||||
(7, 57, 1231, 1448),
|
||||
(7, 58, 1283, 1467),
|
||||
(7, 59, 1326, 1501),
|
||||
(7, 60, 1423, 1520),
|
||||
(7, 61, 1528, 1664),
|
||||
(7, 62, 1694, 1808),
|
||||
(7, 63, 1883, 1951),
|
||||
(7, 64, 2067, 2095),
|
||||
(7, 65, 2262, 2239),
|
||||
(7, 66, 2465, 2383),
|
||||
(7, 67, 2679, 2527),
|
||||
(7, 68, 2903, 2670),
|
||||
(7, 69, 3136, 2814),
|
||||
(7, 70, 3380, 2958),
|
||||
(7, 71, 3633, 3102),
|
||||
(7, 72, 3903, 3246),
|
||||
(7, 73, 4194, 3389),
|
||||
(7, 74, 4507, 3533),
|
||||
(7, 75, 4843, 3677),
|
||||
(7, 76, 5203, 3821),
|
||||
(7, 77, 5592, 3965),
|
||||
(7, 78, 6009, 4108),
|
||||
(7, 79, 6457, 4252),
|
||||
(7, 80, 6939, 4396);
|
||||
75
sql/updates/6589_world_playercreateinfo.sql
Normal file
75
sql/updates/6589_world_playercreateinfo.sql
Normal file
File diff suppressed because one or more lines are too long
5
sql/updates/6589_world_quest_template.sql
Normal file
5
sql/updates/6589_world_quest_template.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE `quest_template`
|
||||
ADD COLUMN `ReqItemId5` mediumint(8) UNSIGNED DEFAULT '0' NOT NULL AFTER `ReqItemId4`,
|
||||
ADD COLUMN `ReqItemId6` mediumint(8) UNSIGNED DEFAULT '0' NOT NULL AFTER `ReqItemId5`,
|
||||
ADD COLUMN `ReqItemCount5` smallint(5) UNSIGNED DEFAULT '0' NOT NULL AFTER `ReqItemCount4`,
|
||||
ADD COLUMN `ReqItemCount6` smallint(5) UNSIGNED DEFAULT '0' NOT NULL AFTER `ReqItemCount5`;
|
||||
11
sql/updates/6589_world_spell.sql
Normal file
11
sql/updates/6589_world_spell.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
ALTER TABLE `spell_proc_event` CHANGE COLUMN `entry` `entry` mediumint(8) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `spell_bonus_data` CHANGE COLUMN `entry` `entry` mediumint(8) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
DELETE FROM `spell_proc_event` WHERE `entry` IN
|
||||
(44401, 58642, 58676, 61433, 61434);
|
||||
|
||||
DELETE FROM `spell_elixir` WHERE `entry` IN (67016,67017,67018);
|
||||
INSERT INTO `spell_elixir` (`entry`, `mask`) VALUES
|
||||
(67016,0x3),
|
||||
(67017,0x3),
|
||||
(67018,0x3);
|
||||
Reference in New Issue
Block a user