DB Updates

This commit is contained in:
hondacrx
2022-10-04 20:14:06 -04:00
parent 615c388879
commit b5ee0ad65a
12 changed files with 624 additions and 103 deletions
+2 -3
View File
@@ -1426,7 +1426,6 @@ INSERT INTO `rbac_linked_permissions` VALUES
(198,413),
(198,414),
(198,415),
(198,416),
(198,430),
(198,431),
(198,432),
@@ -1801,7 +1800,6 @@ INSERT INTO `rbac_permissions` VALUES
(413,'Command: instance listbinds'),
(414,'Command: instance unbind'),
(415,'Command: instance stats'),
(416,'Command: instance savedata'),
(417,'Command: learn'),
(418,'Command: learn all'),
(419,'Command: learn all my'),
@@ -2622,7 +2620,8 @@ INSERT INTO `updates` VALUES
('2022_08_21_00_auth.sql','5DEC0CB848F99D575B90356D82276749F2473B72','ARCHIVED','2022-08-21 00:02:03',0),
('2022_09_02_00_auth.sql','E2ED8B4B90829CFD283C9679AE265A9C9B2CF762','RELEASED','2022-09-02 15:52:22',0),
('2022_09_08_00_auth.sql','20B4503E316E042432AC25F7CEE9DCD9EDC631C6','RELEASED','2022-09-08 15:38:35',0),
('2022_09_23_00_auth.sql','F7DB1B903982D99295BC0D7D2BC205C5A2145F03','RELEASED','2022-09-23 03:44:55',0);
('2022_09_23_00_auth.sql','F7DB1B903982D99295BC0D7D2BC205C5A2145F03','RELEASED','2022-09-23 03:44:55',0),
('2022_10_03_00_auth.sql','30220B5474AFA716B141B3879ADE287BAEC61016','RELEASED','2022-10-03 21:32:38',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;
+28 -100
View File
@@ -1094,29 +1094,35 @@ LOCK TABLES `character_homebind` WRITE;
UNLOCK TABLES;
--
-- Table structure for table `character_instance`
-- Table structure for table `character_instance_lock`
--
DROP TABLE IF EXISTS `character_instance`;
DROP TABLE IF EXISTS `character_instance_lock`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_instance` (
`guid` bigint unsigned NOT NULL DEFAULT '0',
`instance` int unsigned NOT NULL DEFAULT '0',
`permanent` tinyint unsigned NOT NULL DEFAULT '0',
`extendState` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`guid`,`instance`),
KEY `instance` (`instance`)
CREATE TABLE `character_instance_lock` (
`guid` bigint unsigned NOT NULL,
`mapId` int unsigned NOT NULL,
`lockId` int unsigned NOT NULL,
`instanceId` int unsigned DEFAULT NULL,
`difficulty` tinyint unsigned DEFAULT NULL,
`data` text COLLATE utf8mb4_unicode_ci,
`completedEncountersMask` int unsigned DEFAULT NULL,
`entranceWorldSafeLocId` int unsigned DEFAULT NULL,
`expiryTime` bigint unsigned DEFAULT NULL,
`extended` tinyint unsigned DEFAULT NULL,
PRIMARY KEY (`guid`,`mapId`,`lockId`),
UNIQUE KEY `uk_character_instanceId` (`guid`,`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `character_instance`
-- Dumping data for table `character_instance_lock`
--
LOCK TABLES `character_instance` WRITE;
/*!40000 ALTER TABLE `character_instance` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_instance` ENABLE KEYS */;
LOCK TABLES `character_instance_lock` WRITE;
/*!40000 ALTER TABLE `character_instance_lock` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_instance_lock` ENABLE KEYS */;
UNLOCK TABLES;
--
@@ -2142,31 +2148,6 @@ LOCK TABLES `gm_suggestion` WRITE;
/*!40000 ALTER TABLE `gm_suggestion` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `group_instance`
--
DROP TABLE IF EXISTS `group_instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `group_instance` (
`guid` int unsigned NOT NULL DEFAULT '0',
`instance` int unsigned NOT NULL DEFAULT '0',
`permanent` tinyint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`instance`),
KEY `instance` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `group_instance`
--
LOCK TABLES `group_instance` WRITE;
/*!40000 ALTER TABLE `group_instance` DISABLE KEYS */;
/*!40000 ALTER TABLE `group_instance` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `group_member`
--
@@ -2588,17 +2569,11 @@ DROP TABLE IF EXISTS `instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `instance` (
`id` int unsigned NOT NULL DEFAULT '0',
`map` smallint unsigned NOT NULL DEFAULT '0',
`resettime` bigint NOT NULL DEFAULT '0',
`difficulty` tinyint unsigned NOT NULL DEFAULT '0',
`completedEncounters` int unsigned NOT NULL DEFAULT '0',
`data` tinytext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`entranceId` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `map` (`map`),
KEY `resettime` (`resettime`),
KEY `difficulty` (`difficulty`)
`instanceId` int unsigned NOT NULL,
`data` text COLLATE utf8mb4_unicode_ci,
`completedEncountersMask` int unsigned DEFAULT NULL,
`entranceWorldSafeLocId` int unsigned DEFAULT NULL,
PRIMARY KEY (`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -2611,56 +2586,6 @@ LOCK TABLES `instance` WRITE;
/*!40000 ALTER TABLE `instance` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `instance_reset`
--
DROP TABLE IF EXISTS `instance_reset`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `instance_reset` (
`mapid` smallint unsigned NOT NULL DEFAULT '0',
`difficulty` tinyint unsigned NOT NULL DEFAULT '0',
`resettime` bigint NOT NULL DEFAULT '0',
PRIMARY KEY (`mapid`,`difficulty`),
KEY `difficulty` (`difficulty`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `instance_reset`
--
LOCK TABLES `instance_reset` WRITE;
/*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
/*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `instance_scenario_progress`
--
DROP TABLE IF EXISTS `instance_scenario_progress`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `instance_scenario_progress` (
`id` int unsigned NOT NULL,
`criteria` int unsigned NOT NULL,
`counter` bigint unsigned NOT NULL,
`date` bigint NOT NULL DEFAULT '0',
PRIMARY KEY (`id`,`criteria`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `instance_scenario_progress`
--
LOCK TABLES `instance_scenario_progress` WRITE;
/*!40000 ALTER TABLE `instance_scenario_progress` DISABLE KEYS */;
/*!40000 ALTER TABLE `instance_scenario_progress` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `item_instance`
--
@@ -3677,7 +3602,10 @@ INSERT INTO `updates` VALUES
('2022_07_25_00_characters.sql','3159BB2F3C346A7881920AB2B1F8108247CF13EE','ARCHIVED','2022-07-25 18:44:10',0),
('2022_08_19_00_characters.sql','1C076A24F2B48F32E8EF835C01F8907CA9E86491','ARCHIVED','2022-08-19 23:43:01',0),
('2022_08_21_00_characters.sql','1D75688392FBDA18CD8494F32CF682DCB49642EC','ARCHIVED','2022-08-21 00:02:03',0),
('2022_09_18_00_characters.sql','A7DF0C1F0E074F3E63A6CDD0AF873A1F3DC33B29','RELEASED','2022-09-18 21:48:42',0);
('2022_09_18_00_characters.sql','A7DF0C1F0E074F3E63A6CDD0AF873A1F3DC33B29','RELEASED','2022-09-18 21:48:42',0),
('2022_10_03_00_characters.sql','7B062787230D9158A622EB4AFE7FA6D18AB47BB3','RELEASED','2022-10-03 22:32:58',0),
('2022_10_03_01_characters.sql','7CF58BD9CC366301CC992017028568C8774C4BC2','RELEASED','2022-10-03 22:36:38',0),
('2022_10_03_02_characters.sql','33135AB3132943F15F4849A16EC5EFEA402F24F6','RELEASED','2022-10-03 22:38:27',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;
@@ -0,0 +1,3 @@
DELETE FROM `rbac_account_permissions` WHERE `permissionId`=416;
DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=416;
DELETE FROM `rbac_permissions` WHERE `id=416;
@@ -0,0 +1,30 @@
--
-- Table structure for table `character_instance_lock`
--
DROP TABLE IF EXISTS `character_instance_lock`;
CREATE TABLE `character_instance_lock` (
`guid` bigint unsigned NOT NULL,
`mapId` int unsigned NOT NULL,
`lockId` int unsigned NOT NULL,
`instanceId` int unsigned DEFAULT NULL,
`difficulty` tinyint unsigned DEFAULT NULL,
`data` text COLLATE utf8mb4_unicode_ci,
`completedEncountersMask` int unsigned DEFAULT NULL,
`entranceWorldSafeLocId` int unsigned DEFAULT NULL,
`expiryTime` bigint unsigned DEFAULT NULL,
`extended` tinyint unsigned DEFAULT NULL,
PRIMARY KEY (`guid`,`mapId`,`lockId`),
UNIQUE KEY `uk_character_instanceId` (`guid`,`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `instance`
--
DROP TABLE IF EXISTS `instance`;
CREATE TABLE `instance` (
`instanceId` int unsigned NOT NULL,
`data` text COLLATE utf8mb4_unicode_ci,
`completedEncountersMask` int unsigned DEFAULT NULL,
`entranceWorldSafeLocId` int unsigned DEFAULT NULL,
PRIMARY KEY (`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@@ -0,0 +1,3 @@
DROP TABLE IF EXISTS `character_instance`;
DROP TABLE IF EXISTS `group_instance`;
DROP TABLE IF EXISTS `instance_reset`;
@@ -0,0 +1 @@
DROP TABLE IF EXISTS `instance_scenario_progress`;
@@ -0,0 +1,394 @@
-- Delete old Heirloom Vendors
DELETE FROM `creature` WHERE `guid` IN (88108, 85227);
-- Update Magister Arlan position
UPDATE `creature` SET `position_x`=5939.97119140625, `position_y`=505.539947509765625, `position_z`=650.2626953125, `orientation`=2.356194496154785156 WHERE `guid` = 202582;
-- Update Alliance Legacy Quartermaster in Dalaran-Northrend
DELETE FROM `npc_vendor` WHERE `entry` IN (35494, 37942, 33964, 31579, 31580);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(35494, 109, 41959, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Silk Trousers
(35494, 108, 41953, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Silk Raiment
(35494, 107, 41971, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Silk Handguards
(35494, 106, 41946, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Silk Cowl
(35494, 105, 41965, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Silk Amice
(35494, 29, 47735, 0, 0, 1, 0, 0, 45745), -- Glyph of Indomitability
(35494, 28, 47734, 0, 0, 1, 0, 0, 45745), -- Mark of Supremacy
(35494, 27, 48724, 0, 0, 1, 0, 0, 45745), -- Talisman of Resurgence
(35494, 26, 48722, 0, 0, 1, 0, 0, 45745), -- Shard of the Crystal Heart
(35494, 25, 47731, 0, 0, 1, 0, 0, 45745), -- Clutch of Fortification
(35494, 24, 47729, 0, 0, 1, 0, 0, 45745), -- Bloodshed Band
(35494, 23, 47730, 0, 0, 1, 0, 0, 45745), -- Dexterous Brightstone Ring
(35494, 22, 47733, 0, 0, 1, 0, 0, 45745), -- Heartmender Circle
(35494, 21, 47732, 0, 0, 1, 0, 0, 45745), -- Band of the Invoker
(35494, 20, 47707, 0, 0, 1, 0, 0, 45745), -- Mantle of the Groundbreaker
(35494, 19, 47708, 0, 0, 1, 0, 0, 45745), -- Duskstalker Shoulderpads
(35494, 18, 47715, 0, 0, 1, 0, 0, 45745), -- Pauldrons of Revered Mortality
(35494, 17, 47698, 0, 0, 1, 0, 0, 45745), -- Shoulderplates of Enduring Order
(35494, 16, 47697, 0, 0, 1, 0, 0, 45745), -- Pauldrons of Trembling Rage
(35494, 15, 47702, 0, 0, 1, 0, 0, 45745), -- Pauldrons of the Cavalier
(35494, 14, 47704, 0, 0, 1, 0, 0, 45745), -- Epaulets of the Devourer
(35494, 13, 47712, 0, 0, 1, 0, 0, 45745), -- Shoulders of the Fateful Accord
(35494, 12, 47713, 0, 0, 1, 0, 0, 45745), -- Mantle of Catastrophic Emanation
(35494, 11, 47686, 0, 0, 1, 0, 0, 45745), -- Helm of Inner Warmth
(35494, 10, 47689, 0, 0, 1, 0, 0, 45745), -- Hood of Lethal Intent
(35494, 9, 47694, 0, 0, 1, 0, 0, 45745), -- Helm of Clouded Sight
(35494, 8, 47677, 0, 0, 1, 0, 0, 45745), -- Faceplate of the Honorbound
(35494, 7, 47674, 0, 0, 1, 0, 0, 45745), -- Helm of Thunderous Rampage
(35494, 6, 47681, 0, 0, 1, 0, 0, 45745), -- Heaume of the Restless Watch
(35494, 5, 47685, 0, 0, 1, 0, 0, 45745), -- Helm of the Brooding Dragon
(35494, 4, 47690, 0, 0, 1, 0, 0, 45745), -- Helm of Abundant Growth
(35494, 3, 47693, 0, 0, 1, 0, 0, 45745), -- Hood of Fiery Aftermath
(35494, 2, 47658, 0, 0, 1, 0, 0, 45745), -- Brimstone Igniter
(35494, 1, 47556, 0, 0, 1, 0, 0, 45745), -- Crusader Orb
(37942, 102, 41966, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Silk Amice
(37942, 101, 41960, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Silk Trousers
(37942, 100, 41947, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Silk Cowl
(37942, 99, 41972, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Silk Handguards
(37942, 98, 41954, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Silk Raiment
(37942, 37, 49908, 0, 0, 1, 0, 0, 45745), -- Primordial Saronite
(37942, 36, 50997, 0, 0, 1, 0, 0, 45745), -- Circle of Ossus
(37942, 35, 50996, 0, 0, 1, 0, 0, 45745), -- Belt of Omission
(37942, 34, 50995, 0, 0, 1, 0, 0, 45745), -- Vengeful Noose
(37942, 33, 50994, 0, 0, 1, 0, 0, 45745), -- Belt of Petrified Ivy
(37942, 32, 50993, 0, 0, 1, 0, 0, 45745), -- Band of the Night Raven
(37942, 31, 50992, 0, 0, 1, 0, 0, 45745), -- Waistband of Despair
(37942, 30, 50991, 0, 0, 1, 0, 0, 45745), -- Verdigris Chain Belt
(37942, 29, 50989, 0, 0, 1, 0, 0, 45745), -- Lich Killer's Lanyard
(37942, 28, 50987, 0, 0, 1, 0, 0, 45745), -- Malevolent Girdle
(37942, 27, 50984, 0, 0, 1, 0, 0, 45745), -- Gloves of Ambivalence
(37942, 26, 50983, 0, 0, 1, 0, 0, 45745), -- Gloves of False Gestures
(37942, 25, 50982, 0, 0, 1, 0, 0, 45745), -- Cat Burglar's Grips
(37942, 24, 50981, 0, 0, 1, 0, 0, 45745), -- Gloves of the Great Horned Owl
(37942, 23, 50980, 0, 0, 1, 0, 0, 45745), -- Blizzard Keeper's Mitts
(37942, 22, 50979, 0, 0, 1, 0, 0, 45745), -- Logsplitters
(37942, 21, 50978, 0, 0, 1, 0, 0, 45745), -- Gauntlets of the Kraken
(37942, 20, 50977, 0, 0, 1, 0, 0, 45745), -- Gatecrasher's Gauntlets
(37942, 19, 50976, 0, 0, 1, 0, 0, 45745), -- Gauntlets of Overexposure
(37942, 18, 50975, 0, 0, 1, 0, 0, 45745), -- Ermine Coronation Robes
(37942, 17, 50974, 0, 0, 1, 0, 0, 45745), -- Meteor Chaser's Raiment
(37942, 16, 50973, 0, 0, 1, 0, 0, 45745), -- Vestments of Spruce and Fir
(37942, 15, 50972, 0, 0, 1, 0, 0, 45745), -- Shadow Seeker's Tunic
(37942, 14, 50971, 0, 0, 1, 0, 0, 45745), -- Mail of the Geyser
(37942, 13, 50970, 0, 0, 1, 0, 0, 45745), -- Longstrider's Vest
(37942, 12, 50969, 0, 0, 1, 0, 0, 45745), -- Chestplate of Unspoken Truths
(37942, 11, 50968, 0, 0, 1, 0, 0, 45745), -- Cataclysmic Chestguard
(37942, 10, 50965, 0, 0, 1, 0, 0, 45745), -- Castle Breaker's Battleplate
(37942, 9, 50470, 0, 0, 1, 0, 0, 45745), -- Recovered Scarlet Onslaught Cape
(37942, 8, 50469, 0, 0, 1, 0, 0, 45745), -- Volde's Cloak of the Night Sky
(37942, 7, 50468, 0, 0, 1, 0, 0, 45745), -- Drape of the Violet Tower
(37942, 6, 50467, 0, 0, 1, 0, 0, 45745), -- Might of the Ocean Serpent
(37942, 5, 50466, 0, 0, 1, 0, 0, 45745), -- Sentinel's Winter Cloak
(37942, 4, 50358, 0, 0, 1, 0, 0, 45745), -- Purified Lunar Dust
(37942, 3, 50357, 0, 0, 1, 0, 0, 45745), -- Maghia's Misguided Quill
(37942, 2, 50356, 0, 0, 1, 0, 0, 45745), -- Corroded Skeleton Key
(37942, 1, 50355, 0, 0, 1, 0, 0, 45745), -- Herkuml War Token
(33964, 115, 41970, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Silk Handguards
(33964, 99, 41964, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Silk Amice
(33964, 83, 41945, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Silk Cowl
(33964, 67, 41958, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Silk Trousers
(33964, 52, 41951, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Silk Raiment
(33964, 36, 45640, 0, 0, 1, 0, 0, 45745), -- Crown of the Wayward Vanquisher
(33964, 33, 45634, 0, 0, 1, 0, 0, 45745), -- Breastplate of the Wayward Vanquisher
(33964, 30, 45842, 0, 0, 1, 0, 0, 45745), -- Wyrmguard Legplates
(33964, 29, 45841, 0, 0, 1, 0, 0, 45745), -- Legplates of the Violet Champion
(33964, 28, 45843, 0, 0, 1, 0, 0, 45745), -- Legguards of the Peaceful Covenant
(33964, 27, 45845, 0, 0, 1, 0, 0, 45745), -- Leggings of the Weary Mystic
(33964, 26, 45844, 0, 0, 1, 0, 0, 45745), -- Leggings of the Tireless Sentry
(33964, 25, 45846, 0, 0, 1, 0, 0, 45745), -- Leggings of Wavering Shadow
(33964, 24, 45847, 0, 0, 1, 0, 0, 45745), -- Wildstrider Legguards
(33964, 23, 45848, 0, 0, 1, 0, 0, 45745), -- Legwraps of the Master Conjurer
(33964, 22, 45834, 0, 0, 1, 0, 0, 45745), -- Gauntlets of the Royal Watch
(33964, 21, 45833, 0, 0, 1, 0, 0, 45745), -- Bladebreaker Gauntlets
(33964, 20, 45835, 0, 0, 1, 0, 0, 45745), -- Gauntlets of Serene Blessing
(33964, 19, 45837, 0, 0, 1, 0, 0, 45745), -- Gloves of Augury
(33964, 18, 45836, 0, 0, 1, 0, 0, 45745), -- Gloves of Unerring Aim
(33964, 17, 45838, 0, 0, 1, 0, 0, 45745), -- Gloves of the Blind Stalker
(33964, 16, 45839, 0, 0, 1, 0, 0, 45745), -- Grips of the Secret Grove
(33964, 15, 45840, 0, 0, 1, 0, 0, 45745), -- Touch of the Occult
(33964, 14, 45825, 0, 0, 1, 0, 0, 45745), -- Shieldwarder Girdle
(33964, 13, 45824, 0, 0, 1, 0, 0, 45745), -- Belt of the Singing Blade
(33964, 12, 45826, 0, 0, 1, 0, 0, 45745), -- Girdle of Unyielding Trust
(33964, 11, 45828, 0, 0, 1, 0, 0, 45745), -- Windchill Binding
(33964, 10, 45827, 0, 0, 1, 0, 0, 45745), -- Belt of the Ardent Marksman
(33964, 9, 45829, 0, 0, 1, 0, 0, 45745), -- Belt of the Twilight Assassin
(33964, 8, 45830, 0, 0, 1, 0, 0, 45745), -- Belt of the Living Thicket
(33964, 7, 45831, 0, 0, 1, 0, 0, 45745), -- Sash of Potent Incantations
(33964, 6, 45821, 0, 0, 1, 0, 0, 45745), -- Shard of the Crystal Forest
(33964, 5, 45819, 0, 0, 1, 0, 0, 45745), -- Spiked Battleguard Choker
(33964, 4, 45820, 0, 0, 1, 0, 0, 45745), -- Broach of the Wailing Night
(33964, 3, 45823, 0, 0, 1, 0, 0, 45745), -- Frozen Tear of Elune
(33964, 2, 45822, 0, 0, 1, 0, 0, 45745), -- Evoker's Charm
(33964, 1, 45087, 0, 0, 1, 0, 0, 45745), -- Runed Orb
(31579, 37, 41963, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Silk Amice
(31579, 36, 41957, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Silk Trousers
(31579, 35, 41944, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Silk Cowl
(31579, 34, 41969, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Silk Handguards
(31579, 33, 41950, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Silk Raiment
(31579, 32, 40636, 0, 0, 1, 0, 0, 45745), -- Legplates of the Lost Vanquisher
(31579, 29, 40639, 0, 0, 1, 0, 0, 45745), -- Mantle of the Lost Vanquisher
(31579, 26, 40750, 0, 0, 1, 0, 0, 45745), -- Xintor's Expeditionary Boots
(31579, 25, 40747, 0, 0, 1, 0, 0, 45745), -- Treads of Coastal Wandering
(31579, 24, 40751, 0, 0, 1, 0, 0, 45745), -- Slippers of the Holy Light
(31579, 23, 40745, 0, 0, 1, 0, 0, 45745), -- Sabatons of Rapid Recovery
(31579, 22, 40749, 0, 0, 1, 0, 0, 45745), -- Rainey's Chewed Boots
(31579, 21, 40746, 0, 0, 1, 0, 0, 45745), -- Pack-Ice Striders
(31579, 20, 40743, 0, 0, 1, 0, 0, 45745), -- Kyzoc's Ground Stompers
(31579, 19, 40748, 0, 0, 1, 0, 0, 45745), -- Boots of Captain Ellis
(31579, 18, 40742, 0, 0, 1, 0, 0, 45745), -- Bladed Steelboots
(31579, 17, 40735, 0, 0, 1, 0, 0, 45745), -- Zartson's Jungle Vambraces
(31579, 16, 40738, 0, 0, 1, 0, 0, 45745), -- Wristwraps of the Cutthroat
(31579, 15, 40733, 0, 0, 1, 0, 0, 45745), -- Wristbands of the Sentinel Huntress
(31579, 14, 40740, 0, 0, 1, 0, 0, 45745), -- Wraps of the Astral Traveler
(31579, 13, 40737, 0, 0, 1, 0, 0, 45745), -- Pigmented Clan Bindings
(31579, 12, 40741, 0, 0, 1, 0, 0, 45745), -- Cuffs of the Shadow Ascendant
(31579, 11, 40734, 0, 0, 1, 0, 0, 45745), -- Bracers of Dalaran's Parapets
(31579, 10, 40739, 0, 0, 1, 0, 0, 45745), -- Bands of the Great Tree
(31579, 9, 40736, 0, 0, 1, 0, 0, 45745), -- Armguard of the Tower Archer
(31579, 8, 40722, 0, 0, 1, 0, 0, 45745), -- Platinum Mesh Cloak
(31579, 7, 40721, 0, 0, 1, 0, 0, 45745), -- Hammerhead Sharkskin Cloak
(31579, 6, 40723, 0, 0, 1, 0, 0, 45745), -- Disguise of the Kumiho
(31579, 5, 40724, 0, 0, 1, 0, 0, 45745), -- Cloak of Kea Feathers
(31579, 4, 40718, 0, 0, 1, 0, 0, 45745), -- Signet of the Impregnable Fortress
(31579, 3, 40717, 0, 0, 1, 0, 0, 45745), -- Ring of Invincibility
(31579, 2, 40720, 0, 0, 1, 0, 0, 45745), -- Renewal of Life
(31579, 1, 40719, 0, 0, 1, 0, 0, 45745), -- Band of Channeled Magic
(31580, 101, 41968, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Silk Handguards
(31580, 85, 41962, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Silk Amice
(31580, 69, 41943, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Silk Cowl
(31580, 53, 41956, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Silk Trousers
(31580, 41, 41949, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Silk Raiment
(31580, 31, 40612, 0, 0, 1, 0, 0, 45745), -- Chestguard of the Lost Vanquisher
(31580, 28, 40615, 0, 0, 1, 0, 0, 45745), -- Gloves of the Lost Vanquisher
(31580, 25, 40702, 0, 0, 1, 0, 0, 45745), -- Rolfsen's Ripper
(31580, 24, 40704, 0, 0, 1, 0, 0, 45745), -- Pride
(31580, 23, 40703, 0, 0, 1, 0, 0, 45745), -- Grasscutter
(31580, 22, 40700, 0, 0, 1, 0, 0, 45745), -- Protective Barricade of the Light
(31580, 21, 40701, 0, 0, 1, 0, 0, 45745), -- Crygil's Discarded Plate Panel
(31580, 20, 40698, 0, 0, 1, 0, 0, 45745), -- Ward of the Violet Citadel
(31580, 19, 40699, 0, 0, 1, 0, 0, 45745), -- Handbook of Obscure Remedies
(31580, 18, 40689, 0, 0, 1, 0, 0, 45745), -- Waistguard of Living Iron
(31580, 17, 40695, 0, 0, 1, 0, 0, 45745), -- Vine Belt of the Woodland Dryad
(31580, 16, 40692, 0, 0, 1, 0, 0, 45745), -- Vereesa's Silver Chain Belt
(31580, 15, 40688, 0, 0, 1, 0, 0, 45745), -- Verdungo's Barbarian Cord
(31580, 14, 40696, 0, 0, 1, 0, 0, 45745), -- Plush Sash of Guzbah
(31580, 13, 40691, 0, 0, 1, 0, 0, 45745), -- Magroth's Meditative Cincture
(31580, 12, 40694, 0, 0, 1, 0, 0, 45745), -- Jorach's Crocolisk Skin Belt
(31580, 11, 40697, 0, 0, 1, 0, 0, 45745), -- Elegant Temple Gardens' Girdle
(31580, 10, 40693, 0, 0, 1, 0, 0, 45745), -- Beadwork Belt of Shamanic Vision
(31580, 9, 40683, 0, 0, 1, 0, 0, 45745), -- Valor Medal of the First War
(31580, 8, 40685, 0, 0, 1, 0, 0, 45745), -- The Egg of Mortal Essence
(31580, 7, 40682, 0, 0, 1, 0, 0, 45745), -- Sundial of the Exiled
(31580, 6, 40684, 0, 0, 1, 0, 0, 45745), -- Mirror of Truth
(31580, 5, 40678, 0, 0, 1, 0, 0, 45745), -- Pendant of the Outcast Hero
(31580, 4, 40681, 0, 0, 1, 0, 0, 45745), -- Lattice Choker of Light
(31580, 3, 40680, 0, 0, 1, 0, 0, 45745), -- Encircling Burnished Gold Chains
(31580, 2, 40679, 0, 0, 1, 0, 0, 45745), -- Chained Military Gorget
(31580, 1, 43102, 0, 0, 1, 0, 0, 45745); -- Frozen Orb
-- Update Horde Legacy Quartermaster in Dalaran-Northrend
DELETE FROM `npc_vendor` WHERE `entry` IN (35495, 33963, 31581, 37941, 31582);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(35495, 104, 41921, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Satin Robe
(35495, 103, 41934, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Satin Mantle
(35495, 102, 41927, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Satin Leggings
(35495, 101, 41915, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Satin Hood
(35495, 100, 41940, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Satin Gloves
(35495, 99, 41859, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Mooncloth Robe
(35495, 98, 41869, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Mooncloth Mantle
(35495, 97, 41864, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Mooncloth Leggings
(35495, 96, 41854, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Mooncloth Hood
(35495, 95, 41874, 0, 0, 1, 0, 0, 45745), -- Furious Gladiator's Mooncloth Gloves
(35495, 29, 47735, 0, 0, 1, 0, 0, 45745), -- Glyph of Indomitability
(35495, 28, 47734, 0, 0, 1, 0, 0, 45745), -- Mark of Supremacy
(35495, 27, 48724, 0, 0, 1, 0, 0, 45745), -- Talisman of Resurgence
(35495, 26, 48722, 0, 0, 1, 0, 0, 45745), -- Shard of the Crystal Heart
(35495, 25, 47731, 0, 0, 1, 0, 0, 45745), -- Clutch of Fortification
(35495, 24, 47729, 0, 0, 1, 0, 0, 45745), -- Bloodshed Band
(35495, 23, 47730, 0, 0, 1, 0, 0, 45745), -- Dexterous Brightstone Ring
(35495, 22, 47733, 0, 0, 1, 0, 0, 45745), -- Heartmender Circle
(35495, 21, 47732, 0, 0, 1, 0, 0, 45745), -- Band of the Invoker
(35495, 20, 47706, 0, 0, 1, 0, 0, 45745), -- Shoulders of the Groundbreaker
(35495, 19, 47709, 0, 0, 1, 0, 0, 45745), -- Duskstalker Pauldrons
(35495, 18, 47716, 0, 0, 1, 0, 0, 45745), -- Mantle of Revered Mortality
(35495, 17, 47699, 0, 0, 1, 0, 0, 45745), -- Shoulderguards of Enduring Order
(35495, 16, 47696, 0, 0, 1, 0, 0, 45745), -- Shoulderplates of Trembling Rage
(35495, 15, 47701, 0, 0, 1, 0, 0, 45745), -- Shoulderplates of the Cavalier
(35495, 14, 47705, 0, 0, 1, 0, 0, 45745), -- Pauldrons of the Devourer
(35495, 13, 47710, 0, 0, 1, 0, 0, 45745), -- Epaulets of the Fateful Accord
(35495, 12, 47714, 0, 0, 1, 0, 0, 45745), -- Pauldrons of Catastrophic Emanation
(35495, 11, 47687, 0, 0, 1, 0, 0, 45745), -- Headguard of Inner Warmth
(35495, 10, 47688, 0, 0, 1, 0, 0, 45745), -- Mask of Lethal Intent
(35495, 9, 47695, 0, 0, 1, 0, 0, 45745), -- Hood of Clouded Sight
(35495, 8, 47678, 0, 0, 1, 0, 0, 45745), -- Headplate of the Honorbound
(35495, 7, 47675, 0, 0, 1, 0, 0, 45745), -- Faceplate of Thunderous Rampage
(35495, 6, 47682, 0, 0, 1, 0, 0, 45745), -- Helm of the Restless Watch
(35495, 5, 47684, 0, 0, 1, 0, 0, 45745), -- Coif of the Brooding Dragon
(35495, 4, 47691, 0, 0, 1, 0, 0, 45745), -- Mask of Abundant Growth
(35495, 3, 47692, 0, 0, 1, 0, 0, 45745), -- Hood of Smoldering Aftermath
(35495, 2, 47658, 0, 0, 1, 0, 0, 45745), -- Brimstone Igniter
(35495, 1, 47556, 0, 0, 1, 0, 0, 45745), -- Crusader Orb
(33963, 113, 41939, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Satin Gloves
(33963, 109, 41873, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Mooncloth Gloves
(33963, 97, 41933, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Satin Mantle
(33963, 93, 41868, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Mooncloth Mantle
(33963, 81, 41914, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Satin Hood
(33963, 77, 41853, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Mooncloth Hood
(33963, 65, 41926, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Satin Leggings
(33963, 61, 41863, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Mooncloth Leggings
(33963, 51, 41920, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Satin Robe
(33963, 50, 41858, 0, 0, 1, 0, 0, 45745), -- Deadly Gladiator's Mooncloth Robe
(33963, 34, 45638, 0, 0, 1, 0, 0, 45745), -- Crown of the Wayward Conqueror
(33963, 31, 45632, 0, 0, 1, 0, 0, 45745), -- Breastplate of the Wayward Conqueror
(33963, 30, 45842, 0, 0, 1, 0, 0, 45745), -- Wyrmguard Legplates
(33963, 29, 45841, 0, 0, 1, 0, 0, 45745), -- Legplates of the Violet Champion
(33963, 28, 45843, 0, 0, 1, 0, 0, 45745), -- Legguards of the Peaceful Covenant
(33963, 27, 45845, 0, 0, 1, 0, 0, 45745), -- Leggings of the Weary Mystic
(33963, 26, 45844, 0, 0, 1, 0, 0, 45745), -- Leggings of the Tireless Sentry
(33963, 25, 45846, 0, 0, 1, 0, 0, 45745), -- Leggings of Wavering Shadow
(33963, 24, 45847, 0, 0, 1, 0, 0, 45745), -- Wildstrider Legguards
(33963, 23, 45848, 0, 0, 1, 0, 0, 45745), -- Legwraps of the Master Conjurer
(33963, 22, 45834, 0, 0, 1, 0, 0, 45745), -- Gauntlets of the Royal Watch
(33963, 21, 45833, 0, 0, 1, 0, 0, 45745), -- Bladebreaker Gauntlets
(33963, 20, 45835, 0, 0, 1, 0, 0, 45745), -- Gauntlets of Serene Blessing
(33963, 19, 45837, 0, 0, 1, 0, 0, 45745), -- Gloves of Augury
(33963, 18, 45836, 0, 0, 1, 0, 0, 45745), -- Gloves of Unerring Aim
(33963, 17, 45838, 0, 0, 1, 0, 0, 45745), -- Gloves of the Blind Stalker
(33963, 16, 45839, 0, 0, 1, 0, 0, 45745), -- Grips of the Secret Grove
(33963, 15, 45840, 0, 0, 1, 0, 0, 45745), -- Touch of the Occult
(33963, 14, 45825, 0, 0, 1, 0, 0, 45745), -- Shieldwarder Girdle
(33963, 13, 45824, 0, 0, 1, 0, 0, 45745), -- Belt of the Singing Blade
(33963, 12, 45826, 0, 0, 1, 0, 0, 45745), -- Girdle of Unyielding Trust
(33963, 11, 45828, 0, 0, 1, 0, 0, 45745), -- Windchill Binding
(33963, 10, 45827, 0, 0, 1, 0, 0, 45745), -- Belt of the Ardent Marksman
(33963, 9, 45829, 0, 0, 1, 0, 0, 45745), -- Belt of the Twilight Assassin
(33963, 8, 45830, 0, 0, 1, 0, 0, 45745), -- Belt of the Living Thicket
(33963, 7, 45831, 0, 0, 1, 0, 0, 45745), -- Sash of Potent Incantations
(33963, 6, 45821, 0, 0, 1, 0, 0, 45745), -- Shard of the Crystal Forest
(33963, 5, 45819, 0, 0, 1, 0, 0, 45745), -- Spiked Battleguard Choker
(33963, 4, 45820, 0, 0, 1, 0, 0, 45745), -- Broach of the Wailing Night
(33963, 3, 45823, 0, 0, 1, 0, 0, 45745), -- Frozen Tear of Elune
(33963, 2, 45822, 0, 0, 1, 0, 0, 45745), -- Evoker's Charm
(33963, 1, 45087, 0, 0, 1, 0, 0, 45745), -- Runed Orb
(31581, 47, 41931, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Satin Mantle
(31581, 46, 41925, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Satin Leggings
(31581, 45, 41913, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Satin Hood
(31581, 44, 41938, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Satin Gloves
(31581, 43, 41919, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Satin Robe
(31581, 42, 41867, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Mooncloth Mantle
(31581, 41, 41862, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Mooncloth Leggings
(31581, 40, 41852, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Mooncloth Hood
(31581, 39, 41872, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Mooncloth Gloves
(31581, 38, 41857, 0, 0, 1, 0, 0, 45745), -- Hateful Gladiator's Mooncloth Robe
(31581, 30, 40634, 0, 0, 1, 0, 0, 45745), -- Legplates of the Lost Conqueror
(31581, 27, 40637, 0, 0, 1, 0, 0, 45745), -- Mantle of the Lost Conqueror
(31581, 26, 40750, 0, 0, 1, 0, 0, 45745), -- Xintor's Expeditionary Boots
(31581, 25, 40747, 0, 0, 1, 0, 0, 45745), -- Treads of Coastal Wandering
(31581, 24, 40751, 0, 0, 1, 0, 0, 45745), -- Slippers of the Holy Light
(31581, 23, 40745, 0, 0, 1, 0, 0, 45745), -- Sabatons of Rapid Recovery
(31581, 22, 40749, 0, 0, 1, 0, 0, 45745), -- Rainey's Chewed Boots
(31581, 21, 40746, 0, 0, 1, 0, 0, 45745), -- Pack-Ice Striders
(31581, 20, 40743, 0, 0, 1, 0, 0, 45745), -- Kyzoc's Ground Stompers
(31581, 19, 40748, 0, 0, 1, 0, 0, 45745), -- Boots of Captain Ellis
(31581, 18, 40742, 0, 0, 1, 0, 0, 45745), -- Bladed Steelboots
(31581, 17, 40735, 0, 0, 1, 0, 0, 45745), -- Zartson's Jungle Vambraces
(31581, 16, 40738, 0, 0, 1, 0, 0, 45745), -- Wristwraps of the Cutthroat
(31581, 15, 40733, 0, 0, 1, 0, 0, 45745), -- Wristbands of the Sentinel Huntress
(31581, 14, 40740, 0, 0, 1, 0, 0, 45745), -- Wraps of the Astral Traveler
(31581, 13, 40737, 0, 0, 1, 0, 0, 45745), -- Pigmented Clan Bindings
(31581, 12, 40741, 0, 0, 1, 0, 0, 45745), -- Cuffs of the Shadow Ascendant
(31581, 11, 40734, 0, 0, 1, 0, 0, 45745), -- Bracers of Dalaran's Parapets
(31581, 10, 40739, 0, 0, 1, 0, 0, 45745), -- Bands of the Great Tree
(31581, 9, 40736, 0, 0, 1, 0, 0, 45745), -- Armguard of the Tower Archer
(31581, 8, 40722, 0, 0, 1, 0, 0, 45745), -- Platinum Mesh Cloak
(31581, 7, 40721, 0, 0, 1, 0, 0, 45745), -- Hammerhead Sharkskin Cloak
(31581, 6, 40723, 0, 0, 1, 0, 0, 45745), -- Disguise of the Kumiho
(31581, 5, 40724, 0, 0, 1, 0, 0, 45745), -- Cloak of Kea Feathers
(31581, 4, 40718, 0, 0, 1, 0, 0, 45745), -- Signet of the Impregnable Fortress
(31581, 3, 40717, 0, 0, 1, 0, 0, 45745), -- Ring of Invincibility
(31581, 2, 40720, 0, 0, 1, 0, 0, 45745), -- Renewal of Life
(31581, 1, 40719, 0, 0, 1, 0, 0, 45745), -- Band of Channeled Magic
(37941, 112, 41935, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Satin Mantle
(37941, 111, 41928, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Satin Leggings
(37941, 110, 41916, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Satin Hood
(37941, 109, 41941, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Satin Gloves
(37941, 108, 41922, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Satin Robe
(37941, 107, 41870, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Mooncloth Mantle
(37941, 106, 41865, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Mooncloth Leggings
(37941, 105, 41855, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Mooncloth Hood
(37941, 104, 41875, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Mooncloth Gloves
(37941, 103, 41860, 0, 0, 1, 0, 0, 45745), -- Relentless Gladiator's Mooncloth Robe
(37941, 37, 49908, 0, 0, 1, 0, 0, 45745), -- Primordial Saronite
(37941, 36, 50997, 0, 0, 1, 0, 0, 45745), -- Circle of Ossus
(37941, 35, 50996, 0, 0, 1, 0, 0, 45745), -- Belt of Omission
(37941, 34, 50995, 0, 0, 1, 0, 0, 45745), -- Vengeful Noose
(37941, 33, 50994, 0, 0, 1, 0, 0, 45745), -- Belt of Petrified Ivy
(37941, 32, 50993, 0, 0, 1, 0, 0, 45745), -- Band of the Night Raven
(37941, 31, 50992, 0, 0, 1, 0, 0, 45745), -- Waistband of Despair
(37941, 30, 50991, 0, 0, 1, 0, 0, 45745), -- Verdigris Chain Belt
(37941, 29, 50989, 0, 0, 1, 0, 0, 45745), -- Lich Killer's Lanyard
(37941, 28, 50987, 0, 0, 1, 0, 0, 45745), -- Malevolent Girdle
(37941, 27, 50984, 0, 0, 1, 0, 0, 45745), -- Gloves of Ambivalence
(37941, 26, 50983, 0, 0, 1, 0, 0, 45745), -- Gloves of False Gestures
(37941, 25, 50982, 0, 0, 1, 0, 0, 45745), -- Cat Burglar's Grips
(37941, 24, 50981, 0, 0, 1, 0, 0, 45745), -- Gloves of the Great Horned Owl
(37941, 23, 50980, 0, 0, 1, 0, 0, 45745), -- Blizzard Keeper's Mitts
(37941, 22, 50979, 0, 0, 1, 0, 0, 45745), -- Logsplitters
(37941, 21, 50978, 0, 0, 1, 0, 0, 45745), -- Gauntlets of the Kraken
(37941, 20, 50977, 0, 0, 1, 0, 0, 45745), -- Gatecrasher's Gauntlets
(37941, 19, 50976, 0, 0, 1, 0, 0, 45745), -- Gauntlets of Overexposure
(37941, 18, 50975, 0, 0, 1, 0, 0, 45745), -- Ermine Coronation Robes
(37941, 17, 50974, 0, 0, 1, 0, 0, 45745), -- Meteor Chaser's Raiment
(37941, 16, 50973, 0, 0, 1, 0, 0, 45745), -- Vestments of Spruce and Fir
(37941, 15, 50972, 0, 0, 1, 0, 0, 45745), -- Shadow Seeker's Tunic
(37941, 14, 50971, 0, 0, 1, 0, 0, 45745), -- Mail of the Geyser
(37941, 13, 50970, 0, 0, 1, 0, 0, 45745), -- Longstrider's Vest
(37941, 12, 50969, 0, 0, 1, 0, 0, 45745), -- Chestplate of Unspoken Truths
(37941, 11, 50968, 0, 0, 1, 0, 0, 45745), -- Cataclysmic Chestguard
(37941, 10, 50965, 0, 0, 1, 0, 0, 45745), -- Castle Breaker's Battleplate
(37941, 9, 50470, 0, 0, 1, 0, 0, 45745), -- Recovered Scarlet Onslaught Cape
(37941, 8, 50469, 0, 0, 1, 0, 0, 45745), -- Volde's Cloak of the Night Sky
(37941, 7, 50468, 0, 0, 1, 0, 0, 45745), -- Drape of the Violet Tower
(37941, 6, 50467, 0, 0, 1, 0, 0, 45745), -- Might of the Ocean Serpent
(37941, 5, 50466, 0, 0, 1, 0, 0, 45745), -- Sentinel's Winter Cloak
(37941, 4, 50358, 0, 0, 1, 0, 0, 45745), -- Purified Lunar Dust
(37941, 3, 50357, 0, 0, 1, 0, 0, 45745), -- Maghia's Misguided Quill
(37941, 2, 50356, 0, 0, 1, 0, 0, 45745), -- Corroded Skeleton Key
(37941, 1, 50355, 0, 0, 1, 0, 0, 45745), -- Herkuml War Token
(31582, 105, 41937, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Satin Gloves
(31582, 104, 41847, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Mooncloth Gloves
(31582, 89, 41930, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Satin Mantle
(31582, 88, 41850, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Mooncloth Mantle
(31582, 73, 41912, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Satin Hood
(31582, 72, 41848, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Mooncloth Hood
(31582, 57, 41924, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Satin Leggings
(31582, 56, 41849, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Mooncloth Leggings
(31582, 43, 41918, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Satin Robe
(31582, 42, 41851, 0, 0, 1, 0, 0, 45745), -- Savage Gladiator's Mooncloth Robe
(31582, 29, 40610, 0, 0, 1, 0, 0, 45745), -- Chestguard of the Lost Conqueror
(31582, 26, 40613, 0, 0, 1, 0, 0, 45745), -- Gloves of the Lost Conqueror
(31582, 25, 40702, 0, 0, 1, 0, 0, 45745), -- Rolfsen's Ripper
(31582, 24, 40704, 0, 0, 1, 0, 0, 45745), -- Pride
(31582, 23, 40703, 0, 0, 1, 0, 0, 45745), -- Grasscutter
(31582, 22, 40700, 0, 0, 1, 0, 0, 45745), -- Protective Barricade of the Light
(31582, 21, 40701, 0, 0, 1, 0, 0, 45745), -- Crygil's Discarded Plate Panel
(31582, 20, 40698, 0, 0, 1, 0, 0, 45745), -- Ward of the Violet Citadel
(31582, 19, 40699, 0, 0, 1, 0, 0, 45745), -- Handbook of Obscure Remedies
(31582, 18, 40689, 0, 0, 1, 0, 0, 45745), -- Waistguard of Living Iron
(31582, 17, 40695, 0, 0, 1, 0, 0, 45745), -- Vine Belt of the Woodland Dryad
(31582, 16, 40692, 0, 0, 1, 0, 0, 45745), -- Vereesa's Silver Chain Belt
(31582, 15, 40688, 0, 0, 1, 0, 0, 45745), -- Verdungo's Barbarian Cord
(31582, 14, 40696, 0, 0, 1, 0, 0, 45745), -- Plush Sash of Guzbah
(31582, 13, 40691, 0, 0, 1, 0, 0, 45745), -- Magroth's Meditative Cincture
(31582, 12, 40694, 0, 0, 1, 0, 0, 45745), -- Jorach's Crocolisk Skin Belt
(31582, 11, 40697, 0, 0, 1, 0, 0, 45745), -- Elegant Temple Gardens' Girdle
(31582, 10, 40693, 0, 0, 1, 0, 0, 45745), -- Beadwork Belt of Shamanic Vision
(31582, 9, 40683, 0, 0, 1, 0, 0, 45745), -- Valor Medal of the First War
(31582, 8, 40685, 0, 0, 1, 0, 0, 45745), -- The Egg of Mortal Essence
(31582, 7, 40682, 0, 0, 1, 0, 0, 45745), -- Sundial of the Exiled
(31582, 6, 40684, 0, 0, 1, 0, 0, 45745), -- Mirror of Truth
(31582, 5, 40678, 0, 0, 1, 0, 0, 45745), -- Pendant of the Outcast Hero
(31582, 4, 40681, 0, 0, 1, 0, 0, 45745), -- Lattice Choker of Light
(31582, 3, 40680, 0, 0, 1, 0, 0, 45745), -- Encircling Burnished Gold Chains
(31582, 2, 40679, 0, 0, 1, 0, 0, 45745), -- Chained Military Gorget
(31582, 1, 43102, 0, 0, 1, 0, 0, 45745); -- Frozen Orb
@@ -0,0 +1,71 @@
-- Phasing
DELETE FROM `phase_area` WHERE `AreaId` = 4737 AND `PhaseId` IN (378, 379, 380, 381, 382, 383, 384);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(4737, 378, 'Kezan - Chapter 1'),
(4737, 379, 'Kezan - Chapter 2'),
(4737, 380, 'Kezan - Chapter 3'),
(4737, 381, 'Kezan - Chapter 4'),
(4737, 382, 'Kezan - Chapter 5'),
(4737, 383, 'Kezan - Chapter 6'),
(4737, 384, 'Kezan - Chapter 7');
-- Condition Phase 378
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` = 378 AND `SourceEntry` = 4737);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 378, 4737, 0, 0, 8, 0, 24520, 0, 0, 1, 'Apply Phase 378 if Quest 24520 is not rewarded'),
(26, 378, 4737, 0, 1, 8, 0, 14070, 0, 0, 1, 'Apply Phase 378 if Quest 14070 is not rewarded'),
(26, 378, 4737, 0, 2, 8, 0, 14109, 0, 0, 1, 'Apply Phase 378 if Quest 14109 is not rewarded');
-- Condition Phase 379
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` = 379 AND `SourceEntry` = 4737);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 379, 4737, 0, 0, 8, 0, 24520, 0, 0, 0, 'Apply Phase 379 if Quest 24520 is rewarded'),
(26, 379, 4737, 0, 0, 8, 0, 14070, 0, 0, 0, 'Apply Phase 379 if Quest 14070 is rewarded'),
(26, 379, 4737, 0, 0, 8, 0, 14109, 0, 0, 0, 'Apply Phase 379 if Quest 14109 is rewarded'),
(26, 379, 4737, 0, 0, 20, 0, 1, 0, 0, 0, 'Apply Phase 379 if Player is Female'),
(26, 379, 4737, 0, 0, 8, 0, 14153, 0, 0, 1, 'Apply Phase 379 if Quest 14153 (Female) is not rewarded'),
(26, 379, 4737, 0, 1, 8, 0, 24520, 0, 0, 0, 'Apply Phase 379 if Quest 24520 is rewarded'),
(26, 379, 4737, 0, 1, 8, 0, 14070, 0, 0, 0, 'Apply Phase 379 if Quest 14070 is rewarded'),
(26, 379, 4737, 0, 1, 8, 0, 14109, 0, 0, 0, 'Apply Phase 379 if Quest 14109 is rewarded'),
(26, 379, 4737, 0, 1, 20, 0, 0, 0, 0, 0, 'Apply Phase 379 if Player is Male'),
(26, 379, 4737, 0, 1, 8, 0, 14113, 0, 0, 1, 'Apply Phase 379 if Quest 14113 (Male) is not rewarded');
-- Condition Phase 380
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` = 380 AND `SourceEntry` = 4737);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 380, 4737, 0, 0, 8, 0, 14153, 0, 0, 0, 'Apply Phase 380 if Quest 14153 (Female) is rewarded'),
(26, 380, 4737, 0, 0, 8, 0, 14115, 0, 0, 1, 'Apply Phase 380 if Quest 14115 not is rewarded'),
(26, 380, 4737, 0, 1, 8, 0, 14113, 0, 0, 0, 'Apply Phase 380 if Quest 14113 (Male) is rewarded'),
(26, 380, 4737, 0, 1, 8, 0, 14115, 0, 0, 1, 'Apply Phase 380 if Quest 14115 is not rewarded');
-- Condition Phase 381
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` = 381 AND `SourceEntry` = 4737);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 381, 4737, 0, 0, 8, 0, 14115, 0, 0, 0, 'Apply Phase 381 if Quest 14115 is rewarded'),
(26, 381, 4737, 0, 0, 8, 0, 14116, 0, 0, 1, 'Apply Phase 381 if Quest 14116 is not rewarded');
-- Condition Phase 382
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` = 382 AND `SourceEntry` = 4737);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 382, 4737, 0, 0, 8, 0, 14116, 0, 0, 0, 'Apply Phase 382 if Quest 14116 is rewarded'),
(26, 382, 4737, 0, 0, 8, 0, 14120, 0, 0, 1, 'Apply Phase 382 if Quest 14120 is not rewarded');
-- Condition Phase 383
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` = 383 AND `SourceEntry` = 4737);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 383, 4737, 0, 0, 8, 0, 14120, 0, 0, 0, 'Apply Phase 382 if Quest 14120 is rewarded'),
(26, 383, 4737, 0, 0, 8, 0, 14123, 0, 0, 1, 'Apply Phase 383 if Quest 14123 is not rewarded'),
(26, 383, 4737, 0, 1, 8, 0, 14120, 0, 0, 0, 'Apply Phase 382 if Quest 14120 is rewarded'),
(26, 383, 4737, 0, 1, 8, 0, 14122, 0, 0, 1, 'Apply Phase 383 if Quest 14122 is not rewarded'),
(26, 383, 4737, 0, 2, 8, 0, 14120, 0, 0, 0, 'Apply Phase 382 if Quest 14120 is rewarded'),
(26, 383, 4737, 0, 2, 8, 0, 14121, 0, 0, 1, 'Apply Phase 383 if Quest 14121 is not rewarded'),
(26, 383, 4737, 0, 3, 8, 0, 14120, 0, 0, 0, 'Apply Phase 382 if Quest 14120 is rewarded'),
(26, 383, 4737, 0, 3, 8, 0, 14124, 0, 0, 1, 'Apply Phase 383 if Quest 14124 is not rewarded');
-- Condition Phase 384
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` = 384 AND `SourceEntry` = 4737);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 384, 4737, 0, 0, 8, 0, 14123, 0, 0, 0, 'Apply Phase 384 if Quest 14123 is rewarded'),
(26, 384, 4737, 0, 0, 8, 0, 14122, 0, 0, 0, 'Apply Phase 384 if Quest 14122 is rewarded'),
(26, 384, 4737, 0, 0, 8, 0, 14121, 0, 0, 0, 'Apply Phase 384 if Quest 14121 is rewarded'),
(26, 384, 4737, 0, 0, 8, 0, 14124, 0, 0, 0, 'Apply Phase 384 if Quest 14124 is rewarded');
@@ -0,0 +1,14 @@
-- Update Creatures in Phase 169 to 378
UPDATE `creature` SET `PhaseId`=378 WHERE `guid` IN (251602,251604,251605,251606,251608,251609,251610,251611,251612,251613,251614,251616,251617,251618,251619,251620,251621,251622,251623,251624,251625,251626,251627,251628,251629,251630,251631,251632,251633,251634,251635,251636,251637,251638,251639,251640,251641,251642,251643,251644,251645,251646,251647,251648,251649,251650,251651,251652,251653,251654,251655,251656,251657,251658,251659,251660,251661,251662,251663,251664,251665,251666,251667,251668,251669,251670,251671,251672,251673,251674,251675,251676,251677,251678,251679,251680,251681,251682,251683,251684,251685,251686,251687,251688,251689,251690,251691,251692,251693,251694,251695,251696,251697,251698,251699,251700,251701,251702,251703,251704,251705,251706,251707,251708,251709,251710,251711,251712,251713,251717,251718,251719,251720,251722,251723,251724,251725,251726,251727,251728,251729,251730,251731,251732,251733,251734,251735,251736,251737,251738,251739,251740,251741,251742,251743,251744,251745,251746,251747,251748,251749,251750,251751,251752,251753,251754,251755,251756,251757,251758,251759,251760,251761,251762,251763,251764,251765,251766,251767,251768,251769,251770,251771,251772,251773,251774,251775,251776,251777,251778,251779,251780,251781,251782,251783,251784,251785,251786,251787,251788,251789,251790,251791,251792,251793,251794,251795,251796,251797,251798,251799,251800,251801,251802,251803,251804,251805,251806,251807,251808,251809,251810,251811,251812,251813,251814,251815,251816,251817,251818,251819,251820,251821,251822,251823,251824,251825,251826,251827,251828,251829,251830,251831,251832,251833,251834,251835,251836,251837,251838,251839,251840,251841,251842,251843,251844,251845,251846,251847,251848,251849,251850,251851,251852,251853,251854,251855,251856,251857,251858,251859,251860,251861,251862,251863,251864,251865,251866,251867,251868,251869,251870,251871,251872,251873,251874,251875,251876,251877,251878,251879,251880,251881,251882,251883,251884,251885,251886,251887,251888,251889,251890,251891,251892,251893,251894,251895,251896,251897,251898,251899,251900,251901,251902,251903,251904,251905,251906,251907,251908,251909,251910,251911,251912,251913,251914,251915,251916,251917,251918,251919,251920,251921,251922,251923,251924,251925,251926,251927,251928,251929,251930,251931,251932,251934,251935,251936,251938,251939,251940,251941,251942,251943,251944,251945,251946,251947,251948,251949,251950,251951,251952,251953,251954,251955,251956,251957,251958,251959,251960,251961,251962,251963,251964,251965,251966,251967,251968,251969,251970,251971,251972,251973,251974,251975,251976,251977,251978,251979,251980,251981,251982,251983,251984,251985,251986,251987,251988,251989,251990,251991,251992,251993,251994,251995,251996,251997,251998,251999,252000,252001,252002,252003,252004,252005,252006,252007,252008,252009,252010,252011,252012,252013,252014,252015,252016,252017,252018,252019,252020,252021,252022,252023,252024,252025,252026,252027,252028,252029,252030,252031,252032,252033,252034,252035,252036,252037,252038,252039,252040,252041,252042,252043,252044,252045,252046,252047,252048,252049,252050,252051,252052,252053,252054,252055,252056,252057,252058,252059,252060,252061,252062,252063,252064,252065,252066,252067,252068,252069,252070,252071,252072,252073,252074,252075,252076,252077,252078,252079,252080,252081,252082,252083,252084,252085,252086,252087,252088,252089,252090,252091,252092,252093,252094,252095,252096,252097,252098,252099,252100,252101,252102,252103,252104,252105,252106,252107,252108,252109,252110,252111,252112,252113,252114,252115,252116,252117,252118,252119,252120,252121,252122,252123,252124,252125,252126,252127,252128,252129,252130,252131,252132,252133,252134,252135,252136,252137,252138,252139,252140,252141,252142,252143,252144,252145,252146,252147,252148,252149,252150,252151,252152,252153,252154,252155,252156,252157,252158,252159,252160,252161,252162,252163,252164,252165,252166,252167,252168,252169,252170,252171,252172,252173,252174,252175,252176,252177,252178,252179,252180,252181,252182,252183,252184,252185,252186,252187,252188,252189,252190,252191,252192,252193,252194,252195,252196,252197,252198,252199,252200,252201,252202,252203,252204,252205,252206,252207,252208,252209,252210,252211,252212,252213,252214,252215,252216,252217,252218,252219,252220,252221,252222,252223,252224,252225,252226,252227,252228,252229,252230,252231,252233,252234,252235,252236,252237,252239);
-- Update GameObject in Phase 169 to 378
UPDATE `gameobject` SET `PhaseId`=378 WHERE `guid` IN (222438,222439,222440,222441,222442,222443,222444,222445,222446,222447,222448,222449,222450,222451,222452,222453,222454,222455,222456,222457,222458,222459,222460,222461,222462,222463,222464,222465,222466,222467,222468,222469,222470,222471,222472,222473,222474,222475,222476,222477,222478,222479,222480,222481,222482,222483,222484,222485,222486,222487,222488,222489,222490,222491,222492,222493,222494,222495,222496,222497,222498,222499,222500,222501,222502,222503,222504,222505,222506,222507,222508,222509,222510,222511,222512,222513,222514,222515,222516,222517,222518,222519,222520,222521,222522,222523,222524,222525,222526,222527,222528,222529,222530,222531,222532,222533,222534,222535,222536,222537,222538,222539,222540,222541,222542,222543,222544,222545,222546,222547,222548,222549,222550,222551,222552,222553,222554,222555,222556,222557,222558,222559,222560,222561,222562,222563,222564,222565,222566,222567,222568,222569,222570,222571,222572,222573,222574,222575,222576,222577,222578,222579,222580,222581,222582,222583,222584,222585,222586,222587,222588,222589,222590,222591,222592,222593,222594,222595,222596,222597,222598,222599,222600,222601,222602,222603,222604,222605,222606,222607,222608,222609,222610,222611,222612,222613,222614,222615,222616,222617,222618,222619,222620,222621,222622,222623,222624,222625,222626);
-- PhaseGroup 574 for Evol Fingers, Fizz Lighters, Maxx Avalanche, Brett "Coins" McQuid, Sally "Salvager" Sandscrew
UPDATE `creature` SET `PhaseId` = 0, `PhaseGroup` = 574 WHERE `guid` IN (251721, 251716, 251603, 251714, 251715);
-- PhaseGroup 572 for Sister Goldskimmer, Meggs Dreadshredder
UPDATE `creature` SET `PhaseId` = 0, `PhaseGroup` = 572 WHERE `guid` IN (251607, 251615);
-- PhaseGroup 570 for Ace, Gobber Izzy
UPDATE `creature` SET `PhaseId` = 0, `PhaseGroup` = 570 WHERE `guid` IN (252681, 252688, 252682);
@@ -0,0 +1,71 @@
-- Delete doubled Trainings Dummy
DELETE FROM `creature` WHERE `guid` = 251604;
DELETE FROM `creature_addon` WHERE `guid` = 251604;
-- add new Stablemaster
SET @CGUID := 251604; -- re-use the GUID
DELETE FROM `creature` WHERE `guid` = @CGUID+0;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(@CGUID+0, 68989, 648, 4737, 4765, '0', 0, 558, 0, 0, -8385.01953125, 1363.217041015625, 102.1136093139648437, 3.004709243774414062, 120, 0, 0, 622, 0, 0, 0, 0, 0, 45338); -- Beastblast Babblesnaff (Area: KTC Headquarters - Difficulty: 0) (Auras: )
DELETE FROM `creature_addon` WHERE `guid` = @CGUID+0;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 1, 69, 0, 0, 0, 0, ''); -- Beastblast Babblesnaff
-- remove wander distance for GUID: 251603 251602 251611
UPDATE `creature` SET `wander_distance`= 0, `MovementType`= 0 WHERE `guid` IN (251603, 251602, 251611);
-- Update Visibility
UPDATE `creature_template_addon` SET `visibilityDistanceType`=3 WHERE `entry`=49132; -- 49132 (Goblin Trike)
-- Template
UPDATE `creature_template` SET `gossip_menu_id`=9821, `minlevel`=20, `maxlevel`=20 WHERE `entry`=68989; -- Beastblast Babblesnaff
-- Update Quest Chain
UPDATE `quest_template_addon` SET `PrevQuestID` = 14138, `ExclusiveGroup` = -14069 WHERE `ID` = 14075; -- Trouble in the Mines
UPDATE `quest_template_addon` SET `PrevQuestID` = 14138, `ExclusiveGroup` = -14069 WHERE `ID` = 14069; -- Good Help is Hard to Find
-- Quest Details/Offer Reward
DELETE FROM `quest_details` WHERE `ID` IN (14070 /*Do it Yourself*/, 24567 /*Report for Tryouts*/);
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(14070, 1, 0, 0, 0, 0, 0, 0, 0, 45338), -- Do it Yourself
(24567, 1, 0, 0, 0, 0, 0, 0, 0, 45338); -- Report for Tryouts
DELETE FROM `quest_offer_reward` WHERE `ID`=28607;
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
(28607, 6, 0, 0, 0, 0, 0, 0, 0, 'You lost your Keys to the Hot Rod somewhere?$B$BNo problem, boss. I always like to keep a spare set handy just in case.', 45338); -- The Keys to the Hot Rod
-- Sally "Salvager" Sandscrew smart ai
SET @ENTRY := 37761;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, 1, 0, 100, 0, 4000, 7000, 4000, 7000, 10, 1, 5, 6, 25, 273, 274, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 4 - 7 seconds (OOC) - Self: Play random emote: 1, 5, 6, 25, 273, 274');
-- Brett "Coins" McQuid smart ai
SET @ENTRY := 37762;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, 1, 0, 100, 0, 4000, 7000, 4000, 7000, 10, 274, 25, 1, 6, 5, 273, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 4 - 7 seconds (OOC) - Self: Play random emote: 274, 25, 1, 6, 5, 273');
-- Waypoints for GUID: 251717
SET @CGUID := 251717;
SET @PATH := @CGUID * 10;
DELETE FROM `waypoint_data` WHERE `id`= @PATH;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`) VALUES
(@PATH, 0, -8424.518, 1329.443, 102.0956, NULL, 0),
(@PATH, 1, -8416.872, 1332.5, 102.375, NULL, 0),
(@PATH, 2, -8408.069, 1333.384, 102.1484, NULL, 0),
(@PATH, 3, -8398.679, 1334.172, 102.1039, NULL, 0),
(@PATH, 4, -8387.957, 1341.425, 102.1039, NULL, 0),
(@PATH, 5, -8398.679, 1334.172, 102.1039, NULL, 0),
(@PATH, 6, -8408.069, 1333.384, 102.1484, NULL, 0),
(@PATH, 7, -8416.872, 1332.5, 102.375, NULL, 0),
(@PATH, 8, -8424.518, 1329.443, 102.0956, NULL, 0),
(@PATH, 9, -8431.024, 1324.602, 101.875, NULL, 0);
UPDATE `creature` SET `position_x`= -8424.518, `position_y`= 1329.443, `position_z`= 102.0956, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID;
INSERT INTO `creature_addon` (`guid`, `path_id`, `bytes2`, `auras`) VALUES
(@CGUID, @PATH, 1, 80264);
@@ -0,0 +1 @@
DELETE FROM `areatrigger_scripts` WHERE `ScriptName`='at_icc_start_blood_quickening';
@@ -0,0 +1,6 @@
UPDATE `trinity_string` SET `content_default`='Map: %u-%s | Difficulty: %u-%s | InstanceID: %u | Expired: %s | Extended: %s | Time remaining: %s',`content_loc1`=NULL,`content_loc2`=NULL,`content_loc3`=NULL,`content_loc4`=NULL,`content_loc5`=NULL,`content_loc6`=NULL,`content_loc7`=NULL,`content_loc8`=NULL WHERE `entry`=5045; -- LANG_COMMAND_LIST_BIND_INFO
UPDATE `trinity_string` SET `content_default`='Failed to unbind (lock in use by map) - Map: %u-%s | Difficulty: %u-%s | InstanceID: %u | Expired: %s | Extended: %s | Time remaining: %s',`content_loc1`=NULL,`content_loc2`=NULL,`content_loc3`=NULL,`content_loc4`=NULL,`content_loc5`=NULL,`content_loc6`=NULL,`content_loc7`=NULL,`content_loc8`=NULL WHERE `entry`=5047; -- LANG_COMMAND_INST_UNBIND_FAILED
UPDATE `trinity_string` SET `content_default`='Unbinding - Map: %u-%s | Difficulty: %u-%s | InstanceID: %u | Expired: %s | Extended: %s | Time remaining: %s',`content_loc1`=NULL,`content_loc2`=NULL,`content_loc3`=NULL,`content_loc4`=NULL,`content_loc5`=NULL,`content_loc6`=NULL,`content_loc7`=NULL,`content_loc8`=NULL WHERE `entry`=5048; -- LANG_COMMAND_INST_UNBIND_UNBINDING
DELETE FROM `trinity_string` WHERE `entry`=5054; -- LANG_COMMAND_INST_STAT_GROUPSBOUND
DELETE FROM `command` WHERE `name`='instance savedata';