DB Updates

This commit is contained in:
hondacrx
2024-01-30 10:51:53 -05:00
parent 445adfd4a2
commit b4ce91f3cd
19 changed files with 1233 additions and 5 deletions
+10 -4
View File
@@ -732,7 +732,10 @@ INSERT INTO `build_info` VALUES
(51187,10,1,7,NULL,NULL,'74E2055D3965269447B5CB1B31FC71C6',NULL,NULL,NULL),
(51237,10,1,7,NULL,NULL,'C8660A21B766646FBD67F481CFCF55C3',NULL,NULL,NULL),
(51261,10,1,7,NULL,NULL,'1BEBB57AE450331E9F8C301AA7876FAB',NULL,NULL,NULL),
(51313,10,1,7,NULL,NULL,'35419ED0AB16735CF720858F45DC300C',NULL,NULL,NULL);
(51313,10,1,7,NULL,NULL,'35419ED0AB16735CF720858F45DC300C',NULL,NULL,NULL),
(51421,10,1,7,NULL,NULL,'45E24D6F3335269787DF2B2063939002',NULL,NULL,NULL),
(51485,10,1,7,NULL,NULL,'EC549E1D0A5DD85C03E7A9D93B7DC6D1',NULL,NULL,NULL),
(51536,10,1,7,NULL,NULL,'570EEA10A8EC169C3FF9621D1B635BB4',NULL,NULL,NULL);
/*!40000 ALTER TABLE `build_info` ENABLE KEYS */;
UNLOCK TABLES;
@@ -2340,7 +2343,7 @@ CREATE TABLE `realmlist` (
`timezone` tinyint unsigned NOT NULL DEFAULT '0',
`allowedSecurityLevel` tinyint unsigned NOT NULL DEFAULT '0',
`population` float unsigned NOT NULL DEFAULT '0',
`gamebuild` int unsigned NOT NULL DEFAULT '51313',
`gamebuild` int unsigned NOT NULL DEFAULT '51536',
`Region` tinyint unsigned NOT NULL DEFAULT '1',
`Battlegroup` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
@@ -2355,7 +2358,7 @@ CREATE TABLE `realmlist` (
LOCK TABLES `realmlist` WRITE;
/*!40000 ALTER TABLE `realmlist` DISABLE KEYS */;
INSERT INTO `realmlist` VALUES
(1,'Trinity','127.0.0.1','127.0.0.1','255.255.255.0',8085,0,0,1,0,0,51313,1,1);
(1,'Trinity','127.0.0.1','127.0.0.1','255.255.255.0',8085,0,0,1,0,0,51536,1,1);
/*!40000 ALTER TABLE `realmlist` ENABLE KEYS */;
UNLOCK TABLES;
@@ -2734,7 +2737,10 @@ INSERT INTO `updates` VALUES
('2023_08_31_00_auth.sql','3A2242F0755CCC7658F458847B12E308FE75A314','RELEASED','2023-08-31 19:06:27',0),
('2023_09_07_00_auth.sql','9127F7B6723477DE25886D451FE174ABF2039B94','RELEASED','2023-09-07 00:30:01',0),
('2023_09_08_00_auth.sql','AA4E52CC2344F503151C88284807E8B7319B7C69','RELEASED','2023-09-08 21:46:01',0),
('2023_09_13_00_auth.sql','49C44AE960C71C71DC9966D10D8DAA127976D22B','RELEASED','2023-09-13 00:30:28',0);
('2023_09_13_00_auth.sql','49C44AE960C71C71DC9966D10D8DAA127976D22B','RELEASED','2023-09-13 00:30:28',0),
('2023_09_20_00_auth.sql','6B3EAEB21A617564907EE843FC43272F0C020760','RELEASED','2023-09-20 04:49:35',0),
('2023_09_23_00_auth.sql','B6250AE892CF5988FD4EB08EC35DE25096B52115','RELEASED','2023-09-23 01:57:24',0),
('2023_09_28_00_auth.sql','E69955264CD347921DDD1B52BC31E8C39EC41B21','RELEASED','2023-09-28 05:36:07',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;
+4 -1
View File
@@ -1693,6 +1693,8 @@ CREATE TABLE `character_stats` (
`rangedAttackPower` int unsigned NOT NULL DEFAULT '0',
`spellPower` int unsigned NOT NULL DEFAULT '0',
`resilience` int unsigned NOT NULL DEFAULT '0',
`mastery` float NOT NULL DEFAULT '0',
`versatility` int NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -3711,7 +3713,8 @@ INSERT INTO `updates` VALUES
('2023_05_19_00_characters.sql','5E0C9338554BAA481566EDFF3FE2FCEFF1B67DA9','ARCHIVED','2023-05-19 18:40:42',0),
('2023_07_14_00_characters.sql','BB44A95A9C4B0C16878A5316AC38E702A8AACDE2','ARCHIVED','2023-07-14 08:24:44',0),
('2023_08_26_00_characters.sql','FA50838609AB5E645FB2DCAC970BD5706F9EFAAF','RELEASED','2023-08-26 12:18:22',0),
('2023_09_14_00_characters.sql','DAC56929C724C2971A4476400F2439CBDFAF3C5C','RELEASED','2023-09-13 22:20:22',0);
('2023_09_14_00_characters.sql','DAC56929C724C2971A4476400F2439CBDFAF3C5C','RELEASED','2023-09-13 22:20:22',0),
('2023_09_30_00_characters.sql','4326C642870633873F163085D278DB9B7449D9C3','RELEASED','2023-09-30 16:34:19',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=51421;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(51421,10,1,7,NULL,NULL,'45E24D6F3335269787DF2B2063939002',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=51421 WHERE `gamebuild`=51313;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '51421';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=51485;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(51485,10,1,7,NULL,NULL,'EC549E1D0A5DD85C03E7A9D93B7DC6D1',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=51485 WHERE `gamebuild`=51421;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '51485';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=51536;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(51536,10,1,7,NULL,NULL,'570EEA10A8EC169C3FF9621D1B635BB4',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=51536 WHERE `gamebuild`=51485;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '51536';
@@ -0,0 +1,3 @@
ALTER TABLE `character_stats`
ADD `mastery` float NOT NULL DEFAULT '0' AFTER `resilience`,
ADD `versatility` int NOT NULL DEFAULT '0' AFTER `mastery`;
@@ -0,0 +1,105 @@
SET @CGUID := 9004027;
SET @NPCTEXTID := 590106;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1;
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`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 211031, 2444, 13862, 14489, '0', 21991, 0, 0, 1, 91.65625, -934.2100830078125, 837.3204345703125, 5.072644233703613281, 120, 0, 0, 135503, 3155, 0, NULL, NULL, NULL, NULL, 51237), -- Archdruid Hamuul Runetotem (Area: The Seat of the Aspects - Difficulty: 0) CreateObject1
(@CGUID+1, 205067, 2444, 13862, 13862, '0', 21015, 0, 0, 1, 136.9461822509765625, -928.84722900390625, 836.69000244140625, 2.534599065780639648, 120, 0, 0, 1129190, 3155, 0, NULL, NULL, NULL, NULL, 51313); -- Shandris Feathermoon (Area: Valdrakken - Difficulty: 0) CreateObject1
-- Creature Template
UPDATE `creature_template` SET `faction`=35, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=33536, `unit_flags2`=2048 WHERE `entry`=211031; -- Archdruid Hamuul Runetotem
UPDATE `creature_template` SET `faction`=35, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=33536, `unit_flags2`=18432 WHERE `entry`=205067; -- Shandris Feathermoon
-- Creature Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (211031, 205067);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(211031, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 211031 (Archdruid Hamuul Runetotem)
(205067, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- 205067 (Shandris Feathermoon)
-- Creature equipment
DELETE FROM `creature_equip_template` WHERE `CreatureID` IN (211031, 205067);
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(211031, 1, 63052, 0, 0, 0, 0, 0, 0, 0, 0, 51237), -- Archdruid Hamuul Runetotem
(205067, 1, 45078, 0, 0, 0, 0, 0, 208025, 0, 0, 51313); -- Shandris Feathermoon
-- Quest stuff
DELETE FROM `quest_details` WHERE `ID` IN (77423 /*Surging Dreams*/, 75918 /*Fire Season*/);
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(77423, 0, 0, 0, 0, 0, 0, 0, 0, 51313), -- Surging Dreams
(75918, 0, 0, 0, 0, 0, 0, 0, 0, 51313); -- Fire Season
DELETE FROM `creature_queststarter` WHERE (`id`=211031 AND `quest`=77423) OR (`id`=205067 AND `quest`=75918);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(211031, 77423, 51313), -- Surging Dreams offered Archdruid Hamuul Runetotem
(205067, 75918, 51313); -- Fire Season offered Shandris Feathermoon
-- Difficulty and modelstuff
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=0 AND `Entry` IN (207148,211031,207696,139073,206864,88807,205067,207098));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`, `VerifiedBuild`) VALUES
(207148, 0, 0, 0, 81, 9, 1, 1, 236371, 1073741840, 6, 51313), -- Idol
(211031, 0, 0, 0, 2708, 9, 1, 1, 260380, 0, 16384, 51313), -- Archdruid Hamuul Runetotem
(207696, 0, 0, 0, 81, 9, 1, 1, 236929, 0, 0, 51313), -- Bobby Carlisle
(139073, 0, 0, 0, 371, 9, 1, 1, 145850, 0, 0, 51313), -- Poda
(206864, 0, 0, 0, 2669, 9, 1, 1, 236087, 0, 0, 51313), -- Preservationist Kathos
(88807, 0, 0, 0, 371, 9, 1, 1, 88091, 0, 0, 51313), -- Argi
(205067, 0, 0, 0, 2154, 9, 10, 1, 234208, 0, 32768, 51313), -- Shandris Feathermoon
(207098, 0, 0, 0, 2688, 9, 1, 1, 236321, 1610612752, 6, 51313); -- [DNT] Hook Stalker
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=51313 WHERE (`DifficultyID`=0 AND `Entry` IN (58542,189168,188869,192814,199605,199261,195106,198742,185562,197182,196499,188747,197533,188825,189543,185553,188706,174170,197710,199530,199528,184170,189591,188661,143622,188219,199527,197912,197781,193495,142666,199526,188223,196191,197244,189632,189285,142668,188293,198580,187788,186794,189500,201492,189869,188210,188694,189489,188227,197986,188670,187678,202656,188823,187676,197711,187669,185714,193321,185556,199220,189827,184168,188824,107222,32639,62822,121541,32638,62821,189895));
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2078, `VerifiedBuild`=51313 WHERE (`Entry`=205409 AND `DifficultyID`=0); -- Merithra
UPDATE `creature_template_difficulty` SET `ContentTuningID`=864, `VerifiedBuild`=51313 WHERE (`DifficultyID`=0 AND `Entry` IN (199705,200208)); -- Trading Post Barker
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2649, `VerifiedBuild`=51313 WHERE (`Entry`=201401 AND `DifficultyID`=0); -- Hadexian
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2650, `VerifiedBuild`=51313 WHERE (`Entry`=204287 AND `DifficultyID`=0); -- Ebyssian
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (113192, 110932, 110828, 113531, 112578, 110827, 113479, 112292, 112587, 111428, 110999, 111007);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(113192, 0.300000011920928955, 1, 0, 51313),
(110932, 0.722000002861022949, 2, 0, 51313),
(110828, 0.382999986410140991, 1.5, 0, 51313),
(113531, 0.305999994277954101, 1.5, 0, 51313),
(112578, 2, 18, 0, 51313),
(110827, 0.305999994277954101, 1.5, 0, 51313),
(113479, 0.208000004291534423, 1.5, 0, 51313),
(112292, 0.367200016975402832, 1.80000007152557373, 0, 51313),
(112587, 1.5, 13.5, 0, 51313),
(111428, 19.52296829223632812, 16, 0, 51313),
(110999, 0.347000002861022949, 1.5, 0, 51313),
(111007, 1, 1.5, 0, 51313);
-- Phasing
DELETE FROM `phase_name` WHERE `ID` IN (21991, 21015);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(21991, 'Cosmetic - See Hamuul Runetotem in Valdrakken'),
(21015, 'Cosmetic - See Shandris Feathermoon in Valdrakken');
DELETE FROM `phase_area` WHERE `PhaseId` IN (21991, 21015) AND `AreaId` = 13862;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(13862, 21991, 'Cosmetic - See Hamuul Runetotem in Valdrakken'),
(13862, 21015, 'Cosmetic - See Shandris Feathermoon in Valdrakken');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 21991 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 21991, 0, 0, 0, 47, 0, 77423, 2|8|64, 0, 1, 'Apply Phase 21991 if Quest 77423 is not complete | in progress | rewarded');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 21015 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 21015, 0, 0, 0, 47, 0, 75918, 2|8|64, 0, 1, 'Apply Phase 21015 if Quest 75918 is not complete | in progress | rewarded');
-- Gossip data
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=205067 AND `MenuID`=32781);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(205067, 32781, 51313); -- Shandris Feathermoon
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+0;
INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES
(@NPCTEXTID+0, 1, 0, 0, 0, 0, 0, 0, 0, 249709, 0, 0, 0, 0, 0, 0, 0, 51313); -- 205067 (Shandris Feathermoon)
DELETE FROM `gossip_menu` WHERE (`MenuID`=32781 AND `TextID`=@NPCTEXTID+0);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(32781, @NPCTEXTID+0, 51313); -- 205067 (Shandris Feathermoon)
DELETE FROM `gossip_menu_option` WHERE (`MenuID`=32781 AND `OptionID`=0);
INSERT INTO `gossip_menu_option` (`GossipOptionID`, `MenuID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextId`, `Language`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `Flags`, `OverrideIconID`, `GossipNpcOptionID`, `VerifiedBuild`) VALUES
(114061, 32781, 0, 0, '|cFF0000FF(Play Movie)|r What have you heard from Lunedane?', 0, 0, 0, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 51313);
@@ -0,0 +1,88 @@
SET @CGUID := 5000076;
-- Creatures
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+11;
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`, `VerifiedBuild`) VALUES
(@CGUID+0, 78573, 1265, 7025, 7041, '0', 3236, 0, 0, 0, 3990.776123046875, -2553.923583984375, 66.09201812744140625, 6.062974929809570312, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Korag (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+1, 78573, 1265, 7025, 7041, '0', 3237, 0, 0, 0, 3990.776123046875, -2553.923583984375, 66.09201812744140625, 6.062974929809570312, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Korag (Area: Heartblood - Difficulty: 0) CreateObject1 (Auras: 122263 - Permanent Feign Death)
(@CGUID+2, 78507, 1265, 7025, 7041, '0', 0, 0, 0, 1, 3944.12939453125, -2506.163330078125, 69.37920379638671875, 6.10106658935546875, 120, 0, 0, 3200, 0, 0, NULL, NULL, 50791), -- Bleeding Hollow Savage (Area: Heartblood - Difficulty: 0) CreateObject1 (Auras: 29266 - Permanent Feign Death)
(@CGUID+3, 78507, 1265, 7025, 7041, '0', 0, 0, 0, 1, 3933.8681640625, -2515.333251953125, 69.83924102783203125, 3.359530925750732421, 120, 0, 0, 3200, 0, 0, NULL, NULL, 50791), -- Bleeding Hollow Savage (Area: Heartblood - Difficulty: 0) CreateObject1 (Auras: 29266 - Permanent Feign Death)
(@CGUID+4, 78507, 1265, 7025, 7041, '0', 0, 0, 0, 1, 3952.9619140625, -2499.98095703125, 69.73077392578125, 3.981081247329711914, 120, 0, 0, 3200, 0, 0, NULL, NULL, 50791), -- Bleeding Hollow Savage (Area: Heartblood - Difficulty: 0) CreateObject1 (Auras: 29266 - Permanent Feign Death)
(@CGUID+5, 78507, 1265, 7025, 7041, '0', 0, 0, 0, 1, 3933.9619140625, -2521.460205078125, 69.73077392578125, 0.722415447235107421, 120, 0, 0, 3200, 0, 0, NULL, NULL, 50791), -- Bleeding Hollow Savage (Area: Heartblood - Difficulty: 0) CreateObject1 (Auras: 29266 - Permanent Feign Death)
(@CGUID+6, 78507, 1265, 7025, 7041, '0', 0, 0, 0, 1, 3932.192626953125, -2511.2587890625, 69.83924102783203125, 4.906171321868896484, 120, 0, 0, 3200, 0, 0, NULL, NULL, 50791), -- Bleeding Hollow Savage (Area: Heartblood - Difficulty: 0) CreateObject1 (Auras: 29266 - Permanent Feign Death)
(@CGUID+7, 78507, 1265, 7025, 7041, '0', 0, 0, 0, 1, 3941.690185546875, -2512.7275390625, 69.37921142578125, 1.244288563728332519, 120, 0, 0, 3200, 0, 0, NULL, NULL, 50791), -- Bleeding Hollow Savage (Area: Heartblood - Difficulty: 0) CreateObject1 (Auras: 29266 - Permanent Feign Death)
(@CGUID+8, 78507, 1265, 7025, 7041, '0', 0, 0, 0, 1, 3928.200439453125, -2509.104248046875, 70.30466461181640625, 5.481092453002929687, 120, 0, 0, 3200, 0, 0, NULL, NULL, 50791), -- Bleeding Hollow Savage (Area: Heartblood - Difficulty: 0) CreateObject1 (Auras: 29266 - Permanent Feign Death)
(@CGUID+9, 78507, 1265, 7025, 7041, '0', 0, 0, 0, 1, 3959.943603515625, -2523.475830078125, 69.75146484375, 6.165135860443115234, 120, 0, 0, 3200, 0, 0, NULL, NULL, 50791), -- Bleeding Hollow Savage (Area: Heartblood - Difficulty: 0) CreateObject1 (Auras: 29266 - Permanent Feign Death)
(@CGUID+10, 81762, 1265, 7025, 7041, '0', 3623, 0, 0, 0, 3990.822998046875, -2553.802001953125, 66.079864501953125, 0.087815076112747192, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Taag (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+11, 81762, 1265, 7025, 7041, '0', 3624, 0, 0, 0, 3990.8212890625, -2553.802001953125, 66.079864501953125, 0.087815076112747192, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791); -- Taag (Area: Heartblood - Difficulty: 0) CreateObject1 (Auras: 122263 - Permanent Feign Death)
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+11;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Korag
(@CGUID+1, 0, 0, 0, 0, 4, 1, 0, 0, 7600, 0, 0, 0, '122263'), -- Korag - 122263 - Permanent Feign Death
(@CGUID+2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '29266'), -- Bleeding Hollow Savage - 29266 - Permanent Feign Death
(@CGUID+3, 0, 0, 0, 0, 0, 1, 0, 0, 6415, 0, 0, 0, '29266'), -- Bleeding Hollow Savage - 29266 - Permanent Feign Death
(@CGUID+4, 0, 0, 0, 0, 0, 1, 0, 0, 6412, 0, 0, 0, '29266'), -- Bleeding Hollow Savage - 29266 - Permanent Feign Death
(@CGUID+5, 0, 0, 0, 0, 0, 1, 0, 0, 6412, 0, 0, 0, '29266'), -- Bleeding Hollow Savage - 29266 - Permanent Feign Death
(@CGUID+6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '29266'), -- Bleeding Hollow Savage - 29266 - Permanent Feign Death
(@CGUID+7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '29266'), -- Bleeding Hollow Savage - 29266 - Permanent Feign Death
(@CGUID+8, 0, 0, 0, 0, 0, 1, 0, 0, 6414, 0, 0, 0, '29266'), -- Bleeding Hollow Savage - 29266 - Permanent Feign Death
(@CGUID+9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '29266'), -- Bleeding Hollow Savage - 29266 - Permanent Feign Death
(@CGUID+10, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Taag
(@CGUID+11, 0, 0, 0, 0, 4, 1, 0, 0, 7600, 0, 0, 0, '122263'); -- Taag - 122263 - Permanent Feign Death
-- Spell
DELETE FROM `spell_script_names` WHERE `spell_id`=122263 AND `ScriptName`='spell_gen_feign_death_all_flags';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(122263, 'spell_gen_feign_death_all_flags');
-- Phase
DELETE FROM `phase_name` WHERE `ID` IN (3623, 3624);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(3623, 'Cosmetic - Dying Slave is Alive (A)'),
(3624, 'Cosmetic - Dying Slave is Dead (A)');
DELETE FROM `phase_area` WHERE `AreaId` IN (7039, 7041) AND `PhaseId` IN (3236, 3237, 3623, 3624);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(7041, 3236, 'See dying slave alive (H)'),
(7041, 3237, 'See dying slave dead (H)'),
(7041, 3623, 'See dying slave alive (A)'),
(7041, 3624, 'See dying slave dead (A)'),
(7039, 3236, 'See dying slave alive (H)'),
(7039, 3237, 'See dying slave dead (H)'),
(7039, 3623, 'See dying slave alive (A)'),
(7039, 3624, 'See dying slave dead (A)');
-- Conditions
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3236 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3236, 0, 0, 0, 47, 0, 34421, 2 | 8 | 64, 0, 1, 'Apply Phase 3236 if Quest 34421 is not complete | in progress | rewarded'),
(26, 3236, 0, 0, 0, 6, 0, 67, 0, 0, 0, 'Apply phase 3236 if Team Horde');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3237 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3237, 0, 0, 0, 47, 0, 34421, 2 | 8 | 64, 0, 0, 'Apply Phase 3237 if Quest 34421 is complete | in progress | rewarded');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3623 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3623, 0, 0, 0, 47, 0, 35240, 2 | 8 | 64, 0, 1, 'Apply Phase 3623 if Quest 35240 is not complete | in progress | rewarded'),
(26, 3623, 0, 0, 0, 6, 0, 469, 0, 0, 0, 'Apply phase 3623 if Team Alliance');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3624 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3624, 0, 0, 0, 47, 0, 35240, 2 | 8 | 64, 0, 0, 'Apply Phase 3624 if Quest 35240 is complete | in progress | rewarded');
-- Quest
UPDATE `quest_poi` SET `VerifiedBuild`=50791 WHERE (`QuestID`=34421 AND `BlobIndex`=0 AND `Idx1`=5) OR (`QuestID`=34421 AND `BlobIndex`=0 AND `Idx1`=4) OR (`QuestID`=34421 AND `BlobIndex`=0 AND `Idx1`=3) OR (`QuestID`=34421 AND `BlobIndex`=2 AND `Idx1`=2) OR (`QuestID`=34421 AND `BlobIndex`=1 AND `Idx1`=1) OR (`QuestID`=34421 AND `BlobIndex`=0 AND `Idx1`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=50791 WHERE (`QuestID`=34421 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=34421 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=34421 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=34421 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=34421 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=34421 AND `Idx1`=0 AND `Idx2`=0);
UPDATE `quest_poi` SET `VerifiedBuild`=50791 WHERE (`QuestID`=35240 AND `BlobIndex`=0 AND `Idx1`=5) OR (`QuestID`=35240 AND `BlobIndex`=0 AND `Idx1`=4) OR (`QuestID`=35240 AND `BlobIndex`=0 AND `Idx1`=3) OR (`QuestID`=35240 AND `BlobIndex`=2 AND `Idx1`=2) OR (`QuestID`=35240 AND `BlobIndex`=1 AND `Idx1`=1) OR (`QuestID`=35240 AND `BlobIndex`=0 AND `Idx1`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=50791 WHERE (`QuestID`=35240 AND `Idx1`=5 AND `Idx2`=0) OR (`QuestID`=35240 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=35240 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=35240 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=35240 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=35240 AND `Idx1`=0 AND `Idx2`=0);
UPDATE `quest_details` SET `VerifiedBuild`=50791 WHERE `ID`=35240;
DELETE FROM `quest_template_addon` WHERE `ID`=34421;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(34421, 0, 0, 0, 34420, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
UPDATE `creature_queststarter` SET `VerifiedBuild`=50791 WHERE (`id`=78573 AND `quest`=34421);
UPDATE `creature_queststarter` SET `VerifiedBuild`=50791 WHERE (`id`=81762 AND `quest`=35240);
@@ -0,0 +1,45 @@
SET @CGUID := 5000088;
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1;
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`, `VerifiedBuild`) VALUES
(@CGUID+0, 81763, 1265, 7025, 7041, '0', 3627, 0, 0, 0, 3991.33154296875, -2552.413330078125, 66.01389312744140625, 4.519192695617675781, 120, 0, 0, 4000, 0, 0, 0, 0, 50791), -- Rephuura (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+1, 81761, 1265, 7025, 7041, '0', 3626, 0, 0, 0, 3991.5087890625, -2552.361083984375, 66.00347900390625, 4.376849651336669921, 120, 0, 0, 4000, 0, 0, 0, 0, 50791); -- Ashka (Area: Heartblood - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Rephuura
(@CGUID+1, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Ashka
-- Phases
DELETE FROM `phase_name` WHERE `ID` IN (3627, 3626);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(3626, 'Cosmetic - Ashka (H)'),
(3627, 'Cosmetic - Rephuura (A)');
DELETE FROM `phase_area` WHERE `AreaId` IN (7041, 7039) AND `PhaseId` IN (3626, 3627);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(7041, 3626, 'See Ashka at Heartblood (Only Horde)'),
(7041, 3627, 'See Rephuura at Heartblood (Only Alliance)'),
(7039, 3626, 'See Ashka at Heartblood (Only Horde)'),
(7039, 3627, 'See Rephuura at Heartblood (Only Alliance)');
-- Conditions
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3626 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3626, 0, 0, 0, 6, 0, 67, 0, 0, 0, 'Apply phase 3626 if Team Horde');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3627 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3627, 0, 0, 0, 6, 0, 469, 0, 0, 0, 'Apply phase 3627 if Team Alliance');
-- Quest
UPDATE `quest_details` SET `VerifiedBuild`=50791 WHERE `ID` IN (35242, 35241);
UPDATE `creature_queststarter` SET `VerifiedBuild`=50791 WHERE (`id`=81763 AND `quest`=35242) OR (`id`=81761 AND `quest`=35241);
UPDATE `quest_poi` SET `VerifiedBuild`=50791 WHERE (`QuestID`=35242 AND `BlobIndex`=0 AND `Idx1`=4) OR (`QuestID`=35242 AND `BlobIndex`=0 AND `Idx1`=3) OR (`QuestID`=35242 AND `BlobIndex`=2 AND `Idx1`=2) OR (`QuestID`=35242 AND `BlobIndex`=1 AND `Idx1`=1) OR (`QuestID`=35242 AND `BlobIndex`=0 AND `Idx1`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=50791 WHERE (`QuestID`=35242 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=35242 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=35242 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=35242 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=35242 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=35242 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=35242 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=35242 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=35242 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=35242 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=35242 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=35242 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=35242 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=35242 AND `Idx1`=0 AND `Idx2`=0);
UPDATE `quest_poi` SET `VerifiedBuild`=51130 WHERE (`QuestID`=35241 AND `BlobIndex`=0 AND `Idx1`=4) OR (`QuestID`=35241 AND `BlobIndex`=0 AND `Idx1`=3) OR (`QuestID`=35241 AND `BlobIndex`=2 AND `Idx1`=2) OR (`QuestID`=35241 AND `BlobIndex`=1 AND `Idx1`=1) OR (`QuestID`=35241 AND `BlobIndex`=0 AND `Idx1`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=51130 WHERE (`QuestID`=35241 AND `Idx1`=4 AND `Idx2`=0) OR (`QuestID`=35241 AND `Idx1`=3 AND `Idx2`=9) OR (`QuestID`=35241 AND `Idx1`=3 AND `Idx2`=8) OR (`QuestID`=35241 AND `Idx1`=3 AND `Idx2`=7) OR (`QuestID`=35241 AND `Idx1`=3 AND `Idx2`=6) OR (`QuestID`=35241 AND `Idx1`=3 AND `Idx2`=5) OR (`QuestID`=35241 AND `Idx1`=3 AND `Idx2`=4) OR (`QuestID`=35241 AND `Idx1`=3 AND `Idx2`=3) OR (`QuestID`=35241 AND `Idx1`=3 AND `Idx2`=2) OR (`QuestID`=35241 AND `Idx1`=3 AND `Idx2`=1) OR (`QuestID`=35241 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=35241 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=35241 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=35241 AND `Idx1`=0 AND `Idx2`=0);
DELETE FROM `quest_template_addon` WHERE `ID` IN (35241, 35242);
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(35241, 0, 0, 0, 34420, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''),
(35242, 0, 0, 0, 34420, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '');
@@ -0,0 +1,32 @@
SET @CGUID := 5000090;
DELETE FROM `creature` WHERE `guid` = @CGUID+0;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `VerifiedBuild`) VALUES
(@CGUID+0, 82270, 0, 4, 6963, '0', 3971, 0, 1190, 0, 1, -11273.220703125, -3632.451416015625, 9.469362258911132812, 1.459806442260742187, 120, 0, 0, 800000, 1283, 0, NULL, NULL, 50791); -- Vindicator Maraad (Area: The Shattered Front - Difficulty: 0) CreateObject1
DELETE FROM `creature_template_addon` WHERE `entry` = 82270;
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(82270, 0, 0, 0, 0, 0, 1, 0, 483, 0, 0, 0, 0, ''); -- Vindicator Maraad
UPDATE `creature_queststarter` SET `VerifiedBuild`=50791 WHERE (`id`=82270 AND `quest` IN (36307,35463,35462,35460));
UPDATE `creature_questender` SET `VerifiedBuild`=50791 WHERE (`id`=82270 AND `quest` IN (35463,35460,35462));
UPDATE `quest_poi` SET `VerifiedBuild`=50791 WHERE (`QuestID`=36307 AND `BlobIndex`=1 AND `Idx1`=2) OR (`QuestID`=36307 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=36307 AND `BlobIndex`=0 AND `Idx1`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=50791 WHERE (`QuestID`=36307 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=36307 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=36307 AND `Idx1`=0 AND `Idx2`=0);
UPDATE `quest_details` SET `VerifiedBuild`=50791 WHERE `ID` = 36307;
DELETE FROM `quest_template` WHERE `ID`=37677;
INSERT INTO `quest_template` (`ID`, `QuestType`, `QuestPackageID`, `ContentTuningID`, `QuestSortID`, `QuestInfoID`, `SuggestedGroupNum`, `RewardNextQuest`, `RewardXPDifficulty`, `RewardXPMultiplier`, `RewardMoneyDifficulty`, `RewardMoneyMultiplier`, `RewardBonusMoney`, `RewardDisplaySpell1`, `RewardDisplaySpell2`, `RewardDisplaySpell3`, `RewardSpell`, `RewardHonor`, `RewardKillHonor`, `StartItem`, `RewardArtifactXPDifficulty`, `RewardArtifactXPMultiplier`, `RewardArtifactCategoryID`, `Flags`, `FlagsEx`, `FlagsEx2`, `RewardItem1`, `RewardAmount1`, `RewardItem2`, `RewardAmount2`, `RewardItem3`, `RewardAmount3`, `RewardItem4`, `RewardAmount4`, `ItemDrop1`, `ItemDropQuantity1`, `ItemDrop2`, `ItemDropQuantity2`, `ItemDrop3`, `ItemDropQuantity3`, `ItemDrop4`, `ItemDropQuantity4`, `RewardChoiceItemID1`, `RewardChoiceItemQuantity1`, `RewardChoiceItemDisplayID1`, `RewardChoiceItemID2`, `RewardChoiceItemQuantity2`, `RewardChoiceItemDisplayID2`, `RewardChoiceItemID3`, `RewardChoiceItemQuantity3`, `RewardChoiceItemDisplayID3`, `RewardChoiceItemID4`, `RewardChoiceItemQuantity4`, `RewardChoiceItemDisplayID4`, `RewardChoiceItemID5`, `RewardChoiceItemQuantity5`, `RewardChoiceItemDisplayID5`, `RewardChoiceItemID6`, `RewardChoiceItemQuantity6`, `RewardChoiceItemDisplayID6`, `POIContinent`, `POIx`, `POIy`, `POIPriority`, `RewardTitle`, `RewardArenaPoints`, `RewardSkillLineID`, `RewardNumSkillUps`, `PortraitGiver`, `PortraitGiverMount`, `PortraitGiverModelSceneID`, `PortraitTurnIn`, `RewardFactionID1`, `RewardFactionValue1`, `RewardFactionOverride1`, `RewardFactionCapIn1`, `RewardFactionID2`, `RewardFactionValue2`, `RewardFactionOverride2`, `RewardFactionCapIn2`, `RewardFactionID3`, `RewardFactionValue3`, `RewardFactionOverride3`, `RewardFactionCapIn3`, `RewardFactionID4`, `RewardFactionValue4`, `RewardFactionOverride4`, `RewardFactionCapIn4`, `RewardFactionID5`, `RewardFactionValue5`, `RewardFactionOverride5`, `RewardFactionCapIn5`, `RewardFactionFlags`, `RewardCurrencyID1`, `RewardCurrencyQty1`, `RewardCurrencyID2`, `RewardCurrencyQty2`, `RewardCurrencyID3`, `RewardCurrencyQty3`, `RewardCurrencyID4`, `RewardCurrencyQty4`, `AcceptedSoundKitID`, `CompleteSoundKitID`, `AreaGroupID`, `TimeAllowed`, `AllowableRaces`, `TreasurePickerID`, `Expansion`, `ManagedWorldStateID`, `QuestSessionBonus`, `LogTitle`, `LogDescription`, `QuestDescription`, `AreaDescription`, `PortraitGiverText`, `PortraitGiverName`, `PortraitTurnInText`, `PortraitTurnInName`, `QuestCompletionLog`, `VerifiedBuild`) VALUES
(37677, 2, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, (0x00000400), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Blasted Land 6.0:JP3 - Invasion - Tracking Quest - See Maraad', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3971 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3971, 0, 0, 0, 47, 0, 37677, 64, 0, 1, 'Apply Phase 3971 if Quest 37677 is not rewarded');
DELETE FROM `phase_name` WHERE `ID`=3971;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(3971, 'Cosmetic - Vindicator Maraad at Shattered Beachhead');
DELETE FROM `phase_area` WHERE `AreaId`=4 AND `PhaseId` = 3971;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(4, 3971, 'See Vindicator Maraad at Shattered Beachhead');
@@ -0,0 +1,27 @@
SET @CGUID := 5000091;
DELETE FROM `creature` WHERE `guid` = @CGUID+0;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `VerifiedBuild`) VALUES
(@CGUID+0, 84929, 0, 4, 0, '0', 3972, 0, 1190, 0, 0, -11282.7099609375, -3095.782958984375, 3.182274818420410156, 5.280431270599365234, 120, 0, 0, 800000, 1283, 0, NULL, NULL, 50791); -- Vindicator Maraad (Area: 0 - Difficulty: 0) CreateObject1
DELETE FROM `creature_equip_template` WHERE (`ID`=1 AND `CreatureID` =84929);
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(84929, 1, 30802, 0, 0, 0, 0, 0, 0, 0, 0, 50791); -- Vindicator Maraad
UPDATE `creature_queststarter` SET `VerifiedBuild`=50791 WHERE (`id`=84929 AND `quest` IN (36941,35500,35495,35488,35492,35486));
UPDATE `creature_questender` SET `VerifiedBuild`=50791 WHERE (`id`=84929 AND `quest` IN (35500,35495,35488,35486,35492,36307));
UPDATE `creature_template` SET `faction`=84, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=84929; -- Vindicator Maraad
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3972 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3972, 0, 0, 0, 47, 0, 37677, 64, 0, 0, 'Apply Phase 3972 if Quest 37677 is rewarded'),
(26, 3972, 0, 0, 0, 47, 0, 36307, 8 | 2 | 64, 0, 0, 'Apply Phase 3972 if Quest 36307 is in progress | complete | rewarded');
DELETE FROM `phase_name` WHERE `ID`=3972;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(3972, 'Cosmetic - Vindicator Maraad at Dreadmaul in Blasted Lands');
DELETE FROM `phase_area` WHERE `AreaId`=4 AND `PhaseId` = 3972;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(4, 3972, 'See Vindicator Maraad at Dreadmaul in Blasted Lands');
@@ -0,0 +1,186 @@
SET @CGUID := 5000092;
SET @OGUID := 5000048;
-- Creatures
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+39;
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`, `VerifiedBuild`) VALUES
-- Alliance
(@CGUID+0, 85142, 1265, 7025, 7041, '0', 3208, 0, 0, 0, 3974.267333984375, -2640.453125, 55.90972137451171875, 3.047555446624755859, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Karabor Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+1, 85142, 1265, 7025, 7041, '0', 3208, 0, 0, 0, 3973.665771484375, -2638.882080078125, 55.734375, 2.603512763977050781, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Karabor Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+2, 85142, 1265, 7025, 7041, '0', 3208, 0, 0, 0, 3975.05908203125, -2638.657958984375, 55.73090362548828125, 2.319417238235473632, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Karabor Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+3, 85142, 1265, 7025, 7041, '0', 3208, 0, 0, 0, 3972.487060546875, -2639.5244140625, 55.77430343627929687, 2.370105743408203125, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Karabor Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+4, 85142, 1265, 7025, 7041, '0', 3208, 0, 0, 0, 3973.314208984375, -2637.632080078125, 55.609375, 2.503822088241577148, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Karabor Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+5, 82871, 1265, 7025, 7041, '0', 3207, 0, 0, 0, 3830.212646484375, -2522.029541015625, 68.27951812744140625, 5.741931438446044921, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Karabor Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+6, 82871, 1265, 7025, 7041, '0', 3207, 0, 0, 0, 3831.06689453125, -2522.3525390625, 67.84201812744140625, 5.731770515441894531, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Karabor Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+7, 82871, 1265, 7025, 7041, '0', 3207, 0, 0, 0, 3831.48779296875, -2521.276123046875, 67.90451812744140625, 5.66200876235961914, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Karabor Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+8, 82871, 1265, 7025, 7041, '0', 3207, 0, 0, 0, 3831.4931640625, -2523.178955078125, 67.46575927734375, 5.76322031021118164, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Karabor Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+9, 82871, 1265, 7025, 7041, '0', 3207, 0, 0, 0, 3832.510498046875, -2522.04345703125, 67.271453857421875, 5.663929462432861328, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Karabor Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+10, 85146, 1265, 7025, 7041, '0', 3910, 0, 0, 0, 3850.137939453125, -2762.779541015625, 94.17014312744140625, 5.025075435638427734, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Karabor Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+11, 85146, 1265, 7025, 7041, '0', 3910, 0, 0, 0, 3850.669189453125, -2764.776123046875, 94.08160400390625, 1.775573134422302246, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Karabor Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+12, 85146, 1265, 7025, 7041, '0', 3910, 0, 0, 0, 3833.14404296875, -2783.694580078125, 93.92535400390625, 2.246114253997802734, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Karabor Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+13, 85146, 1265, 7025, 7041, '0', 3910, 0, 0, 0, 3832.3212890625, -2782.10595703125, 93.92464447021484375, 5.025075435638427734, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Karabor Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+14, 85146, 1265, 7025, 7041, '0', 3910, 0, 0, 0, 3846.061767578125, -2785.36279296875, 94.01271820068359375, 5.492753028869628906, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Karabor Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+15, 80804, 1265, 7025, 7041, '0', 4010, 0, 0, 0, 3832.7587890625, -2768.546875, 93.89159393310546875, 5.580752372741699218, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Karabor Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+16, 80804, 1265, 7025, 7041, '0', 4010, 0, 0, 0, 3848.165771484375, -2770.2587890625, 94.17138671875, 5.295882701873779296, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Karabor Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+17, 80804, 1265, 7025, 7041, '0', 4010, 0, 0, 0, 3830.84716796875, -2769.451416015625, 94.09824371337890625, 5.6405487060546875, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Karabor Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+18, 80804, 1265, 7025, 7041, '0', 4010, 0, 0, 0, 3847.046875, -2773.826416015625, 93.99353790283203125, 4.831473827362060546, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Karabor Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+19, 80804, 1265, 7025, 7041, '0', 4010, 0, 0, 0, 3846.5859375, -2776.986083984375, 93.92467498779296875, 1.540499091148376464, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Karabor Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
-- Horde
(@CGUID+20, 78529, 1265, 7025, 7041, '0', 3210, 0, 0, 0, 3973.665771484375, -2638.882080078125, 55.734375, 2.603512763977050781, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Frostwolf Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+21, 78529, 1265, 7025, 7041, '0', 3210, 0, 0, 0, 3973.627685546875, -2638.916748046875, 55.73611068725585937, 2.503822088241577148, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Frostwolf Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+22, 78529, 1265, 7025, 7041, '0', 3210, 0, 0, 0, 3972.487060546875, -2639.5244140625, 55.77430343627929687, 2.370105743408203125, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Frostwolf Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+23, 78529, 1265, 7025, 7041, '0', 3210, 0, 0, 0, 3974.267333984375, -2640.453125, 55.90972137451171875, 3.047555446624755859, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Frostwolf Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+24, 78529, 1265, 7025, 7041, '0', 3210, 0, 0, 0, 3975.05908203125, -2638.657958984375, 55.73090362548828125, 2.319417238235473632, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Frostwolf Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+25, 85141, 1265, 7025, 7041, '0', 3209, 0, 0, 0, 3831.48779296875, -2521.276123046875, 67.90451812744140625, 5.66200876235961914, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Frostwolf Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+26, 85141, 1265, 7025, 7041, '0', 3209, 0, 0, 0, 3831.06689453125, -2522.3525390625, 67.84201812744140625, 5.731770515441894531, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Frostwolf Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+27, 85141, 1265, 7025, 7041, '0', 3209, 0, 0, 0, 3832.510498046875, -2522.04345703125, 67.271453857421875, 5.663929462432861328, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Frostwolf Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+28, 85141, 1265, 7025, 7041, '0', 3209, 0, 0, 0, 3830.212646484375, -2522.029541015625, 68.27951812744140625, 5.741931438446044921, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Frostwolf Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+29, 85141, 1265, 7025, 7041, '0', 3209, 0, 0, 0, 3831.4931640625, -2523.178955078125, 67.46575927734375, 5.76322031021118164, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Frostwolf Slave (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+30, 80803, 1265, 7025, 7041, '0', 3911, 0, 0, 0, 3850.669189453125, -2764.776123046875, 94.08160400390625, 1.775573134422302246, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Frostwolf Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+31, 80803, 1265, 7025, 7041, '0', 3911, 0, 0, 0, 3846.061767578125, -2785.36279296875, 94.01271820068359375, 5.492753028869628906, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Frostwolf Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+32, 80803, 1265, 7025, 7041, '0', 3911, 0, 0, 0, 3833.14404296875, -2783.694580078125, 93.92535400390625, 2.246114253997802734, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Frostwolf Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+33, 80803, 1265, 7025, 7041, '0', 3911, 0, 0, 0, 3850.137939453125, -2762.779541015625, 94.17014312744140625, 5.025075435638427734, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Frostwolf Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+34, 80803, 1265, 7025, 7041, '0', 3911, 0, 0, 0, 3832.3212890625, -2782.10595703125, 93.92464447021484375, 5.025075435638427734, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Frostwolf Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+35, 85145, 1265, 7025, 7041, '0', 4011, 0, 0, 0, 3846.5859375, -2776.986083984375, 93.92467498779296875, 1.540499091148376464, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Frostwolf Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+36, 85145, 1265, 7025, 7041, '0', 4011, 0, 0, 0, 3848.165771484375, -2770.2587890625, 94.17138671875, 5.295882701873779296, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Frostwolf Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+37, 85145, 1265, 7025, 7041, '0', 4011, 0, 0, 0, 3830.84716796875, -2769.451416015625, 94.09824371337890625, 5.6405487060546875, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Frostwolf Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+38, 85145, 1265, 7025, 7041, '0', 4011, 0, 0, 0, 3847.046875, -2773.826416015625, 93.99353790283203125, 4.831473827362060546, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791), -- Liberated Frostwolf Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+39, 85145, 1265, 7025, 7041, '0', 4011, 0, 0, 0, 3832.7587890625, -2768.546875, 93.89159393310546875, 5.580752372741699218, 120, 0, 0, 4000, 0, 0, NULL, NULL, 50791); -- Liberated Frostwolf Prisoner (Area: Heartblood - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+39;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+14, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, ''), -- Liberated Karabor Prisoner
(@CGUID+19, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Liberated Karabor Prisoner
(@CGUID+31, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, ''), -- Liberated Frostwolf Prisoner
(@CGUID+35, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Liberated Frostwolf Prisoner
-- Gameobject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+3;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
-- Alliance
(@OGUID+0, 229352, 1265, 7025, 7041, '0', 3793, 0, 3831.09716796875, -2522.029541015625, 67.823760986328125, 5.693089962005615234, 0.033244609832763671, 0.112518310546875, -0.28867435455322265, 0.950211286544799804, 120, 255, 1, 50791), -- Bleeding Hollow Cage (Area: Heartblood - Difficulty: 0) CreateObject1
(@OGUID+1, 229353, 1265, 7025, 7041, '0', 3793, 0, 3973.627685546875, -2638.916748046875, 55.65277862548828125, 2.613238334655761718, -0.02734136581420898, -0.03424930572509765, 0.964563369750976562, 0.260186344385147094, 120, 255, 1, 50791), -- Bleeding Hollow Cage (Area: Heartblood - Difficulty: 0) CreateObject1
-- Horde
(@OGUID+2, 229350, 1265, 7025, 7041, '0', 3794, 0, 3973.627685546875, -2638.916748046875, 55.65277862548828125, 2.613238334655761718, -0.02734136581420898, -0.03424930572509765, 0.964563369750976562, 0.260186344385147094, 120, 255, 1, 50791), -- Bleeding Hollow Cage (Area: Heartblood - Difficulty: 0) CreateObject1
(@OGUID+3, 229325, 1265, 7025, 7041, '0', 3794, 0, 3831.09716796875, -2522.029541015625, 67.823760986328125, 5.6930999755859375, 0.033244132995605468, 0.112517356872558593, -0.28866958618164062, 0.95021289587020874, 120, 255, 1, 50791); -- Bleeding Hollow Cage (Area: Heartblood - Difficulty: 0) CreateObject1
UPDATE `gameobject_template_addon` SET `flags`=262176 WHERE `entry` IN (229353, 229352, 229325, 229350); -- Bleeding Hollow Cage
UPDATE `gameobject_template` SET `ContentTuningId`=178, `VerifiedBuild`=50791 WHERE `entry` IN (229325, 229350, 229352, 229353); -- Bleeding Hollow Cage
-- Phase
DELETE FROM `phase_name` WHERE `ID` IN (3910, 4010, 3911, 4011, 3793, 3794);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(3910, 'Cosmetic - Liberated Slaves 02'),
(4010, 'Cosmetic - Liberated Slaves 01'),
(3911, 'Cosmetic - Liberated Slaves 04'),
(4011, 'Cosmetic - Liberated Slaves 03'),
(3793, 'Cosmetic - Bleeding Hollow Cage (A)'),
(3794, 'Cosmetic - Bleeding Hollow Cage (H)');
DELETE FROM `phase_area` WHERE `AreaId` IN (7039, 7041) AND `PhaseId` IN (3207, 3208, 3209, 3210, 3910, 4010, 3911, 4011, 3793, 3794);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(7041, 3207, 'See Bleeding Hollow Slaves 01'),
(7041, 3208, 'See Bleeding Hollow Slaves 02'),
(7041, 3209, 'See Bleeding Hollow Slaves 03'),
(7041, 3210, 'See Bleeding Hollow Slaves 04'),
(7041, 3910, 'See liberated slaves 02'),
(7041, 4010, 'See liberated slaves 01'),
(7041, 3911, 'See liberated slaves 04'),
(7041, 4011, 'See liberated slaves 03'),
(7041, 3793, 'See Bleeding Hollow Cage (A)'),
(7041, 3794, 'See Bleeding Hollow Cage (H)'),
(7039, 3207, 'See Bleeding Hollow Slaves 01'),
(7039, 3208, 'See Bleeding Hollow Slaves 02'),
(7039, 3209, 'See Bleeding Hollow Slaves 03'),
(7039, 3210, 'See Bleeding Hollow Slaves 04'),
(7039, 3910, 'See liberated slaves 02'),
(7039, 4010, 'See liberated slaves 01'),
(7039, 3911, 'See liberated slaves 04'),
(7039, 4011, 'See liberated slaves 03'),
(7039, 3793, 'See Bleeding Hollow Cage (A)'),
(7039, 3794, 'See Bleeding Hollow Cage (H)');
-- Conditions
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3207 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3207, 0, 0, 0, 47, 0, 35240, 8, 0, 0, 'Apply Phase 3207 if Quest 35240 is in progress'),
(26, 3207, 0, 0, 0, 48, 0, 273639, 0, 1, 1, 'Apply phase 3207 if quest objective 273639 is not done');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3208 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3208, 0, 0, 0, 47, 0, 35240, 8, 0, 0, 'Apply Phase 3208 if Quest 35240 is in progress'),
(26, 3208, 0, 0, 0, 48, 0, 273640, 0, 1, 1, 'Apply phase 3208 if quest objective 273640 is not done');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3209 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3209, 0, 0, 0, 47, 0, 34421, 8, 0, 0, 'Apply Phase 3209 if Quest 34421 is in progress'),
(26, 3209, 0, 0, 0, 48, 0, 272710, 0, 1, 1, 'Apply phase 3209 if quest objective 272710 is not done');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3210 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3210, 0, 0, 0, 47, 0, 34421, 8, 0, 0, 'Apply Phase 3210 if Quest 34421 is in progress'),
(26, 3210, 0, 0, 0, 48, 0, 272692, 0, 1, 1, 'Apply phase 3210 if quest objective 272692 is not done');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3910 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3910, 0, 0, 0, 47, 0, 35240, 2 | 8 | 64, 0, 0, 'Apply Phase 3910 if Quest 35240 is complete | in progress | rewarded'),
(26, 3910, 0, 0, 0, 48, 0, 273640, 0, 1, 0, 'Apply phase 3910 if quest objective 273640 is not done'),
(26, 3910, 0, 0, 0, 1, 0, 159126, 0, 0, 1, 'Apply Phase 3910 if has no aura 159126');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 4010 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 4010, 0, 0, 0, 47, 0, 35240, 2 | 8 | 64, 0, 0, 'Apply Phase 4010 if Quest 35240 is complete | in progress | rewarded'),
(26, 4010, 0, 0, 0, 48, 0, 273639, 0, 1, 0, 'Apply phase 4010 if quest objective 273640 is not done'),
(26, 4010, 0, 0, 0, 1, 0, 159127, 0, 0, 1, 'Apply Phase 4010 if has no aura 159127');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3911 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3911, 0, 0, 0, 47, 0, 34421, 2 | 8 | 64, 0, 0, 'Apply Phase 3911 if Quest 34421 is complete | in progress | rewarded'),
(26, 3911, 0, 0, 0, 48, 0, 272692, 0, 1, 0, 'Apply phase 3911 if quest objective 272692 is not done'),
(26, 3911, 0, 0, 0, 1, 0, 159126, 0, 0, 1, 'Apply Phase 3911 if has no aura 159126');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 4011 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 4011, 0, 0, 0, 47, 0, 34421, 2 | 8 | 64, 0, 0, 'Apply Phase 4011 if Quest 34421 is complete | in progress | rewarded'),
(26, 4011, 0, 0, 0, 48, 0, 272710, 0, 1, 0, 'Apply phase 4011 if quest objective 272710 is not done'),
(26, 4011, 0, 0, 0, 1, 0, 159127, 0, 0, 1, 'Apply Phase 4011 if has no aura 159127');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3793 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3793, 0, 0, 0, 6, 0, 67, 0, 0, 0, 'Apply phase 3793 if Team Horde');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 3794 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 3794, 0, 0, 0, 6, 0, 469, 0, 0, 0, 'Apply phase 3794 if Team Alliance');
-- Scene
UPDATE `scene_template` SET `ScriptName` = 'SmartScene' WHERE `SceneId` IN (624, 625);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (624, 625) AND `source_type`=10 AND `id` IN (0, 1, 2) AND `link`=0;
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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(624, 10, 0, 0, 78, 0, 100, 0, 0, 0, 0, 0, 0, '', 85, 82238, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'On Scene Start - Self: Cast spell 82238 with flags triggered on self'),
(624, 10, 1, 0, 80, 0, 100, 0, 0, 0, 0, 0, 0, '', 85, 82238, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'On Scene Cancel - Self: Cast spell 82238 with flags triggered on self'),
(624, 10, 2, 0, 81, 0, 100, 0, 0, 0, 0, 0, 0, '', 85, 82238, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'On Scene Complete - Self: Cast spell 82238 with flags triggered on self'),
(625, 10, 0, 0, 78, 0, 100, 0, 0, 0, 0, 0, 0, '', 85, 82238, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'On Scene Start - Self: Cast spell 82238 with flags triggered on self'),
(625, 10, 1, 0, 80, 0, 100, 0, 0, 0, 0, 0, 0, '', 85, 82238, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'On Scene Cancel - Self: Cast spell 82238 with flags triggered on self'),
(625, 10, 2, 0, 81, 0, 100, 0, 0, 0, 0, 0, 0, '', 85, 82238, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'On Scene Complete - Self: Cast spell 82238 with flags triggered on self');
-- Serverside spells
DELETE FROM `serverside_spell` WHERE `Id` IN (158636, 158691) AND `DifficultyID`=0;
INSERT INTO `serverside_spell` (`Id`, `DifficultyID`, `CategoryId`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `AttributesEx11`, `AttributesEx12`, `AttributesEx13`, `AttributesEx14`, `Stances`, `StancesNot`, `Targets`, `TargetCreatureType`, `RequiresSpellFocus`, `FacingCasterFlags`, `CasterAuraState`, `TargetAuraState`, `ExcludeCasterAuraState`, `ExcludeTargetAuraState`, `CasterAuraSpell`, `TargetAuraSpell`, `ExcludeCasterAuraSpell`, `ExcludeTargetAuraSpell`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `ProcChance`, `ProcCharges`, `ProcCooldown`, `ProcBasePPM`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `Speed`, `LaunchDelay`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `ContentTuningId`, `SpellName`, `ConeAngle`, `ConeWidth`, `MaxTargetLevel`, `MaxAffectedTargets`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `SpellFamilyFlags4`, `DmgClass`, `PreventionType`, `AreaGroupId`, `SchoolMask`, `ChargeCategoryId`) VALUES
(158636, 0, 0, 0, 0, (0x00000180), 0, (0x10000000), 0, (0x00000080), 0, (0x00000004), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, -1, 0, 0, 0, '(Serverside/Non-DB2) Bleeding Hollow Cage Credit - Southern Cage', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(158691, 0, 0, 0, 0, (0x00000180), 0, (0x10000000), 0, (0x00000080), 0, (0x00000004), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, -1, 0, 0, 0, '(Serverside/Non-DB2) Bleeding Hollow Cage Credit - Eastern Cage', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0);
DELETE FROM `serverside_spell_effect` WHERE `SpellID` IN (158636, 158691) AND `EffectIndex` IN (0, 1) AND `DifficultyID`=0;
INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES
(158691, 0, 0, 90, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 85142, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(158691, 1, 0, 90, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 78529, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(158636, 0, 0, 90, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82871, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(158636, 1, 0, 90, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 85141, 0, 0, 0, 0, 0, 0, 0, 1, 0);
-- Quest objectives
DELETE FROM `quest_objectives_completion_effect` WHERE `ObjectiveID`IN (272710, 272692, 273639, 273640);
INSERT INTO `quest_objectives_completion_effect` (`ObjectiveID`, `GameEventID`, `SpellID`, `ConversationID`, `UpdatePhaseShift`, `UpdateZoneAuras`) VALUES
(272710, NULL, 159127, NULL, 0, 0),
(273639, NULL, 159127, NULL, 0, 0),
(272692, NULL, 159126, NULL, 0, 0),
(273640, NULL, 159126, NULL, 0, 0);
@@ -0,0 +1,5 @@
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x10000000 WHERE `entry` IN (SELECT `creditEntry` FROM `instance_encounters` WHERE `creditType`=0);
DROP TABLE IF EXISTS `instance_encounters`;
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_gen_dungeon_credit';
@@ -0,0 +1,72 @@
SET @CGUID := 5000132;
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+9;
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`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 78430, 1265, 7025, 7041, '0', 3265, 0, 0, 1, 3837.99560546875, -2776.723876953125, 93.9245758056640625, 5.573551177978515625, 120, 0, 0, 400000, 100, 0, NULL, NULL, NULL, NULL, 51130), -- Cordana Felsong (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+1, 78553, 1265, 7025, 7041, '0', 3265, 0, 0, 1, 3844.734375, -2786.68408203125, 94.16998291015625, 5.674098968505859375, 120, 0, 0, 4800000, 320750, 0, NULL, NULL, NULL, NULL, 51130), -- Thrall (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+2, 78556, 1265, 7025, 7041, '0', 3655, 0, 0, 1, 3842.366455078125, -2787.322998046875, 94.377410888671875, 5.560853958129882812, 120, 0, 0, 20000, 0, 0, NULL, NULL, NULL, NULL, 51130), -- Ariok (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+3, 78568, 1265, 7025, 7041, '0', 3265, 0, 0, 1, 3837.892333984375, -2768.734375, 93.89243316650390625, 0.200779974460601806, 120, 0, 0, 20000, 0, 0, NULL, NULL, NULL, NULL, 51130), -- Thaelin Darkanvil (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+4, 79315, 1265, 7025, 7041, '0', 3265, 0, 0, 1, 3840.3359375, -2767.654541015625, 93.88391876220703125, 3.119690895080566406, 120, 0, 0, 20000, 0, 0, NULL, NULL, NULL, NULL, 51130), -- Olin Umberhide (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+5, 79675, 1265, 7025, 7041, '0', 3265, 0, 0, 1, 3844.427978515625, -2769.032958984375, 93.99267578125, 4.584816455841064453, 120, 0, 0, 400000, 0, 0, NULL, NULL, NULL, NULL, 51130), -- Lady Liadrin (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+6, 78569, 1265, 7025, 7041, '0', 3265, 0, 0, 1, 3838.14501953125, -2767.05908203125, 93.86634063720703125, 5.749032974243164062, 120, 0, 0, 20000, 0, 0, NULL, NULL, NULL, NULL, 51130), -- Hansel Heavyhands (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+7, 79316, 1265, 7025, 7041, '0', 3265, 0, 0, 1, 3832.265625, -2775.342041015625, 94.3538818359375, 6.141648769378662109, 120, 0, 0, 20000, 1283, 0, NULL, NULL, NULL, NULL, 51130), -- Qiana Moonshadow (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+8, 78559, 1265, 7025, 7041, '0', 3265, 0, 0, 1, 3839.858642578125, -2777.1181640625, 93.9246368408203125, 5.596025943756103515, 120, 0, 0, 640000, 9573, 0, NULL, NULL, NULL, NULL, 51130), -- Archmage Khadgar (Area: Heartblood - Difficulty: 0) CreateObject1
(@CGUID+9, 78554, 1265, 7025, 7041, '0', 3265, 0, 0, 1, 3834.88720703125, -2775.640625, 94.0558013916015625, 3.19539046287536621, 120, 0, 0, 4800000, 128300, 0, NULL, NULL, NULL, NULL, 51130); -- Vindicator Maraad (Area: Heartblood - Difficulty: 0) CreateObject1 (Auras: 165746 - Retribution Aura)
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+9;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '165746'); -- Vindicator Maraad - 165746 - Retribution Aura
-- Phases
DELETE FROM `phase_name` WHERE `ID` = 3655;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(3655, 'Cosmetic - Ariok at Bleeding Hollow Altar (E)');
DELETE FROM `phase_area` WHERE `AreaId` IN (7025, 7041, 7039, 7129) AND `PhaseId` IN (3265, 3655);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(7025, 3265, 'See Questgivers at Bleeding Hollow Altar'),
(7041, 3655, 'See Ariok at Bleeding Hollow Altar'),
(7039, 3655, 'See Ariok at Bleeding Hollow Altar'),
(7129, 3655, 'See Ariok at Bleeding Hollow Altar');
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup`=3265 AND `ConditionValue1`=35297;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(26, 3265, 0, 0, 0, 47, 0, 35297, 2 | 64, 0, 0, 0, 0, '', 'Apply Phase 3264 if Quest 35297 is complete | rewarded');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup`=3655 AND `ConditionValue1`=35297;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(26, 3655, 0, 0, 0, 47, 0, 35297, 2 | 64, 0, 0, 0, 0, '', 'Apply Phase 3264 if Quest 35297 is complete | rewarded');
-- Previous conditions already added
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup`=3264 AND `ConditionValue1`=34422;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(26, 3264, 0, 0, 0, 47, 0, 34422, 2 | 8 | 64, 0, 1, 0, 0, '', 'Apply Phase 3264 if Quest 34422 is not in progress | complete | rewarded');
-- Quest
UPDATE `quest_poi` SET `VerifiedBuild`=51130 WHERE (`QuestID`=34422 AND `BlobIndex`=0 AND `Idx1`=2) OR (`QuestID`=34422 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=34422 AND `BlobIndex`=0 AND `Idx1`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=51130 WHERE (`QuestID`=34422 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=34422 AND `Idx1`=1 AND `Idx2`=11) OR (`QuestID`=34422 AND `Idx1`=1 AND `Idx2`=10) OR (`QuestID`=34422 AND `Idx1`=1 AND `Idx2`=9) OR (`QuestID`=34422 AND `Idx1`=1 AND `Idx2`=8) OR (`QuestID`=34422 AND `Idx1`=1 AND `Idx2`=7) OR (`QuestID`=34422 AND `Idx1`=1 AND `Idx2`=6) OR (`QuestID`=34422 AND `Idx1`=1 AND `Idx2`=5) OR (`QuestID`=34422 AND `Idx1`=1 AND `Idx2`=4) OR (`QuestID`=34422 AND `Idx1`=1 AND `Idx2`=3) OR (`QuestID`=34422 AND `Idx1`=1 AND `Idx2`=2) OR (`QuestID`=34422 AND `Idx1`=1 AND `Idx2`=1) OR (`QuestID`=34422 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=34422 AND `Idx1`=0 AND `Idx2`=0);
UPDATE `creature_queststarter` SET `VerifiedBuild`=51130 WHERE (`id`=78559 AND `quest`=34422);
UPDATE `quest_details` SET `VerifiedBuild`=51130 WHERE `ID` = 34422;
DELETE FROM `quest_template_addon` WHERE `ID`=34422;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(34422, 0, 0, 0, 34420, 34423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'quest_blaze_of_glory');
-- Scene
UPDATE `scene_template` SET `ScriptName` = 'scene_bleeding_hollow_holdout' WHERE `SceneId`=770;
UPDATE `scene_template` SET `ScriptName` = 'scene_bleeding_hollow_trail_of_flame' WHERE `SceneId`=771;
-- Serverside spell
DELETE FROM `serverside_spell` WHERE `Id`=164613 AND `DifficultyID`=0;
INSERT INTO `serverside_spell` (`Id`, `DifficultyID`, `CategoryId`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `AttributesEx11`, `AttributesEx12`, `AttributesEx13`, `AttributesEx14`, `Stances`, `StancesNot`, `Targets`, `TargetCreatureType`, `RequiresSpellFocus`, `FacingCasterFlags`, `CasterAuraState`, `TargetAuraState`, `ExcludeCasterAuraState`, `ExcludeTargetAuraState`, `CasterAuraSpell`, `TargetAuraSpell`, `ExcludeCasterAuraSpell`, `ExcludeTargetAuraSpell`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `ProcChance`, `ProcCharges`, `ProcCooldown`, `ProcBasePPM`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `Speed`, `LaunchDelay`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `ContentTuningId`, `SpellName`, `ConeAngle`, `ConeWidth`, `MaxTargetLevel`, `MaxAffectedTargets`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `SpellFamilyFlags4`, `DmgClass`, `PreventionType`, `AreaGroupId`, `SchoolMask`, `ChargeCategoryId`) VALUES
(164613, 0, 0, 0, 0, 128, 0, 268435456, 0, 128, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, -1, 0, 0, 0, 'Hut Credit', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0);
DELETE FROM `serverside_spell_effect` WHERE `SpellID`=164613 AND `EffectIndex`=0 AND `DifficultyID`=0;
INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES
(164613, 0, 0, 90, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81760, 0, 0, 0, 0, 0, 0, 0, 1, 0);
DELETE FROM `spell_area` WHERE `spell` IN(164609, 164611);
INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `flags`, `quest_start_status`, `quest_end_status`) VALUES
(164609, 7025, 34422, 35297, 0, 0, 2, 3, 10, 1),
(164611, 7025, 34422, 35297, 0, 0, 2, 3, 8, 1);
@@ -0,0 +1,190 @@
SET @CGUID := 6000124;
SET @OGUID := 6000171;
SET @ATID := 32;
SET @ATIDSPAWN := 37;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+14;
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`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 99916, 1481, 7705, 7741, '0', 5463, 0, 0, 1, 1023.25347900390625, 2849.716064453125, 5.42197418212890625, 1.753069400787353515, 120, 0, 0, 27954, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Sevis Brightflame (Area: Despair Ridge - Difficulty: 0) CreateObject1
(@CGUID+1, 101518, 1481, 7705, 7741, '0', 5658, 0, 0, 0, 1016.70831298828125, 2849.3134765625, 5.483273983001708984, 1.382026076316833496, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Felsaber (Area: Despair Ridge - Difficulty: 0) CreateObject1
(@CGUID+2, 100982, 1481, 7705, 7741, '0', 5595, 0, 0, 1, 826.904541015625, 2758.647705078125, -30.5066184997558593, 4.404995918273925781, 120, 0, 0, 27954, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Sevis Brightflame (Area: Despair Ridge - Difficulty: 0) CreateObject1
(@CGUID+3, 94410, 1481, 7705, 7741, '0', 5094, 0, 0, 1, 824.59722900390625, 2758.497314453125, -30.352325439453125, 4.542752742767333984, 120, 0, 0, 31060, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Allari the Souleater (Area: Despair Ridge - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+4, 105316, 1481, 7705, 7741, '0', 5094, 0, 0, 0, 822.51214599609375, 2744.765625, -30.9782161712646484, 1.432027459144592285, 120, 0, 0, 24850, 19005, 0, NULL, NULL, NULL, NULL, 51261), -- Questioner Arev'naal (Area: Despair Ridge - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+5, 97594, 1481, 7705, 7741, '0', 0, 0, 0, 0, 822.94097900390625, 2727.411376953125, -30.8847217559814453, 1.687772512435913085, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Foul Felstalker (Area: Despair Ridge - Difficulty: 0) CreateObject1 (Auras: 159474 - Permanent Feign Death (NO Stun, Untrackable, Immune))
(@CGUID+6, 97594, 1481, 7705, 7741, '0', 0, 0, 0, 0, 837.70489501953125, 2770.400146484375, -30.6522693634033203, 3.850893735885620117, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Foul Felstalker (Area: Despair Ridge - Difficulty: 0) CreateObject1 (Auras: 159474 - Permanent Feign Death (NO Stun, Untrackable, Immune))
(@CGUID+7, 97592, 1481, 7705, 7741, '0', 0, 0, 0, 1, 827.99652099609375, 2763.361083984375, -30.6998558044433593, 1.511899471282958984, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Felguard Sentry (Area: Despair Ridge - Difficulty: 0) CreateObject1 (Auras: 159474 - Permanent Feign Death (NO Stun, Untrackable, Immune))
(@CGUID+8, 97592, 1481, 7705, 7741, '0', 0, 0, 0, 1, 818.78643798828125, 2776.356689453125, -30.9636096954345703, 0.002212021499872207, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Felguard Sentry (Area: Despair Ridge - Difficulty: 0) CreateObject1 (Auras: 159474 - Permanent Feign Death (NO Stun, Untrackable, Immune))
(@CGUID+9, 97142, 1481, 7705, 7741, '0', 0, 0, 0, 0, 797.72222900390625, 2790.532958984375, -33.0243721008300781, 0, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Fel Spreader (Area: Despair Ridge - Difficulty: 0) CreateObject1 (Auras: 200681 - Cosmetic - Random 7XP Fel Ground Crack A01 or A02 [scale x0.50])
(@CGUID+10, 93112, 1481, 7705, 7741, '0', 0, 0, 0, 1, 796.00347900390625, 2779.09716796875, -31.921335220336914, 5.917963504791259765, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Felguard Sentry (Area: Despair Ridge - Difficulty: 0) CreateObject1
(@CGUID+11, 93115, 1481, 7705, 7741, '0', 0, 0, 0, 0, 850.43402099609375, 2801.387939453125, -22.4901905059814453, 4.18784952163696289, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Foul Felstalker (Area: Despair Ridge - Difficulty: 0) CreateObject1
(@CGUID+12, 93115, 1481, 7705, 7741, '0', 0, 0, 0, 0, 797.217041015625, 2780.400146484375, -31.5374717712402343, 5.818414211273193359, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Foul Felstalker (Area: Despair Ridge - Difficulty: 0) CreateObject1
(@CGUID+13, 93115, 1481, 7705, 7741, '0', 0, 0, 0, 0, 851.23089599609375, 2798.546142578125, -22.1982803344726562, 4.154862403869628906, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51261), -- Foul Felstalker (Area: Despair Ridge - Difficulty: 0) CreateObject1
(@CGUID+14, 24021, 1481, 7705, 7741, '0', 5094, 0, 0, 0, 825.8819580078125, 2755.15283203125, -27.5832767486572265, 1.882045865058898925, 120, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 51261); -- ELM General Purpose Bunny (scale x0.01) (Area: Despair Ridge - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+14;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Sevis Brightflame
(@CGUID+2, 0, 0, 0, 0, 0, 1, 0, 333, 0, 0, 0, 0, ''), -- Sevis Brightflame
(@CGUID+3, 0, 0, 0, 0, 0, 1, 0, 376, 0, 0, 0, 3, ''), -- Allari the Souleater
(@CGUID+4, 0, 0, 0, 3, 0, 1, 0, 0, 6761, 0, 0, 0, ''), -- Questioner Arev'naal
(@CGUID+7, 0, 0, 0, 0, 4, 1, 0, 0, 0, 0, 0, 0, '159474'), -- Felguard Sentry - 159474 - Permanent Feign Death (NO Stun, Untrackable, Immune)
(@CGUID+8, 0, 0, 0, 0, 4, 1, 0, 0, 0, 0, 0, 0, '159474'); -- Felguard Sentry - 159474 - Permanent Feign Death (NO Stun, Untrackable, Immune)
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+1;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+0, 241751, 1481, 7705, 7741, '0', 0, 0, 1027.810791015625, 2846.22998046875, 5.979487895965576171, 1.590266227722167968, 0, 0, 0.713956832885742187, 0.700189709663391113, 120, 255, 1, 51261), -- Legion Gateway Activator (Area: Despair Ridge - Difficulty: 0) CreateObject1
(@OGUID+1, 253931, 1481, 7705, 7741, '0', 5094, 0, 825.8819580078125, 2755.15283203125, -29.257577896118164, 5.065802574157714843, 0, 0, -0.57179450988769531, 0.820396840572357177, 120, 255, 1, 51261); -- Creature_Demoncrystal_03_fel (Area: Despair Ridge - Difficulty: 0) CreateObject1
-- Serverside AT
DELETE FROM `areatrigger_template` WHERE `Id` = @ATID+0 AND `IsServerSide` = 1;
INSERT INTO `areatrigger_template` (`Id`, `IsServerSide`, `Type`, `Flags`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `VerifiedBuild`) VALUES
(@ATID+0, 1, 1, 0, 38, 38, 25, 38, 38, 25, 0, 0, 0);
DELETE FROM `areatrigger` WHERE `SpawnId` = @ATIDSPAWN AND `IsServerSide` = 1;
INSERT INTO `areatrigger` (`SpawnId`, `AreaTriggerId`, `IsServerSide`, `MapId`, `PosX`, `PosY`, `PosZ`, `Orientation`, `PhaseUseFlags`, `PhaseId`, `PhaseGroup`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `ScriptName`, `Comment`) VALUES
(@ATIDSPAWN, @ATID, 1, 1481, 831.3651, 2790.655, -30.7197, 4.595217, 0, 5094, 0, 1, 38, 38, 25, 38, 38, 25, 0, 0, 'at_enter_the_illidari_ashtongue_allari_killcredit', 'Mardum - Trigger KillCredit for Quest "Enter the Illidari: Ashtongue"');
-- update Template
UPDATE `creature_template` SET `ScriptName` = 'npc_kayn_sunfury_ashtongue_intro' WHERE `entry` = 98229;
UPDATE `creature_template` SET `ScriptName` = 'npc_sevis_brightflame_ashtongue_gateway_private' WHERE `entry` = 99916;
UPDATE `creature_template` SET `npcflag`=16777216 WHERE `entry`=101518; -- Felsaber
UPDATE `creature_template` SET `npcflag`=281474976710658 WHERE `entry`=100982; -- Sevis Brightflame
UPDATE `creature_template` SET `npcflag`=281474976710659 WHERE `entry`=94410; -- Allari the Souleater
UPDATE `gameobject_template` SET `ContentTuningId`=699, `VerifiedBuild`=51261 WHERE `entry`=244441; -- Legion Communicator
UPDATE `gameobject_template` SET `ContentTuningId`=699, `VerifiedBuild`=51261 WHERE `entry` IN (242990, 244916); -- Jailer Cage
UPDATE `gameobject_template` SET `ContentTuningId`=699, `VerifiedBuild`=51261 WHERE `entry`=241756; -- Legion Gateway Activator
UPDATE `gameobject_template` SET `ContentTuningId`=699, `VerifiedBuild`=51261 WHERE `entry`=244440; -- Legion Communicator
UPDATE `gameobject_template` SET `ContentTuningId`=699, `VerifiedBuild`=51261 WHERE `entry`=242989; -- Jailer Cage
-- Creature Movement data
DELETE FROM `creature_template_movement` WHERE `CreatureId` = 105316;
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
(105316, 0, 0, 1, 1, 0, 0, NULL);
-- Creature text
DELETE FROM `creature_text` WHERE `CreatureID` IN (98229, 98354, 99916);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `SoundPlayType`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(98229, 0, 0, 'Activate all three gateways and summon in the rest of our forces.', 12, 0, 100, 0, 0, 55244, 1, 96304, 0, 'Kayn Sunfury to Player'),
(98229, 1, 0, 'I\'ll cut a hole through the demons and meet you in the volcano.', 12, 0, 100, 0, 0, 55245, 1, 100023, 0, 'Kayn Sunfury to Player'),
(98354, 0, 0, 'I will join you. Let\'s kill some more demons.', 12, 0, 100, 0, 0, 55285, 1, 96404, 0, 'Kor\'vas Bloodthorn to Player'),
(99916, 0, 0, 'Plenty of souls were sacrificed here. The activator is powered.', 12, 0, 100, 273, 0, 55344, 0, 101656, 0, 'Sevis Brightflame to Player'),
(99916, 1, 0, 'I will move ahead and find Allari.', 12, 0, 100, 0, 0, 55346, 1, 101657, 0, 'Sevis Brightflame to Player');
-- NPC spellclick
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` = 101518;
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
(101518, 200255, 3, 0);
-- ScriptName
DELETE FROM `spell_script_names` WHERE `spell_id` = 200255;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(200255, 'spell_accepting_felsaber_gift');
-- Update Tracker Channel serverside Spell
UPDATE `serverside_spell` SET `AttributesEx2` = `AttributesEx2` | 0x00000004 WHERE `Id` = 175799;
-- Serverside Spell
DELETE FROM `serverside_spell` WHERE `Id` IN (184561, 200254);
INSERT INTO `serverside_spell` (`Id`, `DifficultyID`, `CategoryId`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `AttributesEx11`, `AttributesEx12`, `AttributesEx13`, `AttributesEx14`, `Stances`, `StancesNot`, `Targets`, `TargetCreatureType`, `RequiresSpellFocus`, `FacingCasterFlags`, `CasterAuraState`, `TargetAuraState`, `ExcludeCasterAuraState`, `ExcludeTargetAuraState`, `CasterAuraSpell`, `TargetAuraSpell`, `ExcludeCasterAuraSpell`, `ExcludeTargetAuraSpell`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `ProcChance`, `ProcCharges`, `ProcCooldown`, `ProcBasePPM`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `Speed`, `LaunchDelay`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `ContentTuningId`, `SpellName`, `ConeAngle`, `ConeWidth`, `MaxTargetLevel`, `MaxAffectedTargets`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `SpellFamilyFlags4`, `DmgClass`, `PreventionType`, `AreaGroupId`, `SchoolMask`, `ChargeCategoryId`) VALUES
(184561, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000080, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Enter the Illidari: Ashtongue - Legion Gateway Kill Credit', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(200254, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000080, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Enter the Illidari: Ashtongue - See Felsaber Kill Credit', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
DELETE FROM `serverside_spell_effect` WHERE `SpellID` IN (184561, 200254) AND `EffectIndex` IN (0, 1);
INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES
(184561, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 88872, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(184561, 1, 0, 140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(200254, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101534, 0, 0, 0, 0, 0, 0, 0, 1, 0);
-- Scene
DELETE FROM `scene_template` WHERE `SceneId`=1053;
INSERT INTO `scene_template` (`SceneId`, `Flags`, `ScriptPackageID`, `Encrypted`) VALUES
(1053, 20, 1451, 0);
UPDATE `scene_template` SET `ScriptName` = 'scene_enter_the_illidari_ashtongue' WHERE `SceneId` = 1053;
-- objective completion effect
DELETE FROM `quest_objectives_completion_effect` WHERE `ObjectiveID` IN (280768, 281156, 281030);
INSERT INTO `quest_objectives_completion_effect` (`ObjectiveID`, `GameEventID`, `SpellID`, `ConversationID`, `UpdatePhaseShift`, `UpdateZoneAuras`) VALUES
(280768, NULL, NULL, NULL, 1, 0),
(281156, NULL, NULL, NULL, 1, 0),
(281030, NULL, NULL, NULL, 1, 0);
-- Quest stuff
DELETE FROM `quest_offer_reward` WHERE `ID`=40378;
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
(40378, 0, 0, 0, 0, 0, 0, 0, 0, 'I saw them run by. Not the most impressive of our troops, but the Ashtongue have proven effective in the past.', 51261); -- Enter the Illidari: Ashtongue
-- Phasing
DELETE FROM `phase_area` WHERE `PhaseId` IN (5463, 5658, 5595, 5094) AND `AreaId` = 7705;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(7705, 5463, 'Sevis Brightflame at Ashtongue Gateway'),
(7705, 5658, 'Felsaber at Ashtongue Gateway'),
(7705, 5595, 'Sevis Brightflame at Dispair Ridge Cave'),
(7705, 5094, 'Allari the Souleater at Dispair Ridge Cave');
-- Sevis Brightflame (Gateway)
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 5463 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 5463, 0, 0, 0, 47, 0, 40378, 8, 0, 0, 'Apply Phase 5463 if Quest 40378 is in progress'),
(26, 5463, 0, 0, 0, 48, 0, 280768, 0, 1, 1, 'Apply Phase 5463 if Questobjective 280768 (Ashtongue forces) is not rewarded');
-- Felsaber
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 5658 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 5658, 0, 0, 0, 47, 0, 40378, 8, 0, 0, 'Apply Phase 5658 if Quest 40378 is in progress'),
(26, 5658, 0, 0, 0, 48, 0, 281158, 0, 1, 0, 'Apply Phase 5658 if Questobjective 281158 (Hidden Felsaber Objective) is rewarded'),
(26, 5658, 0, 0, 0, 48, 0, 281156, 0, 1, 1, 'Apply Phase 5658 if Questobjective 281156 (Accept Illidans Gift) is not rewarded');
-- Sevis Brightflame (cave)
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 5595 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 5595, 0, 0, 0, 47, 0, 40378, 2|64, 0, 0, 'Apply Phase 5595 if Quest 40378 is complete | rewarded');
-- Allari Souleater (cave)
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 5094 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 5094, 0, 0, 0, 47, 0, 40378, 2|8|64, 0, 0, 'Apply Phase 5094 if Quest 40378 is complete | in progress | rewarded');
-- Kayn Path
SET @ENTRY := 98229;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_data` WHERE `id`= @PATH;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`) VALUES
(@PATH, 0, 980.7327, 2950.867, -9.954125, NULL, 0, 1),
(@PATH, 1, 961.9722, 2939.735, -13.23198, NULL, 0, 1),
(@PATH, 2, 951.1823, 2930.971, -14.02309, NULL, 0, 1),
(@PATH, 3, 921.0833, 2908.53, -19.44963, NULL, 0, 1),
(@PATH, 4, 915.7257, 2905.109, -20.14307, NULL, 0, 1);
-- Path Korvas
SET @ENTRY := 98354;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_data` WHERE `id`= @PATH;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`) VALUES
(@PATH, 0, 1005.794, 2955.427, -10.47164, NULL, 0, 1),
(@PATH, 1, 1003.294, 2941.927, -10.22164, NULL, 0, 1),
(@PATH, 2, 992.5443, 2927.677, -8.721643, NULL, 0, 1),
(@PATH, 3, 973.2943, 2916.677, -8.971643, NULL, 0, 1),
(@PATH, 4, 951.5443, 2912.177, -12.22164, NULL, 0, 1),
(@PATH, 5, 921.7943, 2906.927, -18.97164, NULL, 0, 1),
(@PATH, 6, 915.9184, 2904.354, -20.05361, NULL, 0, 1);
-- Path Sevis
SET @ENTRY := 99916;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_data` WHERE `id`= @PATH;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`) VALUES
(@PATH, 0, 1004.658, 2859.47, 4.856629, NULL, 0, 1),
(@PATH, 1, 993.2535, 2864.65, 4.184957, NULL, 0, 1),
(@PATH, 2, 980.0729, 2876.393, 0.9802456, NULL, 0, 1),
(@PATH, 3, 966.257, 2896.878, -6.551769, NULL, 0, 1),
(@PATH, 4, 953.1111, 2902.888, -10.93261, NULL, 0, 1),
(@PATH, 5, 938.8733, 2902.069, -15.50097, NULL, 0, 1),
(@PATH, 6, 934.0608, 2901.299, -16.59744, NULL, 0, 1);
@@ -0,0 +1,44 @@
-- SAI
UPDATE `creature_template` SET `AIName`='' WHERE `entry`=30657;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=6741 AND `id`=3 AND `link`=4;
UPDATE `smart_scripts` SET `id`=3 WHERE `source_type`=0 AND `entryorguid`=6741 AND `id`=4;
UPDATE `smart_scripts` SET `action_type`=33, `action_param1`=15402 WHERE `source_type`=0 AND `entryorguid`=15402 AND `id`=5;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=17612 AND `id`=5 AND `event_type`=6;
UPDATE `smart_scripts` SET `id`=5 WHERE `source_type`=0 AND `entryorguid`=17612 AND `id`=6 AND `event_type`=54;
UPDATE `smart_scripts` SET `id`=6 WHERE `source_type`=0 AND `entryorguid`=17612 AND `id`=7 AND `event_type`=1;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=17716 AND `id`=1;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=19273 AND `id`=0 AND `event_param1`=10162;
UPDATE `smart_scripts` SET `id`=0 WHERE `source_type`=0 AND `entryorguid`=19273 AND `id`=1;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=19851 AND `id`=4;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=20209 AND `id` IN (12,13);
UPDATE `smart_scripts` SET `link`=0 WHERE `source_type`=0 AND `entryorguid`=20209 AND `id`=11;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=20417 AND `id` IN (14,15);
UPDATE `smart_scripts` SET `link`=0 WHERE `source_type`=0 AND `entryorguid`=20417 AND `id`=13;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=20418 AND `id` IN (16,17);
UPDATE `smart_scripts` SET `link`=0 WHERE `source_type`=0 AND `entryorguid`=20418 AND `id`=15;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=20440 AND `id` IN (15,16);
UPDATE `smart_scripts` SET `link`=0 WHERE `source_type`=0 AND `entryorguid`=20440 AND `id`=14;
UPDATE `smart_scripts` SET `action_type`=11, `action_param1`=347365 WHERE `source_type`=0 AND `entryorguid`=25729 AND `id`=21;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=27383 AND `id`=21 AND `action_type`=15;
UPDATE `smart_scripts` SET `id`=21, `event_type`=6 WHERE `source_type`=0 AND `entryorguid`=27383 AND `id`=22;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=28105 AND `id`=11;
UPDATE `smart_scripts` SET `link`=0 WHERE `source_type`=0 AND `entryorguid`=28105 AND `id`=10;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=30657 AND `id`=0;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=198883;
DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=1030700 AND `id`=4;
DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=1848201 AND `id`=3 AND `action_type`=15;
UPDATE `smart_scripts` SET `id`=3 WHERE `source_type`=9 AND `entryorguid`=1848201 AND `id`=4 AND `action_type`=82;
UPDATE `smart_scripts` SET `id`=4 WHERE `source_type`=9 AND `entryorguid`=1848201 AND `id`=5 AND `action_type`=83;
UPDATE `smart_scripts` SET `id`=5 WHERE `source_type`=9 AND `entryorguid`=1848201 AND `id`=6 AND `action_type`=1;
DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=2546001 AND `id`=0 AND `action_type`=15;
UPDATE `smart_scripts` SET `id`=0 WHERE `source_type`=9 AND `entryorguid`=2546001 AND `id`=1 AND `action_param1`=45602;
UPDATE `smart_scripts` SET `id`=1 WHERE `source_type`=9 AND `entryorguid`=2546001 AND `id`=2 AND `action_param1`=46598;
UPDATE `smart_scripts` SET `id`=2 WHERE `source_type`=9 AND `entryorguid`=2546001 AND `id`=3 AND `action_type`=41;
DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=2743901 AND `id`=10 AND `action_type`=15;
UPDATE `smart_scripts` SET `id`=10 WHERE `source_type`=9 AND `entryorguid`=2743901 AND `id`=11 AND `action_type`=1;
UPDATE `smart_scripts` SET `id`=11 WHERE `source_type`=9 AND `entryorguid`=2743901 AND `id`=12 AND `action_type`=17;
UPDATE `smart_scripts` SET `id`=12 WHERE `source_type`=9 AND `entryorguid`=2743901 AND `id`=13 AND `action_type`=97;
UPDATE `smart_scripts` SET `id`=13 WHERE `source_type`=9 AND `entryorguid`=2743901 AND `id`=14 AND `action_type`=41;
UPDATE `smart_scripts` SET `action_type`=56, `action_param1`=22115, `action_param2`=1 WHERE `source_type`=0 AND `entryorguid`=16014 AND `id`=0;
UPDATE `smart_scripts` SET `action_type`=56, `action_param1`=21986, `action_param2`=1 WHERE `source_type`=0 AND `entryorguid`=16032 AND `id`=0;
@@ -0,0 +1 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_algalon_supermassive_fail';
@@ -0,0 +1,346 @@
SET @CGUID := 7000294;
SET @OGUID := 7000018;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+129;
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`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 100161, 1481, 7705, 7740, '0', 0, 0, 0, 0, 1514.8004150390625, 2090.989501953125, 242.975738525390625, 2.505118370056152343, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Legion Devastator (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+1, 101704, 1481, 7705, 7740, '0', 0, 0, 0, 0, 686.1805419921875, 2548.427978515625, -75.7154006958007812, 2.890496015548706054, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Empowered Fel Crystal (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200882 - Visual)
(@CGUID+2, 101704, 1481, 7705, 7740, '0', 0, 0, 0, 0, 869.2569580078125, 2578.997314453125, -39.2085800170898437, 2.890496015548706054, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Empowered Fel Crystal (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200882 - Visual)
(@CGUID+3, 93762, 1481, 7705, 7740, '0', 0, 0, 0, 0, 1800.392333984375, 1569.828125, 87.13105010986328125, 2.614033699035644531, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Legion Devastator (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+4, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 703.1475830078125, 2641.513916015625, -71.26806640625, 3.101679325103759765, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+5, 99650, 1481, 7705, 7740, '0', 0, 0, 0, 0, 724.2181396484375, 2626.51123046875, -64.5419769287109375, 2.065718650817871093, 120, 10, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 51421), -- Thornclaw Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+6, 99656, 1481, 7705, 7740, '0', 0, 0, 0, 0, 1111.2742919921875, 2680.05908203125, -85.8960113525390625, 4.677201747894287109, 120, 8, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 51485), -- Red Broodling (Area: Molten Shore - Difficulty: 0) CreateObject2
(@CGUID+7, 99650, 1481, 7705, 7740, '0', 0, 0, 0, 0, 726.86260986328125, 2684.57275390625, -56.918060302734375, 3.641484975814819335, 120, 0, 0, 5, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Thornclaw Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+8, 101748, 1481, 7705, 7740, '0', 0, 0, 0, 0, 676.310791015625, 2533.799560546875, -79.9267730712890625, 0.122197546064853668, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Fel Geyser (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+9, 101748, 1481, 7705, 7740, '0', 0, 0, 0, 0, 774.984375, 2541.229248046875, -71.0860824584960937, 0.122197546064853668, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Fel Geyser (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+10, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 721.68402099609375, 2602.260498046875, -67.5101318359375, 1.16307222843170166, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+11, 101704, 1481, 7705, 7740, '0', 0, 0, 0, 0, 851.63018798828125, 2755.415771484375, -24.5067634582519531, 2.890496015548706054, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Empowered Fel Crystal (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200882 - Visual)
(@CGUID+12, 101748, 1481, 7705, 7740, '0', 0, 0, 0, 0, 778.890625, 2570.184814453125, -70.8311691284179687, 0.122197546064853668, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Fel Geyser (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+13, 99656, 1481, 7705, 7740, '0', 0, 0, 0, 0, 728.392333984375, 2565.970458984375, -71.2908706665039062, 0.339671969413757324, 120, 10, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 51421), -- Red Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+14, 101288, 1481, 7705, 7740, '0', 0, 0, 0, 0, 776.12847900390625, 2573.580810546875, -70.8311920166015625, 3.08228611946105957, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Abyssal Basilisk (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+15, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 751.09552001953125, 2570.650146484375, -70.6278839111328125, 5.452545642852783203, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+16, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 743.3955078125, 2542.026611328125, -68.9724655151367187, 0.526438891887664794, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+17, 94705, 1481, 7705, 7740, '0', 0, 0, 0, 1, 720.5509033203125, 2559.158447265625, -69.2248077392578125, 1.717803120613098144, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Demon Hunter (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 222589 - Glaive Anim Replacement, 151597 - No NPC Damage Below 45-90%)
(@CGUID+18, 101748, 1481, 7705, 7740, '0', 0, 0, 0, 0, 608.8992919921875, 2483.157958984375, -79.7069854736328125, 0.122197546064853668, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Fel Geyser (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+19, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 720.59722900390625, 2550.366455078125, -69.839874267578125, 1.352822542190551757, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+20, 97142, 1481, 7705, 7740, '0', 0, 0, 0, 0, 812.545166015625, 2558.103271484375, -50.187835693359375, 0, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Fel Spreader (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200681 - Cosmetic - Random 7XP Fel Ground Crack A01 or A02 [scale x0.50])
(@CGUID+21, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 727.734375, 2504.7373046875, -66.598052978515625, 5.820758342742919921, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+22, 96400, 1481, 7705, 7740, '0', 0, 0, 0, 1, 845.71875, 2560.5009765625, -55.896575927734375, 4.524747848510742187, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Mo'arg Brute (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+23, 101288, 1481, 7705, 7740, '0', 0, 0, 0, 0, 691.3992919921875, 2540.887939453125, -77.6073684692382812, 5.567086696624755859, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Abyssal Basilisk (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+24, 101704, 1481, 7705, 7740, '0', 0, 0, 0, 0, 808.70831298828125, 2442.382080078125, -62.2083282470703125, 3.509678840637207031, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Empowered Fel Crystal (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200882 - Visual)
(@CGUID+25, 99351, 1481, 7705, 7740, '0', 0, 0, 0, 0, 1524.5833740234375, 1248.4757080078125, 78.3298492431640625, 0.096725940704345703, 120, 0, 0, 5647, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Legion Devastator Missile (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+26, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 811.607666015625, 2522.239501953125, -55.1407089233398437, 0.037979871034622192, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+27, 94704, 1481, 7705, 7740, '0', 0, 0, 0, 1, 818.98614501953125, 2519.772705078125, -57.7863235473632812, 5.71709442138671875, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Demon Hunter (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 222589 - Glaive Anim Replacement, 151597 - No NPC Damage Below 45-90%)
(@CGUID+28, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 720.01739501953125, 2564.593017578125, -68.738922119140625, 4.81127786636352539, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+29, 101748, 1481, 7705, 7740, '0', 0, 0, 0, 0, 666.2257080078125, 2448.654541015625, -74.3717727661132812, 0.122197546064853668, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Fel Geyser (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+30, 94705, 1481, 7705, 7740, '0', 0, 0, 0, 1, 724.23614501953125, 2555.50341796875, -69.9330291748046875, 5.370468616485595703, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Demon Hunter (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 222589 - Glaive Anim Replacement, 151597 - No NPC Damage Below 45-90%)
(@CGUID+31, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 813.49481201171875, 2511.4697265625, -57.0398368835449218, 0.899337232112884521, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+32, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 728.56597900390625, 2549.903564453125, -68.46051025390625, 2.323580026626586914, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+33, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 713.828125, 2559.068603515625, -68.923004150390625, 3.190244197845458984, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+34, 94705, 1481, 7705, 7740, '0', 0, 0, 0, 1, 722.65106201171875, 2557.651123046875, -69.5788345336914062, 4.074540138244628906, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Demon Hunter (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 222589 - Glaive Anim Replacement, 151597 - No NPC Damage Below 45-90%)
(@CGUID+35, 99650, 1481, 7705, 7740, '0', 0, 0, 0, 0, 792.7734375, 2548.352783203125, -70.14190673828125, 6.135212898254394531, 120, 10, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 51421), -- Thornclaw Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+36, 101748, 1481, 7705, 7740, '0', 0, 0, 0, 0, 818.01910400390625, 2449.303955078125, -60.3062362670898437, 0.122197546064853668, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Fel Geyser (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+37, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 825.826416015625, 2515.428955078125, -60.3531723022460937, 2.38849496841430664, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+38, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 715.80035400390625, 2553.763916015625, -69.244476318359375, 0.840185761451721191, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+39, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 787.5501708984375, 2540.434326171875, -70.2646331787109375, 1.743853092193603515, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+40, 94377, 1481, 7705, 7740, '0', 4925, 0, 0, 0, 784.80902099609375, 2556.115478515625, -70.4079818725585937, 3.135047674179077148, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Cyana Nightglaive (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+41, 97142, 1481, 7705, 7740, '0', 0, 0, 0, 0, 724.8819580078125, 2508.56689453125, -66.7697906494140625, 0.990418970584869384, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Fel Spreader (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200681 - Cosmetic - Random 7XP Fel Ground Crack A01 or A02 [scale x0.50])
(@CGUID+42, 101704, 1481, 7705, 7740, '0', 0, 0, 0, 0, 900.34552001953125, 2482.36279296875, -66.90435791015625, 3.901273250579833984, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Empowered Fel Crystal (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200882 - Visual)
(@CGUID+43, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 788.11981201171875, 2521.74658203125, -59.98577880859375, 2.769697189331054687, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+44, 94704, 1481, 7705, 7740, '0', 0, 0, 0, 1, 817.62677001953125, 2518.3818359375, -57.5501632690429687, 2.571193933486938476, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Demon Hunter (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 222589 - Glaive Anim Replacement, 151597 - No NPC Damage Below 45-90%)
(@CGUID+45, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 754.671875, 2567.015625, -69.21392822265625, 2.003484964370727539, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+46, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 820.87152099609375, 2528.451416015625, -57.4849739074707031, 4.523828506469726562, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+47, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 724.890625, 2511.853271484375, -66.8638076782226562, 1.769054889678955078, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+48, 101288, 1481, 7705, 7740, '0', 0, 0, 0, 0, 758.78125, 2493.59375, -67.560760498046875, 1.705380201339721679, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Abyssal Basilisk (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+49, 99650, 1481, 7705, 7740, '0', 0, 0, 0, 0, 770.4417724609375, 2493.4384765625, -65.6063995361328125, 2.749657154083251953, 120, 10, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 51421), -- Thornclaw Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+50, 99650, 1481, 7705, 7740, '0', 0, 0, 0, 0, 720.8629150390625, 2483.55810546875, -67.2875823974609375, 1.671964406967163085, 120, 10, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 51421), -- Thornclaw Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+51, 101288, 1481, 7705, 7740, '0', 0, 0, 0, 0, 687.8607177734375, 2496.469482421875, -64.9591140747070312, 5.632848739624023437, 120, 4, 0, 3106, 0, 1, NULL, NULL, NULL, NULL, 51421), -- Abyssal Basilisk (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+52, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 777.6163330078125, 2488.772705078125, -64.5592880249023437, 5.5130462646484375, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+53, 101748, 1481, 7705, 7740, '0', 0, 0, 0, 0, 671.45660400390625, 2385.857666015625, -73.6159820556640625, 0.122197546064853668, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Fel Geyser (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+54, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 748.26043701171875, 2472.088623046875, -62.5730056762695312, 3.935703277587890625, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+55, 93105, 1481, 7705, 7740, '0', 0, 0, 0, 1, 592.58160400390625, 2432.890625, -72.1940078735351562, 3.19030618667602539, 120, 0, 0, 17083, 1534, 0, NULL, NULL, NULL, NULL, 51421), -- Inquisitor Baleful (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 204360 - Cosmetic - Soulgorged)
(@CGUID+56, 94400, 1481, 7705, 7740, '0', 4931, 0, 0, 0, 743.8125, 2467.5625, -62.9644508361816406, 6.068506717681884765, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Belath Dawnblade (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+57, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 699.921875, 2452.022705078125, -67.8506927490234375, 0.245456099510192871, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+58, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 701.40802001953125, 2454.138916015625, -67.4114532470703125, 6.092394351959228515, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+59, 101288, 1481, 7705, 7740, '0', 0, 0, 0, 0, 809.0113525390625, 2456.118408203125, -59.0572853088378906, 2.67821049690246582, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Abyssal Basilisk (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+60, 101288, 1481, 7705, 7740, '0', 0, 0, 0, 0, 805.5399169921875, 2453.045166015625, -58.9226150512695312, 2.841375589370727539, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Abyssal Basilisk (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+61, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 830.32464599609375, 2472.520751953125, -55.8187103271484375, 2.405482053756713867, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+62, 101748, 1481, 7705, 7740, '0', 0, 0, 0, 0, 653.685791015625, 2357.2587890625, -73.8222198486328125, 0.122197546064853668, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Fel Geyser (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+63, 97594, 1481, 7705, 7740, '0', 0, 0, 0, 0, 767.99652099609375, 2433.088623046875, -59.9923248291015625, 2.9993743896484375, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 159474 - Permanent Feign Death (NO Stun, Untrackable, Immune))
(@CGUID+64, 94655, 1481, 7705, 7740, '0', 0, 0, 0, 0, 842.64306640625, 2485.652587890625, -58.456573486328125, 5.412866592407226562, 120, 10, 0, 1129, 0, 1, NULL, NULL, NULL, NULL, 51421), -- Soul Leech (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+65, 97592, 1481, 7705, 7740, '0', 0, 0, 0, 1, 770.890625, 2403.59716796875, -60.2691802978515625, 1.832386016845703125, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 159474 - Permanent Feign Death (NO Stun, Untrackable, Immune))
(@CGUID+66, 99650, 1481, 7705, 7740, '0', 0, 0, 0, 0, 782.396484375, 2415.90625, -59.0141258239746093, 1.113476037979125976, 120, 10, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 51421), -- Thornclaw Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+67, 101704, 1481, 7705, 7740, '0', 0, 0, 0, 0, 959.248291015625, 2501.064208984375, -69.051544189453125, 2.890496015548706054, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Empowered Fel Crystal (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200882 - Visual)
(@CGUID+68, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 867.42706298828125, 2491.817626953125, -58.337371826171875, 1.947656512260437011, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+69, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 712.3975830078125, 2425.47216796875, -66.549835205078125, 0.874155998229980468, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+70, 24021, 1481, 7705, 7740, '0', 0, 0, 0, 0, 774.670166015625, 2388.9462890625, -55.3671035766601562, 1.615941643714904785, 120, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 51421), -- ELM General Purpose Bunny (scale x0.01) (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+71, 99650, 1481, 7705, 7740, '0', 0, 0, 0, 0, 850.7530517578125, 2404.57958984375, -52.0062637329101562, 5.874868392944335937, 120, 10, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 51421), -- Thornclaw Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+72, 99656, 1481, 7705, 7740, '0', 0, 0, 0, 0, 747.02740478515625, 2385.611328125, -60.5574264526367187, 2.766393423080444335, 120, 0, 0, 5, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Red Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+73, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 711.33160400390625, 2427.62841796875, -67.1776580810546875, 0.779378354549407958, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+74, 94655, 1481, 7705, 7740, '0', 0, 0, 0, 0, 804.15118408203125, 2350.269775390625, -55.878143310546875, 2.533825397491455078, 120, 0, 0, 1129, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Soul Leech (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+75, 101288, 1481, 7705, 7740, '0', 0, 0, 0, 0, 717.2257080078125, 2367.1494140625, -61.5453224182128906, 4.921953201293945312, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Abyssal Basilisk (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+76, 101288, 1481, 7705, 7740, '0', 0, 0, 0, 0, 748.9110107421875, 2350.80859375, -62.1968841552734375, 5.332595348358154296, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Abyssal Basilisk (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+77, 101288, 1481, 7705, 7740, '0', 0, 0, 0, 0, 675.63018798828125, 2454.630126953125, -72.4127273559570312, 0.635104954242706298, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Abyssal Basilisk (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+78, 99650, 1481, 7705, 7740, '0', 0, 0, 0, 0, 700.02642822265625, 2362.47802734375, -66.4420242309570312, 4.207536220550537109, 120, 0, 0, 5, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Thornclaw Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+79, 94651, 1481, 7705, 7740, '0', 0, 0, 0, 0, 685.33685302734375, 2373.4736328125, -72.5990447998046875, 1.312961578369140625, 120, 6, 0, 1243, 3801, 1, NULL, NULL, NULL, NULL, 51421), -- Hellish Imp (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200372 - Hellish)
(@CGUID+80, 101288, 1481, 7705, 7740, '0', 0, 0, 0, 0, 659.02606201171875, 2475.9462890625, -69.5978775024414062, 3.44576430320739746, 120, 4, 0, 3106, 0, 1, NULL, NULL, NULL, NULL, 51421), -- Abyssal Basilisk (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+81, 94651, 1481, 7705, 7740, '0', 0, 0, 0, 0, 671.586669921875, 2383.81103515625, -74.4124679565429687, 3.069761991500854492, 120, 6, 0, 1243, 3801, 1, NULL, NULL, NULL, NULL, 51421), -- Hellish Imp (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200372 - Hellish)
(@CGUID+82, 94651, 1481, 7705, 7740, '0', 0, 0, 0, 0, 673.0185546875, 2376.36376953125, -73.850006103515625, 2.546547889709472656, 120, 6, 0, 1243, 3801, 1, NULL, NULL, NULL, NULL, 51421), -- Hellish Imp (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200372 - Hellish)
(@CGUID+83, 99656, 1481, 7705, 7740, '0', 0, 0, 0, 0, 651.16143798828125, 2416.236083984375, -74.4586334228515625, 4.331264019012451171, 120, 0, 0, 5, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Red Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+84, 94651, 1481, 7705, 7740, '0', 0, 0, 0, 0, 680.08502197265625, 2333.3330078125, -65.6512069702148437, 3.141592741012573242, 120, 6, 0, 1243, 3801, 1, NULL, NULL, NULL, NULL, 51421), -- Hellish Imp (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200372 - Hellish)
(@CGUID+85, 94651, 1481, 7705, 7740, '0', 0, 0, 0, 0, 675.77789306640625, 2326.7607421875, -63.2224922180175781, 4.885081768035888671, 120, 6, 0, 1243, 3801, 1, NULL, NULL, NULL, NULL, 51421), -- Hellish Imp (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200372 - Hellish) (possible waypoints or random movement)
(@CGUID+86, 94651, 1481, 7705, 7740, '0', 0, 0, 0, 0, 657.12335205078125, 2332.8291015625, -68.4766082763671875, 5.52264404296875, 120, 6, 0, 1243, 3801, 1, NULL, NULL, NULL, NULL, 51421), -- Hellish Imp (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200372 - Hellish) (possible waypoints or random movement)
(@CGUID+87, 94655, 1481, 7705, 7740, '0', 0, 0, 0, 0, 641.3680419921875, 2357.885498046875, -72.45556640625, 1.653881549835205078, 120, 0, 0, 1129, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Soul Leech (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+88, 94651, 1481, 7705, 7740, '0', 0, 0, 0, 0, 683.1820068359375, 2322.04931640625, -66.9907379150390625, 4.415216922760009765, 120, 6, 0, 1243, 3801, 1, NULL, NULL, NULL, NULL, 51421), -- Hellish Imp (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200372 - Hellish) (possible waypoints or random movement)
(@CGUID+89, 94651, 1481, 7705, 7740, '0', 0, 0, 0, 0, 646.5003662109375, 2327.607666015625, -74.0891952514648437, 1.103636860847473144, 120, 6, 0, 1243, 3801, 1, NULL, NULL, NULL, NULL, 51421), -- Hellish Imp (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200372 - Hellish) (possible waypoints or random movement)
(@CGUID+90, 94655, 1481, 7705, 7740, '0', 0, 0, 0, 0, 649.322998046875, 2485.212646484375, -79.271209716796875, 5.407039165496826171, 120, 10, 0, 1129, 0, 1, NULL, NULL, NULL, NULL, 51421), -- Soul Leech (Area: Molten Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+91, 94651, 1481, 7705, 7740, '0', 0, 0, 0, 0, 657.01910400390625, 2321.859375, -70.5279388427734375, 5.15083169937133789, 120, 6, 0, 1243, 3801, 1, NULL, NULL, NULL, NULL, 51421), -- Hellish Imp (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200372 - Hellish) (possible waypoints or random movement)
(@CGUID+92, 96400, 1481, 7705, 7740, '0', 0, 0, 0, 1, 622.36456298828125, 2351.5556640625, -72.3597564697265625, 1.20625007152557373, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Mo'arg Brute (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+93, 94655, 1481, 7705, 7740, '0', 0, 0, 0, 0, 587.2965087890625, 2418.483154296875, -70.872833251953125, 4.285918235778808593, 120, 0, 0, 1129, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Soul Leech (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+94, 94651, 1481, 7705, 7740, '0', 0, 0, 0, 0, 595.84027099609375, 2490.647705078125, -73.5553359985351562, 5.15083169937133789, 120, 6, 0, 1243, 3801, 1, NULL, NULL, NULL, NULL, 51421), -- Hellish Imp (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200372 - Hellish)
(@CGUID+95, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 602.310791015625, 2375.43408203125, -71.3903961181640625, 0.46358230710029602, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+96, 94651, 1481, 7705, 7740, '0', 0, 0, 0, 0, 594.9691162109375, 2501.10546875, -84.2200927734375, 1.025486350059509277, 120, 6, 0, 1243, 3801, 1, NULL, NULL, NULL, NULL, 51421), -- Hellish Imp (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 200372 - Hellish)
(@CGUID+97, 94655, 1481, 7705, 7740, '0', 0, 0, 0, 0, 580.74444580078125, 2360.3818359375, -72.1720046997070312, 2.612393617630004882, 120, 0, 0, 1129, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Soul Leech (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+98, 94655, 1481, 7705, 7740, '0', 0, 0, 0, 0, 580.3350830078125, 2479.3427734375, -71.425079345703125, 1.350220441818237304, 120, 0, 0, 1129, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Soul Leech (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+99, 94655, 1481, 7705, 7740, '0', 0, 0, 0, 0, 850.4320068359375, 2342.5, -48.8568229675292968, 4.69892740249633789, 120, 0, 0, 1129, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Soul Leech (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+100, 94655, 1481, 7705, 7740, '0', 0, 0, 0, 0, 908.0164794921875, 2479.31787109375, -65.9530258178710937, 0.882936418056488037, 120, 0, 0, 1129, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Soul Leech (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+101, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 920.80206298828125, 2447.88720703125, -69.81585693359375, 5.5778961181640625, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+102, 93230, 1481, 7705, 7740, '0', 4927, 0, 0, 0, 910.38543701171875, 2473.609375, -66.552337646484375, 3.508423566818237304, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Mannethrel Darkstar (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+103, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 900.19964599609375, 2520.203125, -59.2559967041015625, 3.017223119735717773, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+104, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 905.88714599609375, 2467.420166015625, -66.566497802734375, 0.847090303897857666, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+105, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 934.484375, 2541.452392578125, -55.4511299133300781, 6.169494152069091796, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+106, 94704, 1481, 7705, 7740, '0', 0, 0, 0, 1, 945.82293701171875, 2543.856689453125, -53.827239990234375, 3.35019540786743164, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Demon Hunter (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 222589 - Glaive Anim Replacement, 151597 - No NPC Damage Below 45-90%)
(@CGUID+107, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 933.1475830078125, 2546.431396484375, -57.3190803527832031, 5.860684871673583984, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+108, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 895.59552001953125, 2532.501708984375, -58.8618659973144531, 3.754224061965942382, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+109, 94705, 1481, 7705, 7740, '0', 0, 0, 0, 1, 947.54168701171875, 2539.96435546875, -53.701812744140625, 2.714356422424316406, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Demon Hunter (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 222589 - Glaive Anim Replacement, 151597 - No NPC Damage Below 45-90%)
(@CGUID+110, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 938.890625, 2531.669189453125, -56.1672134399414062, 0.712100505828857421, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+111, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 935.670166015625, 2535.377685546875, -55.98150634765625, 0.369032442569732666, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: 151597 - No NPC Damage Below 45-90%)
(@CGUID+112, 99656, 1481, 7705, 7740, '0', 0, 0, 0, 0, 912.632568359375, 2545.12744140625, -59.8159637451171875, 2.462733983993530273, 120, 0, 0, 5, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Red Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+113, 99656, 1481, 7705, 7740, '0', 0, 0, 0, 0, 879.1925048828125, 2557.44970703125, -51.7525634765625, 4.235692501068115234, 120, 0, 0, 5, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Red Broodling (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+114, 94655, 1481, 7705, 7740, '0', 0, 0, 0, 0, 882.07183837890625, 2577.910888671875, -56.2125320434570312, 4.423254013061523437, 120, 0, 0, 1129, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Soul Leech (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+115, 95226, 1481, 7705, 7740, '0', 0, 0, 0, 0, 876.78472900390625, 2576.497314453125, -56.7383956909179687, 1.273130536079406738, 120, 0, 0, 4348, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Anguish Jailer (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+116, 93117, 1481, 7705, 7740, '0', 4932, 0, 0, 0, 879.36285400390625, 2584.901123046875, -56.706451416015625, 3.992730140686035156, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51421), -- Izal Whitemoon (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+117, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 997.85418701171875, 2612.895751953125, -60.6213607788085937, 3.093807220458984375, 120, 10, 0, 3106, 0, 1, NULL, NULL, NULL, NULL, 51485), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject2
(@CGUID+118, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 949.125, 2593.734375, -58.4112968444824218, 3.196338653564453125, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51485), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject2
(@CGUID+119, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 952.8507080078125, 2588.684814453125, -59.1456108093261718, 3.959872722625732421, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51485), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject2
(@CGUID+120, 94655, 1481, 7705, 7740, '0', 0, 0, 0, 0, 980.984375, 2546.1337890625, -46.4631195068359375, 3.774551630020141601, 120, 8, 0, 1129, 0, 1, NULL, NULL, NULL, NULL, 51485), -- Soul Leech (Area: Molten Shore - Difficulty: 0) CreateObject2
(@CGUID+121, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 1030.361083984375, 2544.067626953125, -39.345489501953125, 0.828900337219238281, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51485), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject1
(@CGUID+122, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 982.84893798828125, 2537.442626953125, -44.8555526733398437, 2.840184688568115234, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51485), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+123, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 996.00518798828125, 2563.9765625, -41.9175224304199218, 3.720093488693237304, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51485), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+124, 93112, 1481, 7705, 7740, '0', 0, 0, 0, 1, 1033.154541015625, 2543.7275390625, -39.0434036254882812, 0.87449049949645996, 120, 0, 0, 3106, 0, 0, NULL, NULL, NULL, NULL, 51485), -- Felguard Sentry (Area: Molten Shore - Difficulty: 0) CreateObject2
(@CGUID+125, 99650, 1481, 7705, 7740, '0', 0, 0, 0, 0, 1060.8021240234375, 2554.94970703125, -35.5891799926757812, 2.352654933929443359, 120, 6, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 51485), -- Thornclaw Broodling (Area: Molten Shore - Difficulty: 0) CreateObject2
(@CGUID+126, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 1062.99658203125, 2661.22998046875, -77.9292984008789062, 0.646911680698394775, 120, 10, 0, 3106, 0, 1, NULL, NULL, NULL, NULL, 51485), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+127, 99650, 1481, 7705, 7740, '0', 0, 0, 0, 0, 1042.2413330078125, 2619.85498046875, -69.849822998046875, 0.856969892978668212, 120, 8, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 51485), -- Thornclaw Broodling (Area: Molten Shore - Difficulty: 0) CreateObject2
(@CGUID+128, 93115, 1481, 7705, 7740, '0', 0, 0, 0, 0, 1024.092041015625, 2633.796875, -62.987518310546875, 1.566091179847717285, 120, 10, 0, 3106, 0, 1, NULL, NULL, NULL, NULL, 51485), -- Foul Felstalker (Area: Molten Shore - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+129, 99656, 1481, 7705, 7740, '0', 0, 0, 0, 0, 1060.5416259765625, 2678.30908203125, -75.5465011596679687, 5.168666839599609375, 120, 8, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 51485); -- Red Broodling (Area: Molten Shore - Difficulty: 0) CreateObject2
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+129;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+65, 0, 0, 0, 0, 4, 1, 0, 0, 0, 0, 0, 0, '159474'); -- Felguard Sentry - 159474 - Permanent Feign Death (NO Stun, Untrackable, Immune)
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+7;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+0, 242987, 1481, 7705, 7740, '0', 0, 0, 879.4461669921875, 2584.973876953125, -56.7891921997070312, 3.992181777954101562, 0, 0, -0.91091728210449218, 0.412589073181152343, 120, 255, 1, 51421), -- Jailer Cage (Area: Molten Shore - Difficulty: 0) CreateObject1
(@OGUID+1, 241756, 1481, 7705, 7740, '0', 0, 0, 775.185791015625, 2389.072998046875, -58.26275634765625, 1.698262214660644531, -0.03015041351318359, -0.0547800064086914, 0.748689651489257812, 0.659965097904205322, 120, 255, 1, 51421), -- Legion Gateway Activator (Area: Molten Shore - Difficulty: 0) CreateObject1
(@OGUID+2, 242990, 1481, 7705, 7740, '0', 0, 0, 910.420166015625, 2473.604248046875, -66.6402816772460937, 3.505491256713867187, 0, 0, -0.98349285125732421, 0.180946916341781616, 120, 255, 1, 51421), -- Jailer Cage (Area: Molten Shore - Difficulty: 0) CreateObject1
(@OGUID+3, 244916, 1481, 7705, 7740, '0', 0, 0, 784.71875, 2556.1728515625, -70.4913177490234375, 3.14776921272277832, 0, 0, -0.99999523162841796, 0.003088161814957857, 120, 255, 1, 51421), -- Jailer Cage (Area: Molten Shore - Difficulty: 0) CreateObject1
(@OGUID+4, 244440, 1481, 7705, 7740, '0', 0, 0, 751.732666015625, 2460.9306640625, -62.3934745788574218, 0.118905484676361083, 0, 0, 0.059417724609375, 0.998233199119567871, 120, 255, 1, 51421), -- Legion Communicator (Area: Molten Shore - Difficulty: 0) CreateObject1
(@OGUID+5, 242989, 1481, 7705, 7740, '0', 0, 0, 743.80206298828125, 2467.59375, -63.0486335754394531, 6.061135768890380859, 0, 0, -0.11079692840576171, 0.99384307861328125, 120, 255, 1, 51421), -- Jailer Cage (Area: Molten Shore - Difficulty: 0) CreateObject1
(@OGUID+6, 244439, 1481, 7705, 7740, '0', 0, 0, 937.61981201171875, 2835.83154296875, 1.292487740516662597, 1.279170751571655273, 0, 0, 0.59686279296875, 0.802343368530273437, 120, 255, 1, 51421), -- Legion Communicator (Area: Molten Shore - Difficulty: 0) CreateObject1
(@OGUID+7, 244441, 1481, 7705, 7740, '0', 0, 0, 1246.9132080078125, 2522.4609375, 1.859429240226745605, 3.22068643569946289, 0.08490610122680664, -0.00177192687988281, -0.99562549591064453, 0.038957837969064712, 120, 255, 1, 51421); -- Legion Communicator (Area: Molten Shore - Difficulty: 0) CreateObject1
-- GameObject Template Addon
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (244441 /*Legion Communicator*/, 244439 /*Legion Communicator*/, 242989 /*Jailer Cage*/, 244440 /*Legion Communicator*/, 244916 /*Jailer Cage*/, 242990 /*Jailer Cage*/, 241756 /*Legion Gateway Activator*/, 242987 /*Jailer Cage*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(244441, 0, 262176, 0, 0), -- Legion Communicator
(244439, 0, 262176, 0, 0), -- Legion Communicator
(242989, 0, 262176, 0, 0), -- Jailer Cage
(244440, 0, 262176, 0, 0), -- Legion Communicator
(244916, 0, 262176, 0, 0), -- Jailer Cage
(242990, 0, 262176, 0, 0), -- Jailer Cage
(241756, 0, 262176, 0, 0), -- Legion Gateway Activator
(242987, 0, 262176, 0, 0); -- Jailer Cage
-- Creature Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (94651, 93105, 95226, 94704, 94705);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(94651, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '200372'), -- 94651 (Hellish Imp) - Hellish
(93105, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 3, ''), -- 93105 (Inquisitor Baleful) - Cosmetic - Soulgorged
(95226, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '151597'), -- 95226 (Anguish Jailer) - No NPC Damage Below 45-90%
(94704, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '222589 151597'), -- 94704 (Demon Hunter) - Glaive Anim Replacement, No NPC Damage Below 45-90%
(94705, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '222589 151597'); -- 94705 (Demon Hunter) - Glaive Anim Replacement, No NPC Damage Below 45-90%
-- Creature Movement
DELETE FROM `creature_template_movement` WHERE `CreatureId` = 101704;
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
(101704, 0, 0, 1, 0, 0, 0, NULL);
-- Phasing
DELETE FROM `phase_area` WHERE `PhaseId` IN (4925, 4931, 4927, 4932) AND `AreaId` = 7705;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(7705, 4925, 'Cyana Nightglaive caged Molten Shore'),
(7705, 4931, 'Belath Dawnblade caged Molten Shore'),
(7705, 4927, 'Mannethrel Darkstar caged Molten Shore'),
(7705, 4932, 'Izal Whitemoon caged Molten Shore');
-- Conditions
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 4925 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 4925, 0, 0, 0, 47, 0, 40378, 2|64, 0, 1, 'Apply Phase 4925 if Quest 38759 is not complete | rewarded'),
(26, 4925, 0, 0, 0, 48, 0, 280293, 0, 1, 1, 'Apply Phase 4925 if Questobjective 280293 (Cyana Nightglaive) is not rewarded');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 4931 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 4931, 0, 0, 0, 47, 0, 40378, 2|64, 0, 1, 'Apply Phase 4931 if Quest 38759 is not complete | rewarded'),
(26, 4931, 0, 0, 0, 48, 0, 278928, 0, 1, 1, 'Apply Phase 4931 if Questobjective 278928 (Belath Dawnblade) is not rewarded');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 4927 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 4927, 0, 0, 0, 47, 0, 40378, 2|64, 0, 1, 'Apply Phase 4927 if Quest 38759 is not complete | rewarded'),
(26, 4927, 0, 0, 0, 48, 0, 278413, 0, 1, 1, 'Apply Phase 4927 if Questobjective 278413 (Mannethrel Darkstar) is not rewarded');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 4932 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 4932, 0, 0, 0, 47, 0, 40378, 2|64, 0, 1, 'Apply Phase 4932 if Quest 38759 is not complete | rewarded'),
(26, 4932, 0, 0, 0, 48, 0, 278929, 0, 1, 1, 'Apply Phase 4932 if Questobjective 278929 (Izal Whitemoon) is not rewarded');
-- Demon Hunter smart ai
SET @ENTRY := 94704;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @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, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack');
SET @ENTRY := 94705;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @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, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack');
-- Demons smartAI
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` IN (93112, 93115, 95226);
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` IN (-(@CGUID+32), -(@CGUID+19), -(@CGUID+38), -(@CGUID+33), -(@CGUID+28), -(@CGUID+31), -(@CGUID+26), -(@CGUID+46), -(@CGUID+37), -(@CGUID+107), -(@CGUID+105), -(@CGUID+111), -(@CGUID+110));
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
(-(@CGUID+32), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack'),
(-(@CGUID+19), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack'),
(-(@CGUID+38), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack'),
(-(@CGUID+33), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack'),
(-(@CGUID+28), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack'),
(-(@CGUID+31), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack'),
(-(@CGUID+26), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack'),
(-(@CGUID+46), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack'),
(-(@CGUID+37), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack'),
(-(@CGUID+107), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack'),
(-(@CGUID+105), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack'),
(-(@CGUID+111), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack'),
(-(@CGUID+110), 0, 0, 0, 1, 0, 100, 0, 1000, 1000, 1000, 1000, 49, 0, 0, 0, 0, 0, 0, 25, 10, 0, 0, 0, 0, 0, 0, 'Every 1 seconds (OOC) - Closest enemy creature in 10 yards: Start Attack');
-- Serverside Spells
DELETE FROM `serverside_spell` WHERE `Id` IN (204714, 204715, 204711, 204712);
INSERT INTO `serverside_spell` (`Id`, `DifficultyID`, `CategoryId`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `AttributesEx11`, `AttributesEx12`, `AttributesEx13`, `AttributesEx14`, `Stances`, `StancesNot`, `Targets`, `TargetCreatureType`, `RequiresSpellFocus`, `FacingCasterFlags`, `CasterAuraState`, `TargetAuraState`, `ExcludeCasterAuraState`, `ExcludeTargetAuraState`, `CasterAuraSpell`, `TargetAuraSpell`, `ExcludeCasterAuraSpell`, `ExcludeTargetAuraSpell`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `ProcChance`, `ProcCharges`, `ProcCooldown`, `ProcBasePPM`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `Speed`, `LaunchDelay`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `ContentTuningId`, `SpellName`, `ConeAngle`, `ConeWidth`, `MaxTargetLevel`, `MaxAffectedTargets`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `SpellFamilyFlags4`, `DmgClass`, `PreventionType`, `AreaGroupId`, `SchoolMask`, `ChargeCategoryId`) VALUES
(204714, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000080, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Set Them Free: Izal Whitemoon Freed Kill Credit', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(204715, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000080, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Set Them Free: Mannethrel Darkstar Freed Kill Credit', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(204711, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000080, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Set Them Free: Cyana Nightglaive Freed Kill Credit', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(204712, 0, 0, 0, 0, 0, 0, 0, 0, 0x00000080, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Set Them Free: Belath Dawnblade Freed Kill Credit', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
DELETE FROM `serverside_spell_effect` WHERE `SpellID` IN (204714, 204715, 204711, 204712) AND `EffectIndex` = 0;
INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES
(204714, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 93117, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(204715, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 93230, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(204711, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94377, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(204712, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94400, 0, 0, 0, 0, 0, 0, 0, 1, 0);
-- Objective completion effect
DELETE FROM `quest_objectives_completion_effect` WHERE `ObjectiveID` IN (278413, 278928, 278929, 280293);
INSERT INTO `quest_objectives_completion_effect` (`ObjectiveID`, `GameEventID`, `SpellID`, `ConversationID`, `UpdatePhaseShift`, `UpdateZoneAuras`) VALUES
(278413, NULL, NULL, NULL, 1, 0),
(278928, NULL, NULL, NULL, 1, 0),
(278929, NULL, NULL, NULL, 1, 0),
(280293, NULL, NULL, NULL, 1, 0);
-- Waypoints for CGUID+15
SET @ENTRY := 95226;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_data` WHERE `id`= @PATH;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`) VALUES
(@PATH, 0, 730.9236, 2635.785, -61.66982, NULL, 0),
(@PATH, 1, 731.9948, 2647.705, -59.80316, NULL, 0),
(@PATH, 2, 732.8715, 2655.212, -58.73685, NULL, 11655),
(@PATH, 3, 731.9948, 2647.705, -59.80316, NULL, 0),
(@PATH, 4, 730.9236, 2635.785, -61.66982, NULL, 0),
(@PATH, 5, 729.9219, 2622.674, -63.41138, NULL, 0),
(@PATH, 6, 730.0816, 2605.233, -65.8267, NULL, 0),
(@PATH, 7, 733.8924, 2592.903, -68.18188, NULL, 0),
(@PATH, 8, 741.0018, 2581.665, -69.03427, NULL, 0),
(@PATH, 9, 751.0955, 2570.65, -70.62788, NULL, 11774),
(@PATH, 10, 741.0018, 2581.665, -69.03427, NULL, 0),
(@PATH, 11, 733.8924, 2592.903, -68.18188, NULL, 0),
(@PATH, 12, 730.0816, 2605.233, -65.8267, NULL, 0),
(@PATH, 13, 729.9219, 2622.674, -63.41138, NULL, 0);
UPDATE `creature` SET `position_x`= 730.9236, `position_y`= 2635.785, `position_z`= -61.66982, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+15;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+15;
INSERT INTO `creature_addon` (`guid`, `path_id`, `SheathState`) VALUES
(@CGUID+15, @PATH, 1);
-- Waypoint for CGUID+16
SET @ENTRY := 95226;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_data` WHERE `id`= @PATH;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`) VALUES
(@PATH, 0, 718.257, 2523.542, -71.65739, NULL, 0),
(@PATH, 1, 731.3646, 2535.028, -71.03369, NULL, 0),
(@PATH, 2, 750.9809, 2546.435, -69.064, NULL, 0),
(@PATH, 3, 768.6992, 2557.714, -70.30438, NULL, 0),
(@PATH, 4, 773.2726, 2559.714, -70.48952, NULL, 0),
(@PATH, 5, 777.8195, 2558.717, -70.49082, NULL, 20305),
(@PATH, 6, 773.2726, 2559.714, -70.48952, NULL, 0),
(@PATH, 7, 768.7361, 2557.748, -70.32924, NULL, 0),
(@PATH, 8, 750.9809, 2546.435, -69.064, NULL, 0),
(@PATH, 9, 731.3646, 2535.028, -71.03369, NULL, 0),
(@PATH, 10, 718.257, 2523.542, -71.65739, NULL, 0),
(@PATH, 11, 715.7465, 2518.943, -72.43728, NULL, 11632);
UPDATE `creature` SET `position_x`= 718.257, `position_y`= 2523.542, `position_z`= -71.65739, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+16;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+16;
INSERT INTO `creature_addon` (`guid`, `path_id`, `SheathState`) VALUES
(@CGUID+16, @PATH, 1);
-- Waypoints for CGUID+52
SET @ENTRY := 95226;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_data` WHERE `id`= @PATH;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`) VALUES
(@PATH, 0, 750.0955, 2503.064, -67.21629, NULL, 0),
(@PATH, 1, 760.8837, 2502.564, -66.86293, NULL, 0),
(@PATH, 2, 770.8629, 2495.41, -65.83532, NULL, 0),
(@PATH, 3, 777.6163, 2488.773, -64.55929, NULL, 14148),
(@PATH, 4, 770.8629, 2495.41, -65.83532, NULL, 0),
(@PATH, 5, 760.8837, 2502.564, -66.86293, NULL, 0),
(@PATH, 6, 750.0955, 2503.064, -67.21629, NULL, 0),
(@PATH, 7, 738.4549, 2498.04, -67.27545, NULL, 0),
(@PATH, 8, 731.1077, 2491.45, -67.30695, NULL, 0),
(@PATH, 9, 724.7691, 2480.991, -67.28758, NULL, 0),
(@PATH, 10, 721.6424, 2471.071, -67.25008, NULL, 0),
(@PATH, 11, 721.8455, 2459.281, -66.11234, NULL, 0),
(@PATH, 12, 725.467, 2449.91, -65.11401, NULL, 0),
(@PATH, 13, 738.2778, 2444.851, -63.89267, NULL, 0),
(@PATH, 14, 748.9583, 2443.33, -63.12173, NULL, 0),
(@PATH, 15, 760.2778, 2444.455, -62.15059, NULL, 18284),
(@PATH, 16, 748.9583, 2443.33, -63.12173, NULL, 0),
(@PATH, 17, 738.2778, 2444.851, -63.89267, NULL, 0),
(@PATH, 18, 725.467, 2449.91, -65.11401, NULL, 0),
(@PATH, 19, 721.8633, 2459.236, -66.18636, NULL, 0),
(@PATH, 20, 721.6424, 2471.071, -67.25008, NULL, 0),
(@PATH, 21, 724.7691, 2480.991, -67.28758, NULL, 0),
(@PATH, 22, 731.1077, 2491.45, -67.30695, NULL, 0),
(@PATH, 23, 738.4549, 2498.04, -67.27545, NULL, 0);
UPDATE `creature` SET `position_x`= 750.0955, `position_y`= 2503.064, `position_z`= -67.21629, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+52;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+52;
INSERT INTO `creature_addon` (`guid`, `path_id`, `SheathState`) VALUES
(@CGUID+52, @PATH, 1);
@@ -0,0 +1,54 @@
-- Creature Text
DELETE FROM `creature_text` WHERE `CreatureID` = 100982;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(100982, 0, 0, 'I will meet you down at the gateway on the Molten Shore.', 12, 0, 100, 0, 0, 53104, 103349, 5, 'Sevis Brightflame to Player');
-- Sevis Brightflame (cave)
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 5595 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 5595, 0, 0, 0, 47, 0, 40378, 2|64, 0, 0, 'Apply Phase 5595 if Quest 40378 is complete | rewarded'),
(26, 5595, 0, 0, 0, 47, 0, 40379, 2|8|64, 0, 1, 'Apply Phase 5595 if Quest 40378 is not in progress | complete | rewarded');
-- Quest stuff
DELETE FROM `quest_details` WHERE `ID`=40379;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(40379, 1, 0, 0, 0, 0, 0, 0, 0, 51536); -- Enter the Illidari: Coilskar
DELETE FROM `creature_queststarter` WHERE (`id`=100982 AND `quest`=40379);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(100982, 40379, 51536); -- Enter the Illidari: Coilskar offered Sevis Brightflame
DELETE FROM `quest_template_addon` WHERE `ID` = 40379;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(40379, 0, 0, 0, 40378, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
-- Path Sevis Brightflame
SET @ENTRY := 100982;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_data` WHERE `id`= @PATH;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`) VALUES
(@PATH, 0, 820.3646, 2771.537, -30.75556, NULL, 0, 1),
(@PATH, 1, 803.1771, 2772.341, -33.35608, NULL, 0, 1),
(@PATH, 2, 786.9636, 2761.554, -37.11161, NULL, 0, 1),
(@PATH, 3, 773.6198, 2747.844, -41.77515, NULL, 0, 1),
(@PATH, 4, 764.1945, 2733.08, -45.57618, NULL, 0, 1),
(@PATH, 5, 756.1962, 2716.664, -49.0556, NULL, 0, 1);
-- Sevis Brightflame
SET @ENTRY := 100982;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = (@ENTRY*100);
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, 19, 0, 100, 0, 40379, 0, 0, 0, 80, (@ENTRY*100), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On Quest Accept (40379) - run Actionlist - to Invoker'),
((@ENTRY * 100), 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 149, 8, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0s - become Personal Clone - Invoker'),
((@ENTRY * 100), 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 85, 82238, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 'After 0s - selfcast: 82238 (PhaseShiftUpdate) - to Summoner/Owner'),
((@ENTRY * 100), 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 175799, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 'After 0s - cast: 175799 (Track Target in Channel (Not Unique)) - to Summoner/Owner'),
((@ENTRY * 100), 9, 3, 0, 0, 0, 100, 0, 500, 500, 0, 0, 128, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 500ms - PlayOneShotAnimKidId 8599 - to self'),
((@ENTRY * 100), 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 'After 0s - Say text 0 - to Summoner/Owner'),
((@ENTRY * 100), 9, 5, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 137, 36264, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1s - PlayVisualKit 36264 - to self'),
((@ENTRY * 100), 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 43, 0, 64385, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0s - Mount to DisplayID 64385 - to self'),
((@ENTRY * 100), 9, 7, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 92, 0, 175799, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 3s - Mount to DisplayID 64385 - to self'),
((@ENTRY * 100), 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 53, 1, (@PATH), 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0s - Start Waypointpath - to self'),
((@ENTRY * 100), 9, 9, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 12000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0s - force despawn after 12s - to self');