DB Updates

This commit is contained in:
hondacrx
2023-06-13 09:17:41 -04:00
parent b395f810db
commit 6748f85812
21 changed files with 1553 additions and 0 deletions
@@ -0,0 +1,77 @@
SET @CGUID := 9003904;
-- Creature
DELETE FROM `creature` WHERE `guid` = @CGUID+0;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(@CGUID+0, 199340, 0, 1519, 9171, '0', 20675, 0, 0, 0, -8228.767578125, 777.03472900390625, 77.26209259033203125, 4.643933296203613281, 120, 0, 0, 67751, 0, 0, 0, 0, 0, 49801); -- Agent Render (Area: Stormwind Embassy - Difficulty: 0) CreateObject1
-- Creature Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (199340 /*199340 (Agent Render)*/);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(199340, 0, 0, 0, 0, 0, 1, 0, 0, 16228, 0, 0, 0, ''); -- 199340 (Agent Render)
UPDATE `creature_template` SET `faction`=12, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=33536, `unit_flags2`=34816 WHERE `entry`=199340; -- Agent Render
-- Phasing
DELETE FROM `phase_name` WHERE `ID` = 20675;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(20675, 'Cosmetic - See Agent Render in Stormwind Embassy');
DELETE FROM `phase_area` WHERE (`AreaId` = 1519 AND `PhaseId` = 20675);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(1519, 20675, 'Cosmetic - See Agent Render in Stormwind Embassy');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` = 20675 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 20675, 0, 0, 0, 16, 0, 0x1, 0, 0, 0, 'Apply Phase 20675 if player is Human'),
(26, 20675, 0, 0, 0, 27, 0, 50, 3, 0, 0, 'Apply Phase 20675 if player is level 50 or higher');
-- Quest data
DELETE FROM `quest_details` WHERE `ID`=75265;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(75265, 0, 0, 0, 0, 0, 0, 0, 0, 49801); -- An Urgent Matter
DELETE FROM `creature_queststarter` WHERE (`id`=199340 AND `quest`=75265);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(199340, 75265, 49801); -- An Urgent Matter offered Agent Render
-- Conversation data
DELETE FROM `conversation_actors` WHERE (`ConversationId`=20338 AND `Idx`=0);
INSERT INTO `conversation_actors` (`ConversationId`, `ConversationActorId`, `Idx`, `CreatureId`, `CreatureDisplayInfoId`, `NoActorObject`, `ActivePlayerObject`, `VerifiedBuild`) VALUES
(20338, 89175, 0, 198884, 72253, 0, 0, 49801);
DELETE FROM `conversation_line_template` WHERE `Id`=52456;
INSERT INTO `conversation_line_template` (`Id`, `UiCameraID`, `ActorIdx`, `Flags`, `VerifiedBuild`) VALUES
(52456, 82, 0, 0, 49801);
DELETE FROM `conversation_template` WHERE `Id`=20338;
INSERT INTO `conversation_template` (`Id`, `FirstLineID`, `TextureKitId`, `VerifiedBuild`) VALUES
(20338, 52456, 0, 49801);
-- Creature Text
DELETE FROM `creature_text` WHERE `CreatureId` = 199340;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(199340, 0, 0, 'Hail, $n! I bear a high priority message for you!', 12, 0, 100, 669, 0, 219851, 233050, 5, 'Agent Render to Player');
-- Model data
DELETE FROM `creature_model_info` WHERE `DisplayID`=110648;
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(110648, 0.305999994277954101, 1.5, 0, 49801);
-- Agent Render smart ai
SET @ENTRY := 199340;
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, 10, 0, 100, 0, 1, 10, 300000, 300000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On only non hostile unit in line of sight (OOC) - Self: Talk (0) to invoker');
-- An Urgent Matter
DELETE FROM `smart_scripts` WHERE `source_type` = 5 AND `entryOrGuid` IN (75265, 72644);
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
(75265, 5, 0, 0, 47, 0, 100, 0, 0, 0, 0, 0, 85, 396312, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On quest accepted - Self: Cast spell 396312 on self'),
(72644, 5, 0, 0, 47, 0, 100, 0, 0, 0, 0, 0, 85, 396312, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On quest accepted - Self: Cast spell 396312 on self');
DELETE FROM `quest_template_addon` WHERE `ID` IN (75265, 72644);
INSERT INTO `quest_template_addon` (`ID`, `ScriptName`) VALUES
(75265, 'SmartQuest'),
(72644, 'SmartQuest');
@@ -0,0 +1,111 @@
SET @CGUID := 9003905;
SET @OGUID := 9000358;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+3;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(@CGUID+0, 203482, 0, 1519, 6292, '0', 20143, 0, 0, 0, -8348.486328125, 198.5260467529296875, 170.681671142578125, 0, 120, 0, 0, 29962, 0, 0, 0, 0, 0, 49801), -- Grapple Point (Area: Stormwind Keep - Difficulty: 0) CreateObject1
(@CGUID+1, 198884, 0, 1519, 6292, '0', 20340, 0, 0, 1, -8352.515625, 203.548614501953125, 170.6827239990234375, 0, 120, 0, 0, 2258380, 0, 0, 0, 0, 0, 49801), -- Master Mathias Shaw (Area: Stormwind Keep - Difficulty: 0) CreateObject1
(@CGUID+2, 198885, 0, 1519, 6292, '0', 20143, 0, 0, 1, -8348.736328125, 204.638885498046875, 170.604766845703125, 2.94677591323852539, 120, 0, 0, 112919, 100, 0, 0, 0, 0, 49801), -- SI:7 Agent (Area: Stormwind Keep - Difficulty: 0) CreateObject1
(@CGUID+3, 198886, 0, 1519, 6292, '0', 20143, 0, 0, 0, -8350.3125, 204.6319427490234375, 170.63250732421875, 0.768349647521972656, 120, 0, 0, 112919, 0, 0, 0, 0, 0, 49801); -- Defias Thief (Area: Stormwind Keep - Difficulty: 0) CreateObject1 (Auras: 130966 - Permanent Feign Death, 400557 - Permanent Feign Death ( Small Dark Blood Pool, no anim))
-- 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, 395704, 0, 1519, 6292, '0', 20143, 0, -8343.4912109375, 191.4184112548828125, 139.559326171875, 0, 0, 0, 0, 1, 120, 255, 1, 49801), -- Grappling Hook (Area: Stormwind Keep - Difficulty: 0) CreateObject1
(@OGUID+1, 386399, 0, 1519, 6292, '0', 20143, 0, -8349.263671875, 200.4756927490234375, 167.5677032470703125, 2.180500268936157226, 0, 0, 0.886742591857910156, 0.462263554334640502, 120, 255, 1, 49801); -- Defias Rope (Area: Stormwind Keep - Difficulty: 0) CreateObject1
-- Creature Template
DELETE FROM `creature_template_addon` WHERE `entry` IN (198884 /*198884 (Master Mathias Shaw)*/, 198886 /*198886 (Defias Thief) - Permanent Feign Death, Permanent Feign Death ( Small Dark Blood Pool, no anim)*/, 198885 /*198885 (SI:7 Agent)*/);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(198884, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 198884 (Master Mathias Shaw)
(198886, 0, 0, 0, 0, 4, 1, 0, 0, 0, 0, 0, 0, '130966 400557'), -- 198886 (Defias Thief) - Permanent Feign Death, Permanent Feign Death ( Small Dark Blood Pool, no anim)
(198885, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- 198885 (SI:7 Agent)
UPDATE `creature_template` SET `faction`=34, `BaseAttackTime`=1000, `unit_flags`=537133824, `unit_flags2`=2049, `unit_flags3`=8192 WHERE `entry`=198886; -- Defias Thief
UPDATE `creature_template` SET `faction`=12, `BaseAttackTime`=2000, `unit_flags`=33536, `unit_flags2`=2048 WHERE `entry`=198885; -- SI:7 Agent
UPDATE `creature_template` SET `faction`=12, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=33600, `unit_flags2`=2048 WHERE `entry`=198884; -- Master Mathias Shaw
UPDATE `creature_template` SET `faction`=190, `npcflag`=16777216, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=67143680, `unit_flags3`=16777217, `flags_extra`=128 WHERE `entry`=203482; -- Grapple Point
-- GameObject Template
DELETE FROM `gameobject_template` WHERE `entry` IN (395704 /*Grappling Hook*/, 386399 /*Defias Rope*/);
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `Data24`, `Data25`, `Data26`, `Data27`, `Data28`, `Data29`, `Data30`, `Data31`, `Data32`, `Data33`, `Data34`, `ContentTuningId`, `VerifiedBuild`) VALUES
(395704, 10, 77771, 'Grappling Hook', '', '', '', 1.5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 406255, 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, 49801), -- Grappling Hook
(386399, 5, 9806, 'Defias Rope', '', '', '', 2, 0, 1, 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, 49801); -- Defias Rope
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (386399 /*Defias Rope*/, 395704 /*Grappling Hook*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(386399, 0, 545259520, 0, 0), -- Defias Rope
(395704, 0, 545259520, 0, 0); -- Grappling Hook
-- Equip
DELETE FROM `creature_equip_template` WHERE (`ID`=1 AND `CreatureID` IN (198885,198884));
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(198885, 1, 155765, 0, 0, 0, 0, 0, 0, 0, 0, 49801), -- SI:7 Agent
(198884, 1, 47104, 0, 0, 47104, 0, 0, 0, 0, 0, 49801); -- Master Mathias Shaw
-- Phasing
DELETE FROM `phase_name` WHERE `ID` IN (20143, 20340);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(20340, 'Cosmetic - See Master Mathias Shawn behind Stormwind Keep'),
(20143, 'Cosmetic - See SI7 Agent and Defias Thief behind Stormwind Keep');
DELETE FROM `phase_area` WHERE (`AreaId` = 1519 AND `PhaseId` IN (20143, 20340));
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(1519, 20340, 'Cosmetic - See Master Mathias Shawn behind Stormwind Keep'),
(1519, 20143, 'Cosmetic - See SI7 Agent and Defias Thief behind Stormwind Keep');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` IN (20340, 20143) AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 20340, 0, 0, 0, 47, 0, 75265, 2 | 8 | 64, 0, 0, 'Apply Phase 20340 if Quest 75265 is in progress | complete | rewarded'),
(26, 20340, 0, 0, 0, 47, 0, 72405, 2 | 8 | 64, 0, 1, 'Apply Phase 20340 if Quest 72405 is not in progress | complete | rewarded'),
(26, 20143, 0, 0, 0, 47, 0, 75265, 2 | 8 | 64, 0, 0, 'Apply Phase 20340 if Quest 75265 is in progress | complete | rewarded');
-- Update Condition for Phase 20675
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` = 20675 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 20675, 0, 0, 0, 16, 0, 0x1, 0, 0, 0, 'Apply Phase 20675 if player is Human'),
(26, 20675, 0, 0, 0, 27, 0, 50, 3, 0, 0, 'Apply Phase 20675 if player is level 50 or higher'),
(26, 20675, 0, 0, 0, 47, 0, 72405, 2 | 8 | 64, 0, 1, 'Apply Phase 20675 if Quest 72405 is not in progress | complete | rewarded');
-- Quest stuff
DELETE FROM `quest_offer_reward` WHERE `ID`=75265;
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
(75265, 0, 0, 0, 0, 0, 0, 0, 0, 'It\'s good you are here.', 49801); -- An Urgent Matter
DELETE FROM `quest_details` WHERE `ID`=72405;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(72405, 1, 1, 0, 0, 0, 0, 0, 0, 49801); -- An Unlikely Informant
DELETE FROM `creature_queststarter` WHERE (`id`=198884 AND `quest`=72405);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(198884, 72405, 49801); -- An Unlikely Informant offered Master Mathias Shaw
DELETE FROM `creature_questender` WHERE (`id`=198884 AND `quest`=75265);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(198884, 75265, 49801); -- An Urgent Matter ended by Master Mathias Shaw
UPDATE `quest_template_addon` SET `ExclusiveGroup` = 75265, `NextQuestID` = 72405 WHERE `ID` IN (75265, 72644);
-- Difficulty stuff
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=0 AND `Entry` IN (198886,198885,198884,203482,201194,1860,199340,91226));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`, `VerifiedBuild`) VALUES
(198886, 0, 0, 0, 1281, 9, 1, 1, 227299, 0, 0, 49801),
(198885, 0, 0, 0, 1281, 9, 1, 1, 227298, 0, 0, 49801),
(198884, 0, 0, 0, 1281, 9, 20, 1, 227297, 0, 0, 49801),
(203482, 0, 0, 0, 2043, 8, 1, 1, 232579, 1610612752, 117440518, 49801),
(201194, 0, 0, 0, 864, 9, 1, 1, 229773, 0, 0, 49801),
(1860, 0, 0, 0, 482, 9, 1, 2, 1533, 0, 1, 49801),
(199340, 0, 0, 0, 1281, 9, 0.60000002384185791, 1, 227766, 0, 0, 49801),
(91226, 0, 0, 0, 371, 9, 1, 1, 90587, 0, 0, 49801);
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=49801 WHERE (`DifficultyID`=0 AND `Entry` IN (26125,158276,45226,47325,47324,47320,65061,65066,65060,65065,65058,70296,65072,69334,65078,65074,65048,65068,68868,62106,65076,65063,65071,129679,143711,50927,50933,176242,4730,141020,14602,12359,12358,133409,158125,133408,158123,158119,133411,14555,4753,126332,112698,133672,158120,50305,14556,162393,133433,50307,172572,133509,133396,112686,133363,130069,167032,4423,42782,20716,121541,141079,112694,44395,133675,16908,62954,19269,43842,43841,7232,3681,5509,133431,80069,133441,1416,1472,43690,29725,7798,5512,197253,144135,197269,197267,5510,5511,144133,47649,62822,62821,2334,49748,6579,14563,957,5413,43823,11026,45306,5519,5518,140403,140253,140407,11069,43723,43825,43824,43724,44235,1649,68,2879,144134,47688,43725,44392,44394,61809,49540,44393,20407,43840,43034,5517,44236,5515,5516,1976,61080,63596,2620,63607,721,42421,69822,142789,142787,49908,49907,142788,69823,142786,1412,1752,4960,50088,51348,2285,1439,93296,17103,93307,61081,24729,51938,143208,151256,151255,34998,151251,34997,15187,1440,72654,1751,1750,32520,35365,175138,111190,2504,44241,44243,44238,38821,44239,151247,1756,151249));
DELETE FROM `creature_model_info` WHERE `DisplayID`=111365;
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(111365, 1, 1.5, 0, 49801);
UPDATE `creature_model_info` SET `VerifiedBuild`=49801 WHERE `DisplayID` IN (24992, 71448, 107884, 72253, 92726, 77264, 34336, 35540, 35539, 35537, 45876, 43719, 39641, 43718, 43721, 43717, 47980, 43723, 47467, 43726, 43724, 45871, 41281, 46986, 42352, 43725, 43720, 43722, 99401, 82867, 87971, 2306, 100179, 2788, 1460, 14632, 6444, 6080, 93415, 46929, 18054, 83233, 82897, 93417, 93408, 93409, 82899, 14332, 5070, 41667, 72181, 83229, 14613, 93410, 37884, 93413, 37014, 14331, 90788, 82919, 37015, 98008, 83236, 82895, 83234, 86654, 80978, 28416, 68845, 82875, 37118, 82923, 24877, 2451, 77397, 1659, 19732, 27823, 14614, 72178, 18889, 33840, 18890, 81303, 81304, 33529, 33528, 6007, 10045, 99398, 83230, 46544, 82925, 4998, 86659, 5570, 33471, 26450, 6844, 3311, 109484, 87992, 109485, 4271, 3306, 86656, 3307, 5446, 2273, 8805, 42722, 42720, 36597, 86660, 5378, 14375, 99392, 4997, 99395, 99394, 34396, 37109, 3315, 37114, 37115, 3314, 37124, 86665, 2256, 32776, 10477, 33494, 33523, 8794, 99396, 33495, 99393, 48989, 3167, 99391, 5043, 8796, 99500, 33496, 719, 33839, 42250, 1141, 33838, 19598, 33527, 33497, 3310, 33740, 99390, 3309, 99389, 4558, 1072, 36620, 4626, 18055, 62354, 47710, 5369, 85246, 47711, 18931, 37310, 2961, 37311, 5075, 1758, 63522, 16854, 63521, 134, 344, 31174, 338, 15594, 328, 91081, 29515, 91080, 29514, 87011, 15321, 5553, 262, 5077, 5565, 99949, 21342, 99947, 29796, 78345, 11686, 1573, 33747, 33748, 33745, 21072, 33746, 99951, 91079, 99950, 34004, 257);
UPDATE `creature_model_info` SET `BoundingRadius`=1.60000002384185791, `VerifiedBuild`=49801 WHERE `DisplayID`=87972;
UPDATE `creature_model_info` SET `BoundingRadius`=0.5, `CombatReach`=0.5, `VerifiedBuild`=49801 WHERE `DisplayID`=74513;
UPDATE `creature_model_info` SET `BoundingRadius`=0.226091504096984863, `CombatReach`=1, `VerifiedBuild`=49801 WHERE `DisplayID`=44820;
@@ -0,0 +1,64 @@
--
DROP PROCEDURE IF EXISTS apply_if_exists_2023_06_01_00_world;
DELIMITER ;;
CREATE PROCEDURE apply_if_exists_2023_06_01_00_world() BEGIN
IF EXISTS (SELECT * FROM `information_schema`.`columns` WHERE `table_schema`=SCHEMA() AND `table_name`='graveyard_zone' AND `column_name`='Faction') THEN
DELETE c FROM `conditions` c INNER JOIN `graveyard_zone` gz ON (c.`SourceEntry` = gz.`ID` AND c.`SourceGroup` = gz.`GhostZone`) WHERE (c.`SourceTypeOrReferenceId` = 27 AND gz.`GhostZone` <> 0);
INSERT INTO
`conditions` (
`SourceTypeOrReferenceId`,
`SourceEntry`,
`SourceGroup`,
`ConditionTypeOrReference`,
`ConditionValue1`,
`Comment`
)
SELECT
27,
`ID`,
`GhostZone`,
6,
`Faction`,
CONCAT(
'Graveyard - ',
`ID`,
' - ',
`GhostZone`,
' - ',
`Comment`,
' - Team ',
CASE
WHEN `Faction` = 469 THEN 'Alliance'
WHEN `Faction` = 67 THEN 'Horde'
ELSE `Faction`
END
)
FROM `graveyard_zone`
WHERE `Faction` <> 0;
ALTER TABLE `graveyard_zone` DROP COLUMN `Faction`;
END IF;
END;;
DELIMITER ;
CALL apply_if_exists_2023_06_01_00_world();
DROP PROCEDURE IF EXISTS apply_if_exists_2023_06_01_00_world;
-- add graveyards from open world pvp
DELETE FROM `graveyard_zone` WHERE `ID` IN (969, 993);
INSERT INTO `graveyard_zone` (`ID`, `GhostZone`, `Comment`) VALUES
(969, 3521, 'Graveyard - Zangarmarsh - PvP'),
(993, 3518, 'Graveyard - Nagrand (Outland), Halaa - PvP');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 27 AND `SourceEntry` IN (969, 993);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceEntry`, `SourceGroup`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES
(27, 969, 3521, 0, 6, 469, 0, 'Graveyard - Zangarmarsh - PvP - Team Alliance'),
(27, 969, 3521, 0, 11, 2648, 1, 'Graveyard - Zangarmarsh - PvP - Alliance Controlled'),
(27, 969, 3521, 1, 6, 67, 0, 'Graveyard - Zangarmarsh - PvP - Team Horde'),
(27, 969, 3521, 1, 11, 2649, 1, 'Graveyard - Zangarmarsh - PvP - Horde Controlled'),
(27, 993, 3518, 0, 6, 469, 0, 'Graveyard - Nagrand (Outland), Halaa - PvP - Team Alliance'),
(27, 993, 3518, 0, 11, 2672, 1, 'Graveyard - Nagrand (Outland), Halaa - PvP - Alliance Controlled'),
(27, 993, 3518, 1, 6, 67, 0, 'Graveyard - Nagrand (Outland), Halaa - PvP - Team Horde'),
(27, 993, 3518, 1, 11, 2673, 1, 'Graveyard - Nagrand (Outland), Halaa - PvP - Horde Controlled');
@@ -0,0 +1,126 @@
SET @CGUID := 9003909;
SET @OGUID := 9000360;
SET @NPCTEXTID := 590078;
-- 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`, `dynamicflags`, `VerifiedBuild`) VALUES
(@CGUID+0, 198896, 0, 12, 5637, '0', 19933, 0, 0, 1, -9472.2412109375, -3.41319441795349121, 49.87804412841796875, 5.388506889343261718, 120, 0, 0, 2258380, 0, 0, 0, 0, 0, 49801), -- Master Mathias Shaw (Area: Lion's Pride Inn - Difficulty: 0) CreateObject1 (Auras: 400406 - [DNT] Chat Bubble)
(@CGUID+1, 198883, 0, 12, 5637, '0', 19934, 0, 0, 1, -9468.169921875, -3.61284732818603515, 49.87674331665039062, 4.472257614135742187, 120, 0, 0, 338757, 100, 0, 0, 0, 0, 49801); -- Vanessa VanCleef (Area: Lion's Pride Inn - 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+1, 0, 0, 0, 0, 0, 1, 0, 743, 0, 0, 0, 0, ''); -- Vanessa VanCleef
DELETE FROM `creature_template_addon` WHERE `entry` IN (198896 /*198896 (Master Mathias Shaw) - [DNT] Chat Bubble*/);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(198896, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '400406'); -- 198896 (Master Mathias Shaw) - [DNT] Chat Bubble
UPDATE `creature_template` SET `faction`=190, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=33536, `unit_flags2`=18432 WHERE `entry`=198883; -- Vanessa VanCleef
UPDATE `creature_template` SET `faction`=12, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=33600, `unit_flags2`=2048 WHERE `entry`=198896; -- Master Mathias Shaw
-- Update phaseUseFlag for old spawns visible in Phase 0 and 19932
UPDATE `creature` SET `phaseUseFlags` = 0x1 WHERE `guid` IN (280705, 280711, 280710, 280712, 280715);
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+5;
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, 386412, 0, 12, 5637, '0', 19932, 0, -9470.296875, -7.25694465637207031, 57.36728286743164062, 1.361118197441101074, 0, 0, 0.629227638244628906, 0.777221083641052246, 120, 255, 1, 49801), -- Firewood (Area: Lion's Pride Inn - Difficulty: 0) CreateObject1
(@OGUID+1, 386412, 0, 12, 5637, '0', 19932, 0, -9456.423828125, 22.96701431274414062, 56.88551712036132812, 4.230845451354980468, 0, 0, -0.85532093048095703, 0.518098533153533935, 120, 255, 1, 49801), -- Firewood (Area: Lion's Pride Inn - Difficulty: 0) CreateObject1
(@OGUID+2, 386412, 0, 12, 5637, '0', 19932, 0, -9455.013671875, 23.25694465637207031, 56.91201400756835937, 0.282728582620620727, 0, 0, 0.140893936157226562, 0.990024685859680175, 120, 255, 1, 49801), -- Firewood (Area: Lion's Pride Inn - Difficulty: 0) CreateObject1
(@OGUID+3, 386412, 0, 12, 5637, '0', 19932, 0, -9456.3369140625, 24.34201431274414062, 57.01468276977539062, 3.120019197463989257, 0, 0, 0.999941825866699218, 0.01078648492693901, 120, 255, 1, 49801), -- Firewood (Area: Lion's Pride Inn - Difficulty: 0) CreateObject1
(@OGUID+4, 386412, 0, 12, 5637, '0', 19932, 0, -9469.373046875, -6.9375, 57.34429931640625, 0.018366117030382156, 0, 0, 0.009182929992675781, 0.999957799911499023, 120, 255, 1, 49801), -- Firewood (Area: Lion's Pride Inn - Difficulty: 0) CreateObject1
(@OGUID+5, 386412, 0, 12, 5637, '0', 19932, 0, -9456.111328125, 21.42534828186035156, 56.91201400756835937, 1.437543153762817382, 0, 0, 0.658460617065429687, 0.752615213394165039, 120, 255, 1, 49801); -- Firewood (Area: Lion's Pride Inn - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_template` WHERE `entry`=386412;
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `Data24`, `Data25`, `Data26`, `Data27`, `Data28`, `Data29`, `Data30`, `Data31`, `Data32`, `Data33`, `Data34`, `ContentTuningId`, `VerifiedBuild`) VALUES
(386412, 5, 199, 'Firewood', '', '', '', 1.20000004768371582, 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, 49801); -- Firewood
-- Phasing
DELETE FROM `phase_name` WHERE `ID` IN (19932, 19933, 19934);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(19932, 'Goldshire Lions Pride Inn Human Heritage Questchain'),
(19933, 'Cosmetic - See Master Mathias Shawn in Lions Pride Basement'),
(19934, 'Cosmetic - See Vanessa VanCleef in Lions Pride Basement');
DELETE FROM `phase_area` WHERE (`AreaId` = 5637 AND `PhaseId` IN (19932, 19933, 19934));
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(5637, 19932, 'Goldshire Lions Pride Inn Human Heritage Questchain'),
(5637, 19933, 'Cosmetic - See Master Mathias Shawn in Lions Pride Basement'),
(5637, 19934, 'Cosmetic - See Vanessa VanCleef in Lions Pride Basement');
-- Conditions
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26 AND `SourceGroup` IN (19932, 19933, 19934) AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
-- Phase 19932
(26, 19932, 0, 0, 0, 47, 0, 72405, 2 | 8 | 64, 0, 0, 'Apply Phase 19932 if Quest 75265 is in progress | complete | rewarded'),
-- Phase 19933
(26, 19933, 0, 0, 0, 47, 0, 72405, 2 | 8 | 64, 0, 0, 'Apply Phase 19933 if Quest 75265 is in progress | complete | rewarded'),
-- Phase 19934
(26, 19934, 0, 0, 0, 47, 0, 72405, 2 | 64, 0, 0, 'Apply Phase 19933 if Quest 75265 is complete | rewarded');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 30224 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(15, 30224, 0, 0, 0, 9, 0, 72405, 0, 0, 0, 'Show Gossip Option Menu 30224 if Quest 72405 is taken');
-- Equip
DELETE FROM `creature_equip_template` WHERE (`ID`=1 AND `CreatureID` IN (198883,198896));
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(198883, 1, 42347, 0, 0, 0, 0, 0, 0, 0, 0, 49801), -- Vanessa VanCleef
(198896, 1, 47104, 0, 0, 47104, 0, 0, 0, 0, 0, 49801); -- Master Mathias Shaw
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=198883 AND `MenuID`=30837) OR (`CreatureID`=198896 AND `MenuID`=30224);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(198883, 30837, 49801), -- Vanessa VanCleef
(198896, 30224, 49801); -- Master Mathias Shaw
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+1;
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, 236791, 0, 0, 0, 0, 0, 0, 0, 49801), -- 198883 (Vanessa VanCleef)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 233054, 0, 0, 0, 0, 0, 0, 0, 49801); -- 198896 (Master Mathias Shaw)
DELETE FROM `gossip_menu` WHERE (`MenuID`=30837 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=30224 AND `TextID`=@NPCTEXTID+1);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(30837, @NPCTEXTID+0, 49801), -- 198883 (Vanessa VanCleef)
(30224, @NPCTEXTID+1, 49801); -- 198896 (Master Mathias Shaw)
DELETE FROM `gossip_menu_option` WHERE (`MenuID`=30224 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
(107712, 30224, 0, 0, '<Tell Shaw to signal his informant.>', 233055, 0, 0, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801);
-- Quest stuff
DELETE FROM `quest_offer_reward` WHERE `ID`=72405;
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
(72405, 0, 0, 0, 0, 0, 0, 0, 0, 'My few interactions with Vanessa told me she isn\'t interested in the banditry of the old Defias Brotherhood. To her, the Brotherhood meant supporting the downtrodden... those that Stormwind had left behind. \n\nThat, I can respect. \n\nBut most of her Brotherhood continue to engage in thievery from innocent travelers. That\'s not revolution, that\'s highway robbery.\n\nShe insists she tries to stop them.', 49801); -- An Unlikely Informant
DELETE FROM `quest_details` WHERE `ID`=72408;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(72408, 1, 1, 0, 0, 0, 0, 0, 0, 49801); -- A Window to the Past
DELETE FROM `quest_request_items` WHERE `ID`=72405;
INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `EmoteOnCompleteDelay`, `EmoteOnIncompleteDelay`, `CompletionText`, `VerifiedBuild`) VALUES
(72405, 0, 0, 0, 0, 'We must recover what was stolen from the Keep, at all costs.', 49801); -- An Unlikely Informant
DELETE FROM `creature_queststarter` WHERE (`id`=198896 AND `quest`=72408);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(198896, 72408, 49801); -- A Window to the Past offered Master Mathias Shaw
DELETE FROM `creature_questender` WHERE (`id`=198896 AND `quest`=72405);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(198896, 72405, 49801); -- An Unlikely Informant ended by Master Mathias Shaw
DELETE FROM `quest_template_addon` WHERE `ID` = 72408;
INSERT INTO `quest_template_addon` (`ID`, `prevQuestID`) VALUES
(72408, 72405);
-- Difficulty
DELETE FROM `creature_template_difficulty` WHERE (`Entry`=198896 AND `DifficultyID`=0) OR (`Entry`=198883 AND `DifficultyID`=0);
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`, `VerifiedBuild`) VALUES
(198896, 0, 0, 0, 1281, 9, 20, 1, 227309, 0, 0, 49801),
(198883, 0, 0, 0, 1281, 9, 3, 1, 227296, 0, 0, 49801);
-- Creature Model
DELETE FROM `creature_model_info` WHERE `DisplayID`=110980;
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(110980, 0.228800013661384582, 1.65000009536743164, 0, 49801);
@@ -0,0 +1,47 @@
-- Creature templates
UPDATE `creature_template` SET `npcflag`=80 WHERE `entry`=33618; -- Skinning
UPDATE `creature_template` SET `npcflag`=80 WHERE `entry`=33617; -- Mining
UPDATE `creature_template` SET `npcflag`=80 WHERE `entry`=33616; -- Herbalism
UPDATE `creature_template` SET `npcflag`=80 WHERE `entry`=33615; -- Inscription
UPDATE `creature_template` SET `npcflag`=80 WHERE `entry`=33614; -- Jewelcrafting
UPDATE `creature_template` SET `npcflag`=80 WHERE `entry`=33612; -- Leatherworking
UPDATE `creature_template` SET `npcflag`=80 WHERE `entry`=33611; -- Engineering
UPDATE `creature_template` SET `npcflag`=80 WHERE `entry`=33610; -- Enchanting
UPDATE `creature_template` SET `npcflag`=80 WHERE `entry`=33609; -- Blacksmithing
UPDATE `creature_template` SET `npcflag`=80 WHERE `entry`=33608; -- Alchemy
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=25992; -- Big Bruiser
UPDATE `creature_template` SET `faction`=1720 WHERE `entry`=24411; -- Shattered Hand Centurion Image
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=24410; -- Vazruden the Herald Image
UPDATE `creature_template` SET `npcflag`=80 WHERE `entry`=20125; -- Zula Slagfury
UPDATE `creature_template` SET `npcflag`=80 WHERE `entry`=20124; -- Kradu Grimblade
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=19687; -- Shattrath City Peacekeeper
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=19665; -- Ewe
UPDATE `creature_template` SET `npcflag`=81 WHERE `entry`=19184; -- Mildred Fletcher
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=18568; -- Scryer Arcane Guardian
-- Difficulty
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (24411,19665,19337,19153,19390,19213,22212,22213,19196,22208,19187,23699,25992,19033,22819,19283,19289,18584,24412,24410,24437,24370,24369,22442,19186,19064,23948,19182,23854,23855,23852,23853,23850,23845,23830,19271,18585,19270,25967,18762,18756,19076,18484,19077,23462,23463,19184,23464,23461,23433,23466,23465,18652,18653,18597,18600,24393,24416,24436,19163,19144,19045,19047,19164,19051,35002,19162,19150,19155,20124,20125,34999,35000,20123,18622,22326,22373,18596,22292,50143,20807,19318,23484,23270,19034,19321,19049,19074,22429,19052,33684,33683,19065,19063,19043,21906,24728,24727,20616,19378,19138,18538,19161,19050,19377,27711,19046,27723,21518,18549,19346,33680,33682,18537,33681,23271,19142,25195,33678,33675,19726,19720,19725,33676,33677,33674,33679,19702,33635,33641,33636,33631,33630,25196,33639,33634,19236,23272,19240,33615,20613,19251,19242,19234,33619,19245,19340,19235,18530,33613,33609,33612,33611,33610,33623,33617,33621,33616,33608,19252,19248,33618,33614,21905,33642,19249,19250,18531,19485,21816,19238,19232,18547,19243,18594,19239,19330,21517,19244,18568,19662,19227,19663,33633,19661,19678,33637,33640,33638,115546,21411,21434,35001,22940,19197,19195,19194,66540,66541,19223,47575,66542,19185,66553,19664,19180,21655,23263,19331,23483,23273,20808,50139,19246,19338,50140,18593,5202,19680,19475,22987,18940,23449,25885,25138,19202,25140,50145,19075,19216,25143,25141,25136,25134,25135,25137,25115,19715,24938,24932,50021,25167,50019,50020,50016,24928,50018,50017,19120,50127,18166,19684,22497,18525,52268,50137,50136,50130,50128,50012,18893,27667,50013,50010,27666,20331,25153,50007,25142,52278,20791,25155,52277,19687,21432,19170,50025,50023,18481,50024,24936));
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=0 AND `Entry` IN (19337,19153,19390));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`, `VerifiedBuild`) VALUES
(19337, 0, 0, 0, 870, 1, 1, 1, 15165, 0, 0, 48526),
(19153, 0, 0, 0, 870, 1, 1, 1, 14944, 0, 0, 48526),
(19390, 0, 0, 0, 870, 1, 1, 1, 15217, 0, 0, 48526);
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=48526 WHERE (`DifficultyID`=0 AND `Entry` IN (19213,22212,22213,19196,22208,19187,23699,25992,19033,22819,19283,19289,18584,24412,24410,24437,24370,24369,22442,19186,19064,23948,19182,23854,23855,23852,23853,23850,23845,23830,19271,18585,19270,25967,18762,18756,19076,18484,19077,23462,23463,19184,23464,23461,23433,23466,23465,18652,18653,18597,18600,24393,24416,24436,19163,19144,19045,19047,19164,19051,35002,19162,19150,19155,20124,20125,34999,35000,20123,18622,22326,22373,18596,22292,50143,20807,19318,23484,23270,19034,19321,19049,19074,22429,19052,33684,33683,19065,19063,19043,21906,24728,24727,20616,19378,19138,18538,19161,19050,19377,27711,19046,27723,21518,18549,19346,33680,33682,18537,33681,23271,19142,25195,33678,33675,19726,19720,19725,33676,33677,33674,33679,19702,33635,33641,33636,33631,33630,25196,33639,33634,19236,23272,19240,33615,20613,19251,19242,19234,33619,19245,19340,19235,18530,33613,33609,33612,33611,33610,33623,33617,33621,33616,33608,19252,19248,33618,33614,21905,33642,19249,19250,18531,19485,21816,19238,19232,18547,19243,18594,19239,19330,21517,19244,18568,19662,19227,19663,33633,19661,19678,33637,33640,33638,115546,21411,21434,35001,22940,19197,19195,19194,66540,66541,19223,47575,66542,19185,66553,19664,19180,21655,23263,19331,23483,23273,20808,50139,19246,19338,50140,18593,5202,19680,19475,22987,18940,23449,25885,25138,19202,25140,50145,19075,19216,25143,25141,25136,25134,25135,25137,25115,19715,24938,24932,50021,25167,50019,50020,50016,24928,50018,50017,19120,50127,18166,19684,22497,18525,52268,50137,50136,50130,50128,50012,18893,27667,50013,50010,27666,20331,25153,50007,25142,52278,20791,25155,52277,19687,21432,19170,50025,50023,18481,50024,24936));
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `VerifiedBuild`=48526 WHERE (`Entry`=24411 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=825, `VerifiedBuild`=48526 WHERE (`Entry`=19665 AND `DifficultyID`=0);
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=48526 WHERE `DisplayID` IN (73866, 21344, 45621, 45620, 45619, 37819, 37818, 37817, 36969, 36970, 36971, 36972, 36968, 36967, 36966, 36965, 36964, 36958, 36959, 36960, 36961, 36962, 36963, 36954, 36951, 36945, 36946, 36947, 36949, 36950, 35700, 29519, 29518, 29517, 29516, 28809, 28808, 28807, 28806, 28805, 28804, 28803, 28802, 28801, 28800, 28799, 28770, 28797, 28796, 28792, 28793, 28794, 28798, 28795, 28791, 28790, 28789, 28788, 28758, 28738, 24761, 24730, 24731, 19926, 19282, 23467, 18743, 22968, 22954, 22955, 22956, 22959, 22957, 22931, 22763, 22752, 22757, 22753, 22929, 22930, 22928, 22939, 22940, 22927, 22925, 22944, 22942, 22926, 22936, 22924, 22933, 22932, 22918, 22914, 22922, 22768, 22762, 22759, 13069, 22747, 599, 22609, 1122, 22425, 22419, 22414, 17200, 7346, 22386, 22387, 17645, 21697, 21573, 21572, 21524, 21522, 21523, 21520, 21525, 21521, 21514, 21504, 21389, 21155, 19905, 21100, 17072, 21022, 20766, 15534, 20818, 20869, 20868, 20873, 16202, 15531, 19695, 20388, 17327, 16706, 338, 20290, 20279, 19795, 19794, 17082, 19699, 19698, 19132, 19130, 19131, 19355, 19356, 19354, 19160, 19159, 19156, 19153, 20168, 20170, 20167, 20169, 19127, 19129, 19108, 856, 19089, 19086, 19087, 19088, 18924, 18914, 18745, 18768, 18767, 18741, 18740, 18769, 18770, 18735, 18733, 18704, 18703, 18702, 18707, 18706, 18691, 18689, 18773, 18775, 18772, 18774, 18771, 18766, 18765, 18764, 18763, 18762, 18761, 18760, 18759, 18758, 18757, 18756, 18754, 18664, 18663, 22951, 18656, 18648, 18642, 18641, 18640, 18639, 18630, 18629, 18627, 18625, 18626, 18623, 18617, 18618, 18619, 19091, 14616, 19315, 19314, 14589, 19092, 152, 11650, 17544, 17628, 17627, 18567, 18566, 18568, 18569, 18558, 18559, 18543, 18542, 18544, 18539, 18540, 18541, 18551, 18548, 18550, 18552, 18528, 18529, 18530, 18524, 18522, 18521, 18520, 18518, 18489, 18519, 18517, 18516, 18499, 18496, 18495, 17867, 18487, 18485, 17859, 18482, 18480, 18481, 18475, 18472, 20969, 20659, 18156, 18148, 221, 18044, 17191, 18024, 18026, 18027, 18022, 18021, 18020, 18019, 18016, 18017, 18018, 11548, 18405, 17972, 17904, 17905, 17903, 17907, 17892, 17893, 17895, 17894, 17882, 17881, 17878, 17875, 17870, 17689, 18135, 56765, 11686, 3020, 2176, 1418, 1141, 304);
UPDATE `creature_template_model` SET `VerifiedBuild`=48526 WHERE (`Idx`=0 AND `CreatureID` IN (25992,23466,24393,20123,19153,18549,18531,19232,21434,24423,18484,18653,35002,19321,19049,24728,33678,33676,20613,33623,33612,18568,50139,22212,19289,23853,19045,19051,20124,19318,23271,33679,19242,66541,19202,23462,18596,19074,33682,19142,33639,19249,25138,25134,19213,23948,23830,23464,20125,19034,33641,19236,19235,33614,19185,50013,22373,19378,19161,27711,19240,33611,19248,33638,35001,66542,19338,50019,19046,21905,50145,25135,52278,18481,18756,23461,23465,19155,4075,19052,33635,18940,25167,50020,50017,19076,19163,33630,66553,27667,50012,50016,18166,25142,50023,19196,23699,19182,23845,25967,35000,24727,19346,33636,33642,21517,19663,50128,20331,21432,24370,23852,19184,20616,19390,19725,23449,50024,305,18585,19377,33619,33617,33608,19238,19715,19687,304,19337,24429,19064,23433,19047,19150,19665,23270,19050,18537,33681,33677,33631,19661,19223,19331,19246,19216,25137,52268,356,24412,19271,18652,19144,18538,33616,23273,50140,19075,19120,50025,35362,19187,23484,19063,33634,19245,19485,19243,20808,5202,25885,25064,24437,19077,19726,18594,33640,19678,50007,14505,22208,18600,24436,19138,33610,19197,21655,24938,50136,68288,19186,22326,50143,33683,33680,19250,21816,19180,18379,22819,19283,18584,22429,21906,21518,33675,19251,19330,19244,115546,33633,19227,19194,19664,18593,25115,64993,19162,34999,18622,19065,19234,33621,33609,19195,25143,40625,24416,20807,25195,19239,47575,23263,23483,19475,18893,52277,50137,19170,50010,24928,24936,65011,22213,19033,23854,19270,18597,15214,22292,19720,18530,33618,33613,19252,22940,25136,24932,18525,27666,47654,22442,23850,23463,19164,33684,27723,19702,25196,23272,19340,33615,18547,33637,19662,50018,19684,22497,50021,25153,50130,25155,50127,59072,24369,23855,18762,19043,33674,21411,66540,620,19680,22987,25140,25141,20791,71486)) OR (`Idx`=3 AND `CreatureID` IN (19153,18549,19289,19142,25134,19161,25135,19155,19163,25142,19390,19377,19687,19337,19150,25137,19075,19120,18600,19138,19283,18593,25195,19170,25136,19164,19702,18547,25153,25155,22987)) OR (`Idx`=2 AND `CreatureID` IN (19153,18549,19289,19142,25134,19161,25135,19155,4075,19163,25142,20331,19390,19377,19687,19337,19150,25137,19144,19075,19120,19077,18600,19138,19283,18593,25195,19170,25136,19164,19702,18547,19684,25153,25155,22987)) OR (`Idx`=1 AND `CreatureID` IN (19153,18549,19289,23853,19142,25134,23830,19161,25135,19155,4075,19076,19163,25142,23845,20331,23852,19390,19377,19687,19337,19150,19665,25137,24412,19144,19075,19120,24437,19077,18600,19138,24938,19283,18593,25115,19162,25195,19475,19170,24928,24936,23854,15214,25136,23850,19164,27723,19702,18547,19684,25153,25155,23855,22987));
-- Gameobject templates
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (280815 /*Letter from Ms. Graham*/, 280814 /*Pyramid*/, 280813 /*Fish*/, 280812 /*Feather*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(280815, 0, 262144, 0, 0), -- Letter from Ms. Graham
(280814, 1375, 0, 0, 0), -- Pyramid
(280813, 1375, 0, 0, 0), -- Fish
(280812, 1375, 0, 0, 0); -- Feather
UPDATE `gameobject_template_addon` SET `flags`=32 WHERE `entry`=183294; -- The Shadow Labyrinth
UPDATE `gameobject_template_addon` SET `faction`=35 WHERE `entry`=184911; -- Invisible Cooking Object
@@ -0,0 +1,334 @@
-- Creature templates
UPDATE `creature_template` SET `faction`=1750, `speed_run`=0.857142865657806396, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=175184; -- Succubus Minion
UPDATE `creature_template` SET `faction`=49, `BaseAttackTime`=2000, `unit_flags`=32768, `unit_flags2`=2048 WHERE `entry`=115695; -- Dampscale Patriarch
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=23383; -- Skyguard Prisoner
UPDATE `creature_template` SET `speed_run`=1.142857193946838378, `unit_flags3`=8388608 WHERE `entry`=23257; -- Skyguard Windcharger
UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=23029; -- Talonsworn Forest-Rager
UPDATE `creature_template` SET `speed_run`=2.142857074737548828 WHERE `entry`=22980; -- Skyguard Scout
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=22463; -- Wounded Sha'tar Vindicator
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=22457; -- Sand Gnome Trigger
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=22377; -- Akuno
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=22370; -- Mekeda
UPDATE `creature_template` SET `unit_flags`=33536 WHERE `entry`=22365; -- Ethan
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=22340; -- Terokkar Arakkoa Fly Target
UPDATE `creature_template` SET `unit_flags`=33554432 WHERE `entry`=21963; -- Enslaved Doomguard
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=21902; -- Cabal Spell-weaver
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=21870; -- Unliving Initiate
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=21869; -- Unliving Guardian
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=21856; -- Skettis Kneel Target 04
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=21855; -- Skettis Arakkoa Spell Origin 02
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=21794; -- Skettis Arakkoa Spell Origin 01
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=21793; -- Skettis Kneel Target 03
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=21792; -- Skettis Kneel Target 02
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=21791; -- Skettis Kneel Target 01
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=21728; -- Skettis Surger
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=21661; -- Cabal Skirmisher
UPDATE `creature_template` SET `BaseAttackTime`=1200 WHERE `entry`=21504; -- Pathaleon the Calculator's Image
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=21317; -- Aimi
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=20895; -- Miiji
UPDATE `creature_template` SET `npcflag`=640 WHERE `entry`=20892; -- Ruogo
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=19847; -- Levixus
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=19718; -- Provisioner Tsaalt
UPDATE `creature_template` SET `unit_flags`=33280 WHERE `entry`=18760; -- Isla Starmane
UPDATE `creature_template` SET `BaseAttackTime`=3000 WHERE `entry`=18685; -- Okrek
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18675; -- Soolaveen
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18647; -- Deathskitter
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18480; -- Broken Corpse
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=17076; -- Lady Liadrin
UPDATE `creature_template` SET `unit_flags2`=2099200, `unit_flags3`=8912896 WHERE `entry`=15241; -- Gryphon Rider Guard
UPDATE `creature_template` SET `unit_flags3`=8912896 WHERE `entry`=2615; -- Air Force Alarm Bot (Horde)
UPDATE `creature_template` SET `unit_flags3`=8912896 WHERE `entry`=2614; -- Air Force Alarm Bot (Alliance)
-- Difficulty
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=2 AND `Entry`=21724);
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (175184,24893,23415,23383,23367,23363,23306,23257,23219,23093,23092,23051,23048,23042,23038,23029,23016,22991,22986,22982,22980,22831,22807,22481,22477,22476,22464,22463,22462,22458,22457,22456,22453,22446,22441,22424,22420,22407,22388,22387,22381,22378,22377,22371,22370,22365,22364,22355,22340,22314,22288,22278,22272,22105,22100,22045,21967,21963,21957,21941,21911,21907,21903,21902,21899,21898,21870,21869,21859,21858,21856,21855,21852,21846,21804,21794,21793,21792,21791,21728,21724,21723,21662,21661,21660,21654,21650,21649,21644,21504,21465,21368,21324,21317,21313,21285,21284,21242,21200,21198,21039,21007,20986,20895,20894,20893,20892,20891,20890,20877,20876,20874,20809,20767,19847,19718,19697,19693,19689,19679,19677,19676,19674,19673,19672,19659,19417,18843,18760,18717,18716,18707,18685,18675,18670,18647,18588,18566,18554,18548,18541,18540,18539,18490,18480,18475,18460,18455,18454,18453,18452,18438,18424,18273,18262,18260,17143,16805,16769,15241,5355,2614,1410,115695,62583,61440,61255,61142,61081,49833,25580,24905,24886,24885,23131,23102,23094,23091,22307,22095,22001,21999,21996,21993,21854,21849,21636,21515,21489,21463,21451,21443,21429,21405,21400,21399,21398,21397,21370,21194,21193,21192,21188,19773,19772,19607,19606,19296,19181,19159,19154,19147,19056,19053,19048,19042,19038,19003,19002,19000,18999,18984,18973,18962,18960,18959,18957,18809,18807,18750,18745,18720,18719,18718,18714,18713,18712,18705,18704,18676,18595,18583,18492,18477,18476,18470,18469,18468,18467,18466,18465,18464,18463,18461,18459,18457,18456,18451,18450,18449,18447,18446,18437,18390,18389,18387,18386,18385,18384,18383,18252,18249,17467,17142,17088,17076,16932,16899,16898,16810,16772,16519,15991,2615,385));
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=0 AND `Entry` IN (175184,24893,23415,23383,23367,23363,23306,23257,23219,23093,23092,23051,23048,23042,23038,23029,23016,22991,22986,22982,22980,22831,22807,22481,22477,22476,22464,22463,22462,22458,22457,22456,22453,22446,22441,22424,22420,22407,22388,22387,22381,22378,22377,22371,22370,22365,22364,22355,22340,22314,22288,22278,22272,22105,22100,22045,21967,21963,21957,21941,21911,21907,21903,21902,21899,21898,21870,21869,21859,21858,21856,21855,21852,21846,21804,21794,21793,21792,21791,21728,21724,21723,21662,21661,21660,21654,21650,21649,21644,21504,21465,21368,21324,21317,21313,21285,21284,21242,21200,21198,21039,21007,20986,20895,20894,20893,20892,20891,20890,20877,20876,20874,20809,20767,19847,19718,19697,19693,19689,19679,19677,19676,19674,19673,19672,19659,19417,18843,18760,18717,18716,18707,18685,18675,18670,18647,18588,18566,18554,18548,18541,18540,18539,18490,18480,18475,18460,18455,18454,18453,18452,18438,18424,18273,18262,18260,17143,16805,16769,15241,5355,2614,1410));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`, `VerifiedBuild`) VALUES
(175184, 0, 0, 0, 39, 1, 0.699999988079071044, 0.870000004768371582, 197795, 0, 0, 48526),
(24893, 0, 0, 0, 39, 1, 1.35000002384185791, 1, 22944, 0, 0, 48526),
(23415, 0, 0, 0, 39, 1, 1, 1, 19724, 0, 0, 48526),
(23383, 0, 0, 0, 39, 1, 1, 1, 19679, 4096, 0, 48526),
(23367, 0, 0, 0, 39, 1, 1, 1, 19657, 0, 0, 48526),
(23363, 0, 0, 0, 39, 1, 1, 1, 19646, 0, 0, 48526),
(23306, 0, 0, 0, 39, 1, 1, 1, 19525, 0, 0, 48526),
(23257, 0, 0, 0, 39, 1, 6, 1, 19433, 0, 0, 48526),
(23219, 0, 0, 0, 39, 1, 1, 1, 19357, 1, 0, 48526),
(23093, 0, 0, 0, 39, 1, 1, 1, 19085, 0, 0, 48526),
(23092, 0, 0, 0, 39, 1, 1, 1, 19083, 0, 0, 48526),
(23051, 0, 0, 0, 39, 1, 1, 1, 19001, 1, 0, 48526),
(23048, 0, 0, 0, 39, 1, 1, 1, 18995, 0, 0, 48526),
(23042, 0, 0, 0, 39, 1, 1, 1, 18983, 0, 0, 48526),
(23038, 0, 0, 0, 39, 1, 1, 1, 18975, 128, 0, 48526),
(23029, 0, 0, 0, 39, 1, 4, 3, 18953, 256, 0, 48526),
(23016, 0, 0, 0, 39, 1, 1, 1, 18929, 0, 0, 48526),
(22991, 0, 0, 0, 39, 1, 1.35000002384185791, 1, 18879, 0, 0, 48526),
(22986, 0, 0, 0, 39, 1, 1, 1, 18869, 0, 0, 48526),
(22982, 0, 0, 0, 39, 1, 1, 1, 18861, 0, 0, 48526),
(22980, 0, 0, 0, 39, 1, 1, 1, 18857, 0, 0, 48526),
(22831, 0, 0, 0, 39, 1, 1, 1, 18562, 0, 0, 48526),
(22807, 0, 0, 0, 39, 1, 1, 1, 18518, 1, 0, 48526),
(22481, 0, 0, 0, 39, 1, 1, 1, 18420, 0, 0, 48526),
(22477, 0, 0, 0, 39, 1, 2, 1, 18412, 0, 0, 48526),
(22476, 0, 0, 0, 39, 1, 2, 1, 18411, 0, 0, 48526),
(22464, 0, 0, 0, 39, 1, 1, 1, 18387, 4096, 0, 48526),
(22463, 0, 0, 0, 39, 1, 3, 1, 18385, 0, 0, 48526),
(22462, 0, 0, 0, 39, 1, 3, 1, 18383, 0, 0, 48526),
(22458, 0, 0, 0, 39, 1, 1, 1, 18374, 4096, 0, 48526),
(22457, 0, 0, 0, 39, 1, 1, 1, 18372, 0, 0, 48526),
(22456, 0, 0, 0, 39, 1, 3, 1, 18370, 0, 0, 48526),
(22453, 0, 0, 0, 39, 1, 3, 1, 18364, 0, 0, 48526),
(22446, 0, 0, 0, 39, 1, 1, 1, 18349, 0, 0, 48526),
(22441, 0, 0, 0, 39, 1, 2, 1, 18339, 2147483688, 0, 48526),
(22424, 0, 0, 0, 39, 1, 1, 1, 18304, 4096, 0, 48526),
(22420, 0, 0, 0, 39, 1, 1, 1, 18296, 0, 0, 48526),
(22407, 0, 0, 0, 2109, 9, 3, 1, 18271, 0, 0, 48526),
(22388, 0, 0, 0, 39, 1, 1, 1, 18224, 0, 0, 48526),
(22387, 0, 0, 0, 39, 1, 1, 1, 18221, 0, 0, 48526),
(22381, 0, 0, 0, 39, 1, 1.20000004768371582, 1, 18210, 0, 0, 48526),
(22378, 0, 0, 0, 39, 1, 1, 1, 18203, 0, 0, 48526),
(22377, 0, 0, 0, 39, 1, 1.299999952316284179, 1, 18201, 0, 0, 48526),
(22371, 0, 0, 0, 39, 1, 1, 1, 18188, 0, 0, 48526),
(22370, 0, 0, 0, 39, 1, 1.299999952316284179, 1, 18186, 0, 0, 48526),
(22365, 0, 0, 0, 39, 1, 1, 1, 18174, 0, 0, 48526),
(22364, 0, 0, 0, 39, 1, 1, 1, 18172, 0, 0, 48526),
(22355, 0, 0, 0, 39, 1, 0.100000001490116119, 1, 18152, 8, 0, 48526),
(22340, 0, 0, 0, 39, 1, 1, 1, 18121, 0, 0, 48526),
(22314, 0, -4, -4, 1723, 9, 1, 1, 18071, 0, 0, 48526),
(22288, 0, 0, 0, 39, 1, 1, 1, 18010, 0, 0, 48526),
(22278, 0, 0, 0, 39, 1, 2, 1, 17988, 0, 0, 48526),
(22272, 0, 0, 0, 39, 1, 1, 1, 17974, 0, 0, 48526),
(22105, 0, 0, 0, 39, 1, 1, 1, 17735, 65537, 0, 48526),
(22100, 0, 0, 0, 39, 1, 1, 1, 17730, 1, 0, 48526),
(22045, 0, 0, 0, 39, 1, 1, 1, 17676, 0, 0, 48526),
(21967, 0, 0, 0, 39, 1, 1, 1, 17603, 0, 0, 48526),
(21963, 0, 0, 0, 39, 1, 1, 1, 17599, 0, 0, 48526),
(21957, 0, 0, 0, 39, 1, 1, 1, 17593, 0, 0, 48526),
(21941, 0, 0, 0, 39, 1, 1, 1, 17579, 0, 0, 48526),
(21911, 0, 0, 0, 39, 1, 1, 1, 17554, 0, 0, 48526),
(21907, 0, 0, 0, 39, 1, 1, 1, 17550, 0, 0, 48526),
(21903, 0, 0, 0, 39, 1, 1, 1, 17544, 0, 0, 48526),
(21902, 0, 0, 0, 39, 1, 1, 1, 17543, 0, 0, 48526),
(21899, 0, 0, 0, 39, 1, 1, 1, 17540, 0, 0, 48526),
(21898, 0, 0, 0, 39, 1, 1, 1, 17539, 0, 0, 48526),
(21870, 0, 0, 0, 39, 1, 1, 1, 17506, 2, 0, 48526),
(21869, 0, 0, 0, 39, 1, 1, 1, 17505, 2, 0, 48526),
(21859, 0, 0, 0, 39, 1, 1, 1, 17493, 16, 0, 48526),
(21858, 0, 0, 0, 2109, 9, 3, 1, 17492, 0, 0, 48526),
(21856, 0, 0, 0, 39, 1, 1, 1, 17490, 0, 0, 48526),
(21855, 0, 0, 0, 39, 1, 1, 1, 17489, 0, 0, 48526),
(21852, 0, 0, 0, 39, 1, 1, 1, 17486, 0, 0, 48526),
(21846, 0, 0, 0, 39, 1, 1, 1, 17480, 16, 0, 48526),
(21804, 0, 0, 0, 39, 1, 0.449999988079071044, 0.300000011920928955, 17442, 1, 0, 48526),
(21794, 0, 0, 0, 39, 1, 1, 1, 17432, 0, 0, 48526),
(21793, 0, 0, 0, 39, 1, 1, 1, 17431, 0, 0, 48526),
(21792, 0, 0, 0, 39, 1, 1, 1, 17430, 0, 0, 48526),
(21791, 0, 0, 0, 39, 1, 1, 1, 17429, 0, 0, 48526),
(21728, 0, 0, 0, 39, 1, 1, 1, 17368, 0, 0, 48526),
(21724, 0, 0, 0, 39, 1, 2, 1, 17364, 1, 0, 48526),
(21723, 0, 0, 0, 39, 1, 1.299999952316284179, 1, 17363, 1, 0, 48526),
(21662, 0, 0, 0, 39, 1, 1, 1, 17292, 0, 0, 48526),
(21661, 0, 0, 0, 39, 1, 1, 1, 17291, 0, 0, 48526),
(21660, 0, 0, 0, 39, 1, 1, 1, 17290, 0, 0, 48526),
(21654, 0, 0, 0, 39, 1, 1, 1, 17284, 16, 0, 48526),
(21650, 0, 0, 0, 39, 1, 1, 1, 17280, 0, 0, 48526),
(21649, 0, 0, 0, 39, 1, 1, 1, 17279, 0, 0, 48526),
(21644, 0, 0, 0, 39, 1, 1, 1, 17277, 0, 0, 48526),
(21504, 0, 0, 0, 37, 1, 17, 10, 17245, 0, 0, 48526),
(21465, 0, 0, 0, 39, 1, 1, 1, 17203, 0, 0, 48526),
(21368, 0, 0, 0, 39, 1, 1, 1, 17106, 0, 0, 48526),
(21324, 0, 0, 0, 39, 1, 1, 1, 17059, 0, 0, 48526),
(21317, 0, -4, -4, 1723, 9, 1, 1, 17052, 0, 0, 48526),
(21313, 0, 0, 0, 40, 1, 1, 1, 17048, 0, 0, 48526),
(21285, 0, 0, 0, 39, 1, 1, 1, 17014, 0, 0, 48526),
(21284, 0, 0, 0, 39, 1, 1, 1, 17013, 0, 0, 48526),
(21242, 0, 0, 0, 39, 1, 1, 1, 16973, 0, 0, 48526),
(21200, 0, 0, 0, 39, 1, 1, 1, 16931, 0, 0, 48526),
(21198, 0, 0, 0, 39, 1, 1, 1, 16929, 0, 0, 48526),
(21039, 0, 0, 0, 39, 1, 1, 1, 16748, 0, 0, 48526),
(21007, 0, 0, 0, 39, 1, 1, 1, 16717, 0, 0, 48526),
(20986, 0, 0, 0, 39, 1, 1.25, 1, 16697, 0, 0, 48526),
(20895, 0, -4, -4, 1723, 9, 1, 1, 16572, 0, 0, 48526),
(20894, 0, -4, -4, 1723, 9, 1, 1, 16571, 0, 0, 48526),
(20893, 0, 0, 0, 39, 1, 2, 1, 16570, 0, 0, 48526),
(20892, 0, 0, 0, 39, 1, 2, 1, 16569, 0, 0, 48526),
(20891, 0, 0, 0, 39, 1, 2, 1, 16568, 0, 0, 48526),
(20890, 0, 0, 0, 39, 1, 2, 1, 16567, 0, 0, 48526),
(20877, 0, 0, 0, 39, 1, 1.20000004768371582, 1, 16540, 0, 0, 48526),
(20876, 0, 0, 0, 39, 1, 1.20000004768371582, 1, 16539, 0, 0, 48526),
(20874, 0, 0, 0, 39, 1, 1, 1, 16535, 0, 0, 48526),
(20809, 0, 0, 0, 39, 1, 1, 1, 16450, 0, 0, 48526),
(20767, 0, 0, 0, 39, 1, 1, 1, 16408, 0, 0, 48526),
(19847, 0, 0, 0, 39, 1, 2, 3, 15716, 2147483648, 0, 48526),
(19718, 0, 0, 0, 39, 1, 1, 1, 15584, 0, 0, 48526),
(19697, 0, 0, 0, 39, 1, 1, 1, 15559, 0, 0, 48526),
(19693, 0, 0, 0, 39, 1, 1, 1, 15555, 0, 0, 48526),
(19689, 0, 0, 0, 39, 1, 1, 1, 15551, 0, 0, 48526),
(19679, 0, 0, 0, 39, 1, 5, 3, 15541, 0, 0, 48526),
(19677, 0, -1, 0, 222, 1, 5, 3, 15539, 0, 0, 48526),
(19676, 0, 0, 0, 39, 1, 5, 3, 15538, 0, 0, 48526),
(19674, 0, 0, 0, 39, 1, 1, 1, 15536, 0, 0, 48526),
(19673, 0, -1, 1, 222, 1, 5, 3, 15535, 0, 0, 48526),
(19672, 0, -3, 0, 222, 1, 5, 3, 15534, 0, 0, 48526),
(19659, 0, 0, 0, 872, 9, 1, 1, 15521, 0, 0, 48526),
(19417, 0, 0, 0, 39, 1, 1, 1, 15243, 0, 0, 48526),
(18843, 0, 0, 0, 40, 1, 1, 1, 14620, 0, 0, 48526),
(18760, 0, 0, 0, 39, 1, 1.25, 1.25, 14521, 4096, 0, 48526),
(18717, 0, 0, 0, 39, 1, 1, 1, 14473, 0, 0, 48526),
(18716, 0, 0, 0, 39, 1, 1, 1, 14472, 0, 0, 48526),
(18707, 0, 0, 0, 39, 1, 2, 1, 14464, 2147483649, 0, 48526),
(18685, 0, 0, 0, 39, 1, 2, 5, 14434, 0, 0, 48526),
(18675, 0, 0, 0, 39, 1, 1, 1, 14424, 0, 0, 48526),
(18670, 0, 0, 0, 39, 1, 1, 1, 14417, 1, 0, 48526),
(18647, 0, 0, 0, 39, 1, 4, 1, 14390, 1, 0, 48526),
(18588, 0, 0, 0, 39, 1, 2, 2, 14329, 2147483648, 0, 48526),
(18566, 0, 0, 0, 39, 1, 1, 1, 14317, 0, 0, 48526),
(18554, 0, 0, 0, 39, 1, 2.5, 1, 14298, 0, 0, 48526),
(18548, 0, 0, 0, 39, 1, 1.299999952316284179, 1, 14292, 0, 0, 48526),
(18541, 0, 0, 0, 39, 1, 2, 1, 14285, 2147483648, 0, 48526),
(18540, 0, 0, 0, 39, 1, 2, 1, 14284, 2147483648, 0, 48526),
(18539, 0, 0, 0, 39, 1, 2, 1, 14283, 2147483648, 0, 48526),
(18490, 0, 0, 0, 39, 1, 1, 1, 14228, 0, 0, 48526),
(18480, 0, 0, 0, 39, 1, 1, 1, 14218, 128, 0, 48526),
(18475, 0, 0, 0, 39, 1, 1, 1, 14211, 0, 0, 48526),
(18460, 0, 0, 0, 39, 1, 1, 1, 14192, 0, 0, 48526),
(18455, 0, 0, 0, 39, 1, 1, 1, 14187, 0, 0, 48526),
(18454, 0, 0, 0, 39, 1, 1, 1, 14186, 0, 0, 48526),
(18453, 0, 0, 0, 39, 1, 1, 1, 14185, 0, 0, 48526),
(18452, 0, 0, 0, 39, 1, 1, 1, 14184, 0, 0, 48526),
(18438, 0, 0, 0, 39, 1, 2, 1, 14168, 2147483649, 0, 48526),
(18424, 0, 0, 0, 39, 1, 1, 1, 14153, 0, 0, 48526),
(18273, 0, 0, 0, 39, 1, 11, 1, 13944, 0, 0, 48526),
(18262, 0, 0, 0, 39, 1, 1.75, 1, 13933, 0, 0, 48526),
(18260, 0, 0, 0, 39, 1, 1, 1, 13931, 0, 0, 48526),
(17143, 0, 0, 0, 39, 1, 1, 1, 12532, 0, 0, 48526),
(16805, 0, 0, 0, 39, 1, 1, 1, 12185, 0, 0, 48526),
(16769, 0, 0, 0, 39, 1, 1, 1, 12147, 0, 0, 48526),
(15241, 0, 0, 0, 777, 1, 2, 1, 10504, 8, 0, 48526),
(5355, 0, 0, 0, 39, 1, 1, 1, 4606, 0, 0, 48526),
(2614, 0, 0, 0, 777, 1, 1.10000002384185791, 1, 2206, 0, 0, 48526),
(1410, 0, 0, 0, 39, 1, 1, 1, 1123, 0, 0, 48526);
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=48526 WHERE (`DifficultyID`=0 AND `Entry` IN (115695,62583,61440,61255,61142,61081,49833,25580,24905,24886,24885,23131,23102,23094,23091,22307,22095,22001,21999,21996,21993,21854,21849,21636,21515,21489,21463,21451,21443,21429,21405,21400,21399,21398,21397,21370,21194,21193,21192,21188,19773,19772,19607,19606,19296,19181,19159,19154,19147,19056,19053,19048,19042,19038,19003,19002,19000,18999,18984,18973,18962,18960,18959,18957,18809,18807,18750,18745,18720,18719,18718,18714,18713,18712,18705,18704,18676,18595,18583,18492,18477,18476,18470,18469,18468,18467,18466,18465,18464,18463,18461,18459,18457,18456,18451,18450,18449,18447,18446,18437,18390,18389,18387,18386,18385,18384,18383,18252,18249,17467,17142,17088,17076,16932,16899,16898,16810,16772,16519,15991,2615,385));
UPDATE `creature_template_difficulty` SET `DamageModifier`=4.6 WHERE (`DifficultyID`=0 AND `Entry` IN (18647,18273,18707,19674,19676,23257,19847,21465,21504,23029,21858,22463,22446,15241,22453,22456,22462,18588));
UPDATE `creature_template_difficulty` SET `DamageModifier`=7.5 WHERE (`DifficultyID`=0 AND `Entry` IN (19677,21724,22441));
UPDATE `creature_template_difficulty` SET `LootID`=1410, `PickPocketLootID`=1410, `SkinLootID`=0, `GoldMin`=957, `GoldMax`=1288 WHERE `DifficultyID`=0 AND `Entry`=1410;
UPDATE `creature_template_difficulty` SET `LootID`=5355, `PickPocketLootID`=5355, `SkinLootID`=0, `GoldMin`=952, `GoldMax`=1177 WHERE `DifficultyID`=0 AND `Entry`=5355;
UPDATE `creature_template_difficulty` SET `LootID`=16769, `PickPocketLootID`=16769, `SkinLootID`=0, `GoldMin`=897, `GoldMax`=1084 WHERE `DifficultyID`=0 AND `Entry`=16769;
UPDATE `creature_template_difficulty` SET `LootID`=16805, `PickPocketLootID`=16805, `SkinLootID`=0, `GoldMin`=179, `GoldMax`=239 WHERE `DifficultyID`=0 AND `Entry`=16805;
UPDATE `creature_template_difficulty` SET `LootID`=17143, `PickPocketLootID`=17143, `SkinLootID`=0, `GoldMin`=146, `GoldMax`=196 WHERE `DifficultyID`=0 AND `Entry`=17143;
UPDATE `creature_template_difficulty` SET `LootID`=18260, `PickPocketLootID`=18260, `SkinLootID`=0, `GoldMin`=175, `GoldMax`=233 WHERE `DifficultyID`=0 AND `Entry`=18260;
UPDATE `creature_template_difficulty` SET `LootID`=0, `PickPocketLootID`=18262, `SkinLootID`=0, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=18262;
UPDATE `creature_template_difficulty` SET `LootID`=18438, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=18438;
UPDATE `creature_template_difficulty` SET `LootID`=18452, `PickPocketLootID`=18452, `SkinLootID`=0, `GoldMin`=174, `GoldMax`=232 WHERE `DifficultyID`=0 AND `Entry`=18452;
UPDATE `creature_template_difficulty` SET `LootID`=18453, `PickPocketLootID`=18453, `SkinLootID`=0, `GoldMin`=148, `GoldMax`=199 WHERE `DifficultyID`=0 AND `Entry`=18453;
UPDATE `creature_template_difficulty` SET `LootID`=18454, `PickPocketLootID`=18454, `SkinLootID`=0, `GoldMin`=170, `GoldMax`=226 WHERE `DifficultyID`=0 AND `Entry`=18454;
UPDATE `creature_template_difficulty` SET `LootID`=18455, `PickPocketLootID`=18455, `SkinLootID`=0, `GoldMin`=153, `GoldMax`=205 WHERE `DifficultyID`=0 AND `Entry`=18455;
UPDATE `creature_template_difficulty` SET `LootID`=18460, `PickPocketLootID`=18460, `SkinLootID`=0, `GoldMin`=179, `GoldMax`=239 WHERE `DifficultyID`=0 AND `Entry`=18460;
UPDATE `creature_template_difficulty` SET `LootID`=18475, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=18475;
UPDATE `creature_template_difficulty` SET `LootID`=18539, `PickPocketLootID`=18539, `SkinLootID`=0, `GoldMin`=162, `GoldMax`=217 WHERE `DifficultyID`=0 AND `Entry`=18539;
UPDATE `creature_template_difficulty` SET `LootID`=18540, `PickPocketLootID`=18540, `SkinLootID`=0, `GoldMin`=170, `GoldMax`=226 WHERE `DifficultyID`=0 AND `Entry`=18540;
UPDATE `creature_template_difficulty` SET `LootID`=18541, `PickPocketLootID`=18541, `SkinLootID`=0, `GoldMin`=174, `GoldMax`=232 WHERE `DifficultyID`=0 AND `Entry`=18541;
UPDATE `creature_template_difficulty` SET `LootID`=18548, `PickPocketLootID`=18548, `SkinLootID`=0, `GoldMin`=869, `GoldMax`=1000 WHERE `DifficultyID`=0 AND `Entry`=18548;
UPDATE `creature_template_difficulty` SET `LootID`=18554, `PickPocketLootID`=18554, `SkinLootID`=0, `GoldMin`=307, `GoldMax`=406 WHERE `DifficultyID`=0 AND `Entry`=18554;
UPDATE `creature_template_difficulty` SET `LootID`=18588, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=580, `GoldMax`=762 WHERE `DifficultyID`=0 AND `Entry`=18588;
UPDATE `creature_template_difficulty` SET `LootID`=18647, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=1083, `GoldMax`=1420 WHERE `DifficultyID`=0 AND `Entry`=18647;
UPDATE `creature_template_difficulty` SET `LootID`=18670, `PickPocketLootID`=0, `SkinLootID`=70061, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=18670;
UPDATE `creature_template_difficulty` SET `LootID`=18685, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=245, `GoldMax`=325 WHERE `DifficultyID`=0 AND `Entry`=18685;
UPDATE `creature_template_difficulty` SET `LootID`=18707, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=18707;
UPDATE `creature_template_difficulty` SET `LootID`=19847, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=2574, `GoldMax`=3367 WHERE `DifficultyID`=0 AND `Entry`=19847;
UPDATE `creature_template_difficulty` SET `LootID`=21198, `PickPocketLootID`=21198, `SkinLootID`=0, `GoldMin`=175, `GoldMax`=233 WHERE `DifficultyID`=0 AND `Entry`=21198;
UPDATE `creature_template_difficulty` SET `LootID`=21200, `PickPocketLootID`=21200, `SkinLootID`=0, `GoldMin`=146, `GoldMax`=196 WHERE `DifficultyID`=0 AND `Entry`=21200;
UPDATE `creature_template_difficulty` SET `LootID`=21242, `PickPocketLootID`=21242, `SkinLootID`=0, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=21242;
UPDATE `creature_template_difficulty` SET `LootID`=21284, `PickPocketLootID`=21284, `SkinLootID`=0, `GoldMin`=182, `GoldMax`=242 WHERE `DifficultyID`=0 AND `Entry`=21284;
UPDATE `creature_template_difficulty` SET `LootID`=21285, `PickPocketLootID`=21285, `SkinLootID`=0, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=21285;
UPDATE `creature_template_difficulty` SET `LootID`=21324, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=21324;
UPDATE `creature_template_difficulty` SET `LootID`=21368, `PickPocketLootID`=21368, `SkinLootID`=0, `GoldMin`=177, `GoldMax`=236 WHERE `DifficultyID`=0 AND `Entry`=21368;
UPDATE `creature_template_difficulty` SET `LootID`=21644, `PickPocketLootID`=21644, `SkinLootID`=0, `GoldMin`=254, `GoldMax`=337 WHERE `DifficultyID`=0 AND `Entry`=21644;
UPDATE `creature_template_difficulty` SET `LootID`=21649, `PickPocketLootID`=21649, `SkinLootID`=0, `GoldMin`=216, `GoldMax`=287 WHERE `DifficultyID`=0 AND `Entry`=21649;
UPDATE `creature_template_difficulty` SET `LootID`=21650, `PickPocketLootID`=21650, `SkinLootID`=0, `GoldMin`=207, `GoldMax`=276 WHERE `DifficultyID`=0 AND `Entry`=21650;
UPDATE `creature_template_difficulty` SET `LootID`=21660, `PickPocketLootID`=21660, `SkinLootID`=0, `GoldMin`=146, `GoldMax`=196 WHERE `DifficultyID`=0 AND `Entry`=21660;
UPDATE `creature_template_difficulty` SET `LootID`=21661, `PickPocketLootID`=21661, `SkinLootID`=0, `GoldMin`=172, `GoldMax`=229 WHERE `DifficultyID`=0 AND `Entry`=21661;
UPDATE `creature_template_difficulty` SET `LootID`=21662, `PickPocketLootID`=21662, `SkinLootID`=0, `GoldMin`=172, `GoldMax`=229 WHERE `DifficultyID`=0 AND `Entry`=21662;
UPDATE `creature_template_difficulty` SET `LootID`=21723, `PickPocketLootID`=0, `SkinLootID`=70064, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=21723;
UPDATE `creature_template_difficulty` SET `LootID`=21724, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=21724;
UPDATE `creature_template_difficulty` SET `LootID`=21728, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=21728;
UPDATE `creature_template_difficulty` SET `LootID`=21804, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=21804;
UPDATE `creature_template_difficulty` SET `LootID`=21902, `PickPocketLootID`=21902, `SkinLootID`=0, `GoldMin`=143, `GoldMax`=192 WHERE `DifficultyID`=0 AND `Entry`=21902;
UPDATE `creature_template_difficulty` SET `LootID`=21907, `PickPocketLootID`=21907, `SkinLootID`=0, `GoldMin`=145, `GoldMax`=195 WHERE `DifficultyID`=0 AND `Entry`=21907;
UPDATE `creature_template_difficulty` SET `LootID`=21911, `PickPocketLootID`=21911, `SkinLootID`=0, `GoldMin`=216, `GoldMax`=287 WHERE `DifficultyID`=0 AND `Entry`=21911;
UPDATE `creature_template_difficulty` SET `LootID`=21941, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=21941;
UPDATE `creature_template_difficulty` SET `LootID`=21963, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=141, `GoldMax`=189 WHERE `DifficultyID`=0 AND `Entry`=21963;
UPDATE `creature_template_difficulty` SET `LootID`=22045, `PickPocketLootID`=22045, `SkinLootID`=0, `GoldMin`=184, `GoldMax`=245 WHERE `DifficultyID`=0 AND `Entry`=22045;
UPDATE `creature_template_difficulty` SET `LootID`=22100, `PickPocketLootID`=0, `SkinLootID`=70061, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=22100;
UPDATE `creature_template_difficulty` SET `LootID`=22105, `PickPocketLootID`=0, `SkinLootID`=70061, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=22105;
UPDATE `creature_template_difficulty` SET `LootID`=22378, `PickPocketLootID`=22378, `SkinLootID`=0, `GoldMin`=153, `GoldMax`=205 WHERE `DifficultyID`=0 AND `Entry`=22378;
UPDATE `creature_template_difficulty` SET `LootID`=0, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=173, `GoldMax`=231 WHERE `DifficultyID`=0 AND `Entry`=22381;
UPDATE `creature_template_difficulty` SET `LootID`=22387, `PickPocketLootID`=22387, `SkinLootID`=0, `GoldMin`=153, `GoldMax`=205 WHERE `DifficultyID`=0 AND `Entry`=22387;
UPDATE `creature_template_difficulty` SET `LootID`=22388, `PickPocketLootID`=22388, `SkinLootID`=0, `GoldMin`=174, `GoldMax`=232 WHERE `DifficultyID`=0 AND `Entry`=22388;
UPDATE `creature_template_difficulty` SET `LootID`=22807, `PickPocketLootID`=0, `SkinLootID`=70064, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=22807;
UPDATE `creature_template_difficulty` SET `LootID`=23029, `PickPocketLootID`=0, `SkinLootID`=80002, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=23029;
UPDATE `creature_template_difficulty` SET `LootID`=23051, `PickPocketLootID`=0, `SkinLootID`=0, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=23051;
UPDATE `creature_template_difficulty` SET `LootID`=23219, `PickPocketLootID`=0, `SkinLootID`=70161, `GoldMin`=0, `GoldMax`=0 WHERE `DifficultyID`=0 AND `Entry`=23219;
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=48526 WHERE `DisplayID` IN (1281, 4162, 20848, 45998, 5905, 36616, 36617, 2957, 15469, 23548, 22910, 22730, 22717, 22716, 21478, 21436, 18634, 21182, 23003, 21261, 17868, 21396, 21228, 21227, 21215, 21213, 21458, 21158, 17188, 21169, 21194, 21184, 21044, 17248, 17216, 16379, 16381, 21037, 21031, 21038, 16491, 21023, 21018, 20998, 21036, 21057, 21056, 21053, 21032, 17869, 19912, 20961, 7804, 20962, 7935, 16213, 80, 12929, 14501, 4616, 37744, 20790, 6351, 5265, 1196, 14707, 16269, 4629, 20696, 20695, 20597, 20693, 20692, 20694, 20564, 20565, 21081, 21082, 20755, 20753, 20752, 20754, 16878, 20617, 20183, 20184, 15880, 5564, 20425, 20424, 20396, 20395, 20394, 20563, 20393, 20537, 20391, 20562, 23501, 17864, 20602, 18628, 20289, 20348, 20343, 17612, 20296, 19595, 20024, 21113, 20269, 20268, 20267, 20266, 19646, 20534, 20223, 19581, 20189, 20188, 20187, 20190, 20186, 20185, 20744, 20165, 20152, 20137, 20145, 20143, 20141, 20140, 19984, 19957, 19335, 17440, 17494, 1404, 16924, 18616, 19214, 19522, 19523, 20660, 19144, 19140, 19138, 19134, 19654, 19105, 21020, 19627, 19645, 17906, 19036, 19028, 18838, 18711, 2585, 644, 18556, 18547, 18546, 18493, 18492, 18483, 18484, 18491, 18478, 18446, 18444, 18829, 18436, 18435, 18830, 18438, 18440, 18439, 18437, 18415, 4602, 4260, 4601, 4259, 4559, 18421, 3737, 5706, 5771, 2577, 18827, 31984, 18146, 18127, 18108, 17978, 18125, 18121, 18097, 18096, 18095, 37578, 18087, 18086, 62616, 21039, 18063, 18923, 18216, 18012, 18003, 17976, 17958, 17900, 17860, 70783, 17849, 17847, 17850, 17848, 17833, 11417, 11419, 1192, 17574, 8271, 19998, 20025, 17812, 16876, 17811, 18073, 18072, 17810, 18427, 18428, 17809, 17808, 17806, 17805, 16875, 17005, 17006, 17807, 17804, 17798, 17795, 2281, 18100, 17737, 17736, 17735, 17734, 17731, 17730, 17650, 11546, 11551, 17639, 17636, 16633, 17973, 17974, 18133, 17988, 18132, 18130, 16820, 19844, 18215, 18825, 18824, 18826, 18213, 18206, 18205, 18207, 18208, 18113, 18112, 18111, 17981, 15947, 17202, 18196, 18198, 18199, 18197, 6303, 2958, 134, 18201, 18200, 18202, 18203, 229);
UPDATE `creature_model_info` SET `CombatReach`=1.016326546669006347, `VerifiedBuild`=48526 WHERE `DisplayID`=20738;
UPDATE `creature_template_model` SET `VerifiedBuild`=48526 WHERE (`Idx`=0 AND `CreatureID` IN (23042,21654,18685,21907,21284,21313,16805,22095,21397,18437,23415,22982,19697,22105,22476,22453,21285,61440,18716,18386,19773,18583,61255,18450,18476,18714,22980,23051,19672,22272,18453,15241,18595,23131,18959,21398,18390,16899,21007,18480,21855,22371,21846,22420,18262,18843,21324,18718,23091,23093,23094,24905,18745,19000,21039,1410,18492,18539,23029,22831,21957,22463,22446,20874,24893,21429,22424,19606,18447,18973,18468,18466,23383,23363,21856,21650,22481,22364,22307,18452,17088,18389,21911,19693,19676,22462,20891,21849,21368,21405,18541,18676,385,16810,20767,21504,18438,18464,18457,21903,21963,22457,21869,18675,20894,21858,18588,175184,18712,19159,18566,18446,18540,21854,17076,23367,23016,20986,19674,22464,21859,2914,22365,20876,23092,18807,2615,19042,18809,2614,18424,18461,21644,19677,22045,22100,21463,21443,22807,19038,18760,18456,62583,21791,19718,21317,20877,22407,18454,18720,115695,21194,21193,18384,19053,18704,18387,18252,18554,16769,5355,23048,19847,20893,18707,21200,22377,18717,18705,19056,18477,18470,21370,18455,22355,22288,18467,16898,18469,23038,49833,22388,23102,19002,18383,19607,21399,18463,165189,21804,22991,19417,22441,22456,20890,19659,21198,21660,16519,24885,21996,21899,17467,17143,61081,21724,21649,21792,19679,21902,21242,22387,22378,22314,18719,18465,21188,18713,19181,18670,17142,21728,21794,23219,21852,22477,20892,19296,18459,16772,21465,61366,16932,18451,18449,23257,21941,22458,21489,21451,18999,18490,25580,21723,18475,18960,19772,22986,19673,61142,18647,22340,21661,22381,21192,18385,22001,21400,18548,18750,21793,18460,18260,18962,18957,19154,19147,20809,21967,21870,20895,18273,21662,24886,19048,18249,21993,19003,21999,1412,23306,19689,22370,22278,21515,21636,18984,15991,21898)) OR (`Idx`=1 AND `CreatureID` IN (21654,21907,21284,16805,22982,21285,61440,18716,22980,16899,21855,21846,18718,23094,19000,21039,1410,22831,21957,22463,20874,24893,21429,18973,23383,21856,17088,20767,21903,22457,21869,21858,19159,22464,21859,2914,20876,2615,2614,19677,22045,21463,21443,21791,20877,22407,16769,5355,18717,22288,16898,49833,23102,22991,21660,16519,21996,21899,21792,21902,21242,22378,22314,18719,21794,21852,61366,23257,21489,21451,18999,18490,22986,61142,22340,21661,22001,18548,21793,18460,19147,20809,21967,21870,21662,19048,21993,19003,21999,19689,21636,21898)) OR (`Idx`=3 AND `CreatureID` IN (21284,21285,61440,18716,22980,21846,19000,1410,22463,18973,23383,17088,21858,21859,2914,20876,20877,22407,16769,5355,18717,49833,16519,22314,18719,21852,23257,18999,18490,61142,19689,21636)) OR (`Idx`=2 AND `CreatureID` IN (21284,16805,21285,61440,18716,22980,21846,18718,23094,19000,1410,22463,20874,18973,23383,17088,21858,22464,21859,2914,20876,22045,20877,22407,16769,5355,18717,49833,21660,16519,21902,22314,18719,21852,61366,23257,18999,18490,61142,21661,18460,19689,21636));
-- Gameobject templates
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185191; -- Darkstone of Terokk
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185139; -- Malukaz's Candles
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry` IN (185211, 185210); -- Cursed Egg
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry` IN (182794, 185952); -- Cage
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry` IN (182582, 182583); -- Draenei Vessel
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185218; -- Violet Signal Fire
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=21111, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=184815; -- Sealed Coffin
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry` IN (184843, 184842); -- Torgos's Bane
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185913; -- Skull Pile
UPDATE `gameobject_template` SET `Data26`=1, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=182547; -- Orb of Translocation
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185549; -- Monstrous Kaliri Egg
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=182587; -- Wanted Poster
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=21111, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=184813; -- Sealed Coffin
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185551; -- Shrine of the Hawk
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=21111, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=184812; -- Sealed Coffin
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185219; -- Bloodstone Signal Fire
UPDATE `gameobject_template` SET `Data1`=0, `Data2`=1, `Data30`=20721, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=182542; -- Sealed Box
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry` IN (185212, 185208); -- [PH] Arakkoa Egg
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=184725; -- Mana Bomb
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=182566; -- Western Altar
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=21111, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=184814; -- Sealed Coffin
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=19346, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185201; -- Eye of Veil Shienor
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=182956; -- School of Darter
UPDATE `gameobject_template` SET `Data26`=1, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=182543; -- Orb of Translocation
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=182563; -- Northern Altar
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185216; -- Sapphire Signal Fire
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185217; -- Emerald Signal Fire
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185226; -- Cabal Chest
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=182546; -- Orb of Translocation
UPDATE `gameobject_template` SET `Data1`=0, `Data2`=1, `Data30`=21867, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185220; -- Massive Treasure Chest
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=21111, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=184810; -- Sealed Coffin
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=184794; -- Sealed Box
UPDATE `gameobject_template` SET `Data26`=1, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=182548; -- Orb of Translocation
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=21111, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=184811; -- Sealed Coffin
UPDATE `gameobject_template` SET `Data1`=0, `Data2`=1, `Data30`=21871, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185225; -- Cabal Chest
UPDATE `gameobject_template` SET `displayId`=0, `Data3`=0, `Data6`=0, `VerifiedBuild`=48526 WHERE `entry`=183144; -- Forge
UPDATE `gameobject_template` SET `Data1`=0, `Data2`=1, `Data30`=22199, `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185954; -- Hazzik's Package
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185547; -- Shrine of the Eagle
UPDATE `gameobject_template` SET `ContentTuningId`=39, `VerifiedBuild`=48526 WHERE `entry`=185928; -- Ancient Skull Pile
UPDATE `gameobject_template_addon` SET `WorldEffectID`=8830 WHERE `entry`=278575; -- Hero's Call Board
UPDATE `gameobject_template_addon` SET `WorldEffectID`=8830 WHERE `entry`=278347; -- Warchief's Command Board
UPDATE `gameobject_template_addon` SET `flags`=2113540 WHERE `entry` IN (185226, 185225, 185224); -- Cabal Chest
UPDATE `gameobject_template_addon` SET `flags`=2113540 WHERE `entry`=185220; -- Massive Treasure Chest
UPDATE `gameobject_template_addon` SET `flags`=2113540 WHERE `entry`=185201; -- Eye of Veil Shienor
UPDATE `gameobject_template_addon` SET `flags`=2113540 WHERE `entry`=185200; -- Eye of Veil Reskk
UPDATE `gameobject_template_addon` SET `flags`=32 WHERE `entry`=183104; -- Terokkar Banner
UPDATE `gameobject_template_addon` SET `flags`=278528 WHERE `entry`=181555; -- Fel Iron Deposit
UPDATE `gameobject_template_addon` SET `flags`=278528 WHERE `entry`=181281; -- Mana Thistle
UPDATE `gameobject_template_addon` SET `faction`=35 WHERE `entry`=29784; -- Basic Campfire
DELETE FROM `gameobject_questitem` WHERE (`GameObjectEntry`=184810 AND `Idx`=1) OR (`GameObjectEntry`=184812 AND `Idx` IN (1,2,3)) OR (`GameObjectEntry`=184813 AND `Idx` IN (1,2,3)) OR (`GameObjectEntry`=184814 AND `Idx` IN (2,3)) OR (`GameObjectEntry`=184815 AND `Idx` IN (1,2,3));
INSERT INTO `gameobject_questitem` (`GameObjectEntry`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(184810, 1, 30524, 48526); -- Sealed Coffin
UPDATE `gameobject_questitem` SET `VerifiedBuild`=48526 WHERE (`Idx`=0 AND `GameObjectEntry` IN (184811,184814,184815,182584,185954,185225,185220,184812,185226,181385,182542,185201,184810,184813,182581,185224,185200,182541,182601)) OR (`Idx`=1 AND `GameObjectEntry`=184814);
@@ -0,0 +1,49 @@
-- Creature templates
UPDATE `creature_template` SET `unit_flags3`=16777217 WHERE `entry`=83996; -- Shaffar's Stasis Chamber
UPDATE `creature_template` SET `unit_flags`=32832 WHERE `entry`=18343; -- Tavarok
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=18430; -- Ethereal Apprentice
-- Difficulty
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`!=0 AND `Entry` IN (3300,4075,4076,14881,53488));
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (18429,18430,18394));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`, `VerifiedBuild`) VALUES
(18429, 1, 0, 0, 222, 1, 0.349999994039535522, 15.87440013885498046, 14158, 64, 0, 49801),
(18430, 1, 1, 1, 222, 1, 1.5, 16.373199462890625, 14161, 64, 0, 49801),
(18394, 1, -1, -1, 222, 1, 1.5, 3.075099945068359375, 14107, 0, 0, 49801);
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=49801 WHERE (`DifficultyID`=1 AND `Entry` IN (83996,54694,54692,19307,19306,18431,18344,18343,18341,18331,18317,18315,18314,18313,18312,18311,18309,14881,4076,4075,3300));
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2671, `VerifiedBuild`=49801 WHERE (`Entry`=53488 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `DamageModifier`=4.6 WHERE (`DifficultyID`=1 AND `Entry`=18429);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=222, `VerifiedBuild`=49801 WHERE (`Entry`=22927 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=15.94694995880126953, `CreatureDifficultyID`=15135, `VerifiedBuild`=49801 WHERE (`Entry`=19307 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=3.037499904632568359, `CreatureDifficultyID`=15132, `TypeFlags`=1, `VerifiedBuild`=49801 WHERE (`Entry`=19306 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=2.34375, `CreatureDifficultyID`=14165, `VerifiedBuild`=49801 WHERE (`Entry`=18431 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=1066, `HealthModifier`=2.8125, `CreatureDifficultyID`=14162, `VerifiedBuild`=49801 WHERE (`Entry`=18430 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=45, `ManaModifier`=38.83800125122070312, `CreatureDifficultyID`=14049, `TypeFlags2`=128, `VerifiedBuild`=49801 WHERE (`Entry`=18344 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=37.5, `CreatureDifficultyID`=14046, `TypeFlags2`=128, `VerifiedBuild`=49801 WHERE (`Entry`=18343 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=30, `CreatureDifficultyID`=14042, `TypeFlags2`=128, `VerifiedBuild`=49801 WHERE (`Entry`=18341 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=7.199999809265136718, `CreatureDifficultyID`=14031, `VerifiedBuild`=49801 WHERE (`Entry`=18331 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=8.808750152587890625, `CreatureDifficultyID`=13997, `VerifiedBuild`=49801 WHERE (`Entry`=18317 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=8.808750152587890625, `CreatureDifficultyID`=13994, `VerifiedBuild`=49801 WHERE (`Entry`=18315 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=8.797499656677246093, `CreatureDifficultyID`=13991, `VerifiedBuild`=49801 WHERE (`Entry`=18314 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=7.875, `CreatureDifficultyID`=13988, `VerifiedBuild`=49801 WHERE (`Entry`=18313 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=6.75, `CreatureDifficultyID`=13985, `VerifiedBuild`=49801 WHERE (`Entry`=18312 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=8.808750152587890625, `CreatureDifficultyID`=13982, `VerifiedBuild`=49801 WHERE (`Entry`=18311 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=7.199999809265136718, `CreatureDifficultyID`=13979, `VerifiedBuild`=49801 WHERE (`Entry`=18309 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1066, `HealthModifier`=1.063125014305114746, `CreatureDifficultyID`=14159, `VerifiedBuild`=49801 WHERE (`Entry`=18429 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `LevelScalingDeltaMax`=-1, `ContentTuningID`=1066, `HealthScalingExpansion`=1, `HealthModifier`=4.55625009536743164, `CreatureDifficultyID`=14108, `VerifiedBuild`=49801 WHERE (`Entry`=18394 AND `DifficultyID`=2);
DELETE FROM `creature_questitem` WHERE (`CreatureEntry` IN (18341,18343,18344) AND `DifficultyID`=0);
DELETE FROM `creature_questitem` WHERE (`CreatureEntry`=18344 AND `DifficultyID`=2 AND `Idx`=1) OR (`CreatureEntry`=18344 AND `DifficultyID`=2 AND `Idx`=0) OR (`CreatureEntry`=18343 AND `DifficultyID`=1 AND `Idx`=0) OR (`CreatureEntry`=18344 AND `DifficultyID`=1 AND `Idx`=0) OR (`CreatureEntry`=18341 AND `DifficultyID`=1 AND `Idx`=0);
INSERT INTO `creature_questitem` (`CreatureEntry`, `DifficultyID`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(18343, 0, 0, 72127, 49801), -- Tavarok
(18344, 0, 0, 28490, 49801), -- Nexus-Prince Shaffar
(18344, 2, 1, 33835, 49801), -- Nexus-Prince Shaffar
(18344, 2, 0, 28490, 49801), -- Nexus-Prince Shaffar
(18341, 0, 0, 72126, 49801); -- Pandemonius
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=49801 WHERE `DisplayID` IN (11686, 19655, 19656, 16925, 13069, 18050, 16217, 25866, 19702, 19780, 19332, 71757, 20987, 21005, 20468, 21004, 20986, 20466, 19778, 20923, 44816, 2177, 1418, 2176, 1141, 1987, 1206, 1986);
UPDATE `creature_template_model` SET `VerifiedBuild`=49801 WHERE (`Idx`=0 AND `CreatureID` IN (18429,18314,18311,18343,18315,19307,18309,18344,14881,305,19677,64993,83996,18331,19306,54692,18313,54741,53488,18341,40625,25064,18317,4076,14505,59072,28363,71486,54694,18431,68288,47654,304,65011,40165,4075,3300,18312,35362,18379,356)) OR (`Idx`=1 AND `CreatureID` IN (14881,19677,83996,53488,40165,4075,3300)) OR (`Idx`=2 AND `CreatureID` IN (4075,3300));
UPDATE `creature_template_model` SET `VerifiedBuild`=49801 WHERE (`Idx`=0 AND `CreatureID` IN (18430,22927,34337)) OR (`Idx`=1 AND `CreatureID`=22927);
UPDATE `creature_model_info` SET `VerifiedBuild`=49801 WHERE `DisplayID` IN (15880, 19646);
@@ -0,0 +1,51 @@
-- Creature templates
UPDATE `creature_template` SET `faction`=16, `speed_run`=1.142857193946838378, `unit_flags2`=0 WHERE `entry`=20343; -- Charming Totem
UPDATE `creature_template` SET `speed_walk`=1, `unit_flags3`=524288 WHERE `entry`=18703; -- Sethekk Spirit
UPDATE `creature_template` SET `faction`=16 WHERE `entry`=18701; -- Dark Vortex
UPDATE `creature_template` SET `unit_flags`=32832 WHERE `entry`=18473; -- Talon King Ikiss
UPDATE `creature_template` SET `unit_flags2`=2099200, `movementId`=144, `VerifiedBuild`=49801 WHERE `entry`=23035; -- Anzu
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=23136; -- Eagle Spirit
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=23135; -- Falcon Spirit
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=23134; -- Hawk Spirit
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=22515; -- World Trigger
-- Difficulty
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`!=0 AND `Entry` IN (22515));
UPDATE `creature_template_difficulty` SET `ContentTuningID`=224, `VerifiedBuild`=49801 WHERE (`DifficultyID`=2 AND `Entry` IN (23136,23135,23134));
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1068, `CreatureDifficultyID`=18966, `TypeFlags`=73, `VerifiedBuild`=49801 WHERE (`Entry`=23035 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-3, `LevelScalingDeltaMax`=-3, `ContentTuningID`=1068, `CreatureDifficultyID`=17568, `VerifiedBuild`=49801 WHERE (`Entry`=21931 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=0, `ContentTuningID`=1068, `CreatureDifficultyID`=17546, `VerifiedBuild`=49801 WHERE (`Entry`=21904 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `ContentTuningID`=1068, `CreatureDifficultyID`=17531, `VerifiedBuild`=49801 WHERE (`Entry`=21891 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `LevelScalingDeltaMax`=-1, `ContentTuningID`=1068, `HealthScalingExpansion`=1, `CreatureDifficultyID`=16126, `VerifiedBuild`=49801 WHERE (`Entry`=20343 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1068, `CreatureDifficultyID`=15260, `VerifiedBuild`=49801 WHERE (`Entry`=19429 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `ContentTuningID`=1068, `CreatureDifficultyID`=15257, `VerifiedBuild`=49801 WHERE (`Entry`=19428 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=1068, `CreatureDifficultyID`=14459, `VerifiedBuild`=49801 WHERE (`Entry`=18703 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1068, `CreatureDifficultyID`=14453, `VerifiedBuild`=49801 WHERE (`Entry`=18701 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1068, `HealthModifier`=32, `CreatureDifficultyID`=14208, `TypeFlags2`=128, `VerifiedBuild`=49801 WHERE (`Entry`=18473 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1068, `HealthModifier`=33, `CreatureDifficultyID`=14205, `TypeFlags2`=128, `VerifiedBuild`=49801 WHERE (`Entry`=18472 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1068, `CreatureDifficultyID`=14027, `VerifiedBuild`=49801 WHERE (`Entry`=18328 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1068, `CreatureDifficultyID`=14024, `VerifiedBuild`=49801 WHERE (`Entry`=18327 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1068, `CreatureDifficultyID`=14021, `VerifiedBuild`=49801 WHERE (`Entry`=18326 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1068, `CreatureDifficultyID`=14018, `VerifiedBuild`=49801 WHERE (`Entry`=18325 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1068, `CreatureDifficultyID`=14015, `VerifiedBuild`=49801 WHERE (`Entry`=18323 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1068, `CreatureDifficultyID`=14012, `VerifiedBuild`=49801 WHERE (`Entry`=18322 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `ContentTuningID`=1068, `CreatureDifficultyID`=14009, `VerifiedBuild`=49801 WHERE (`Entry`=18321 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1068, `CreatureDifficultyID`=14003, `VerifiedBuild`=49801 WHERE (`Entry`=18319 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1068, `CreatureDifficultyID`=14000, `VerifiedBuild`=49801 WHERE (`Entry`=18318 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=49801 WHERE (`DifficultyID`=1 AND `Entry` IN (54847,54840,21931,21904,21891,20343,19429,19428,18956,18703,18701,18473,18472,18328,18327,18326,18325,18323,18322,18321,18320,18319,18318,2914));
DELETE FROM `creature_questitem` WHERE (`CreatureEntry`=18472 AND `DifficultyID`=2 AND `Idx`=1) OR (`CreatureEntry`=18472 AND `DifficultyID`=2 AND `Idx`=0) OR (`CreatureEntry`=18473 AND `DifficultyID`=2 AND `Idx`=1) OR (`CreatureEntry`=18473 AND `DifficultyID`=2 AND `Idx`=0);
INSERT INTO `creature_questitem` (`CreatureEntry`, `DifficultyID`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(18472, 2, 1, 25461, 49801), -- Darkweaver Syth
(18472, 2, 0, 27633, 49801), -- Darkweaver Syth
(18473, 2, 1, 27632, 49801), -- Talon King Ikiss
(18473, 2, 0, 33834, 49801); -- Talon King Ikiss
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=49801 WHERE `DisplayID` IN (20588, 4566, 20729, 20730, 15291, 20725, 19788, 18347, 14368, 1132, 18636, 20599, 17865, 18628, 20573, 20598, 20683, 20682, 20572, 2958, 2957, 6303);
UPDATE `creature_model_info` SET `BoundingRadius`=0.210000008344650268, `CombatReach`=0.900000035762786865, `VerifiedBuild`=49801 WHERE `DisplayID`=18933;
UPDATE `creature_template_model` SET `VerifiedBuild`=49801 WHERE (`Idx`=0 AND `CreatureID` IN (18319,18320,18328,18701,21891,18326,18321,21904,18473,18318,18703,18327,2914,54847,19428,20343,18323,54840,18322,18956,18472,21931,19429,18325)) OR (`Idx`=3 AND `CreatureID`=2914) OR (`Idx`=2 AND `CreatureID` IN (2914,21931)) OR (`Idx`=1 AND `CreatureID` IN (2914,21931));
UPDATE `creature_model_info` SET `VerifiedBuild`=49801 WHERE `DisplayID` IN (10829, 21492);
UPDATE `creature_template_model` SET `VerifiedBuild`=49801 WHERE (`Idx`=0 AND `CreatureID` IN (23136,22515,23035,23134,23135)) OR (`Idx`=1 AND `CreatureID`=22515);
@@ -0,0 +1,50 @@
-- Creature templates
UPDATE `creature_template` SET `speed_walk`=1, `unit_flags`=33554432 WHERE `entry`=18766; -- Pool of Souls
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=18503; -- Phantasmal Possessor
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=18501; -- Unliving Stalker
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=18500; -- Unliving Cleric
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=18499; -- Unliving Sorcerer
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=18498; -- Unliving Soldier
-- Difficulty
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=49801 WHERE (`DifficultyID`=1 AND `Entry` IN (54725,54698,18766,18726,18700,18559,18558,18557,18556,18524,18521,18506,18499,18498,18497,18495,18493,18373,18371));
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `VerifiedBuild`=49801 WHERE (`DifficultyID`=1 AND `Entry` IN (18778,18503));
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMax`=2, `VerifiedBuild`=49801 WHERE (`Entry`=18702 AND `DifficultyID`=1);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `VerifiedBuild`=49801 WHERE (`DifficultyID`=1 AND `Entry` IN (18501,18500));
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `ContentTuningID`=1064, `CreatureDifficultyID`=14547, `VerifiedBuild`=49801 WHERE (`Entry`=18778 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=5, `LevelScalingDeltaMax`=5, `ContentTuningID`=1064, `CreatureDifficultyID`=14532, `VerifiedBuild`=49801 WHERE (`Entry`=18766 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14483, `VerifiedBuild`=49801 WHERE (`Entry`=18726 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMax`=2, `ContentTuningID`=1064, `CreatureDifficultyID`=14456, `VerifiedBuild`=49801 WHERE (`Entry`=18702 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14450, `VerifiedBuild`=49801 WHERE (`Entry`=18700 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14310, `VerifiedBuild`=49801 WHERE (`Entry`=18559 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMax`=0, `ContentTuningID`=1064, `CreatureDifficultyID`=14307, `VerifiedBuild`=49801 WHERE (`Entry`=18558 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14304, `VerifiedBuild`=49801 WHERE (`Entry`=18557 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14301, `VerifiedBuild`=49801 WHERE (`Entry`=18556 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14267, `VerifiedBuild`=49801 WHERE (`Entry`=18524 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMax`=1, `ContentTuningID`=1064, `CreatureDifficultyID`=14264, `VerifiedBuild`=49801 WHERE (`Entry`=18521 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14260, `VerifiedBuild`=49801 WHERE (`Entry`=18506 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14256, `VerifiedBuild`=49801 WHERE (`Entry`=18503 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `ContentTuningID`=1064, `CreatureDifficultyID`=14252, `VerifiedBuild`=49801 WHERE (`Entry`=18501 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `ContentTuningID`=1064, `CreatureDifficultyID`=14249, `VerifiedBuild`=49801 WHERE (`Entry`=18500 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14246, `VerifiedBuild`=49801 WHERE (`Entry`=18499 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14243, `VerifiedBuild`=49801 WHERE (`Entry`=18498 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14240, `VerifiedBuild`=49801 WHERE (`Entry`=18497 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14236, `VerifiedBuild`=49801 WHERE (`Entry`=18495 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `CreatureDifficultyID`=14232, `VerifiedBuild`=49801 WHERE (`Entry`=18493 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `HealthModifier`=33, `CreatureDifficultyID`=14083, `TypeFlags2`=128, `VerifiedBuild`=49801 WHERE (`Entry`=18373 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1064, `HealthModifier`=32, `CreatureDifficultyID`=14079, `TypeFlags2`=128, `VerifiedBuild`=49801 WHERE (`Entry`=18371 AND `DifficultyID`=2);
DELETE FROM `creature_questitem` WHERE (`CreatureEntry`=18373 AND `DifficultyID`=2 AND `Idx`=0);
INSERT INTO `creature_questitem` (`CreatureEntry`, `DifficultyID`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(18373, 2, 0, 33836, 49801); -- Exarch Maladaar
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=49801 WHERE `DisplayID` IN (18077, 18078, 18138, 17930, 17990, 17991, 25873, 17937, 17936, 17938, 17941, 17940, 17939, 17929, 17931, 17928, 17933, 17935, 17932, 17934, 17920, 17923, 17922, 17921, 17919, 17911, 17910, 17942, 17943, 17926, 17927, 17715, 18916);
UPDATE `creature_template_model` SET `VerifiedBuild`=49801 WHERE (`Idx`=0 AND `CreatureID` IN (18700,18559,18702,18501,18499,18557,18766,18498,18371,18506,54698,18558,18373,18503,18493,18524,18726,18500,18521,18497,18556,54725,18495,18778)) OR (`Idx`=3 AND `CreatureID` IN (18559,18702,18501,18499,18557,18498,18558,18493,18500,18497,18556,18495)) OR (`Idx`=2 AND `CreatureID` IN (18559,18702,18501,18499,18557,18498,18558,18493,18500,18497,18556,18495)) OR (`Idx`=1 AND `CreatureID` IN (18559,18702,18501,18499,18557,18498,18558,18503,18493,18524,18500,18521,18497,18556,18495));
UPDATE `creature_model_info` SET `VerifiedBuild`=49801 WHERE `DisplayID`=17912;
UPDATE `creature_template_model` SET `VerifiedBuild`=49801 WHERE (`CreatureID`=34337 AND `Idx`=0);
-- Gameobject templates
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=20014, `ContentTuningId`=219, `VerifiedBuild`=49801 WHERE `entry`=183441; -- Soul Mirror
UPDATE `gameobject_questitem` SET `VerifiedBuild`=49801 WHERE (`GameObjectEntry`=183441 AND `Idx`=0);
@@ -0,0 +1,68 @@
-- Creature templates
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=54895; -- Lower City Healer
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=54890; -- Field Commander Mahfuun
UPDATE `creature_template` SET `unit_flags2`=2099200, `unit_flags3`=1 WHERE `entry`=21159; -- Containment Beam
UPDATE `creature_template` SET `unit_flags2`=2099200, `unit_flags3`=524288 WHERE `entry`=19427; -- Voidwalker Summoner
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=19226; -- Void Traveler
UPDATE `creature_template` SET `unit_flags`=570426112, `unit_flags2`=2097152, `unit_flags3`=524288 WHERE `entry`=19224; -- Void Portal
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=18891; -- Spy To'gun
UPDATE `creature_template` SET `unit_flags2`=2099200 WHERE `entry`=18848; -- Malicious Instructor
UPDATE `creature_template` SET `unit_flags2`=2099200 WHERE `entry`=18796; -- Fel Overseer
UPDATE `creature_template` SET `unit_flags2`=2099200 WHERE `entry`=18794; -- Cabal Ritualist
UPDATE `creature_template` SET `unit_flags2`=2099200, `unit_flags3`=1 WHERE `entry`=18793; -- Invisible Target
UPDATE `creature_template` SET `unit_flags2`=2099200 WHERE `entry`=18732; -- Grandmaster Vorpil
UPDATE `creature_template` SET `unit_flags`=32832, `unit_flags2`=2099200 WHERE `entry`=18731; -- Ambassador Hellmaw
UPDATE `creature_template` SET `unit_flags2`=2097152 WHERE `entry`=18708; -- Murmur
UPDATE `creature_template` SET `unit_flags2`=2099200 WHERE `entry`=18667; -- Blackheart the Inciter
UPDATE `creature_template` SET `unit_flags`=32768 WHERE `entry`=18642; -- Fel Guardhound
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18639; -- Cabal Spellbinder
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18637; -- Cabal Shadow Priest
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18635; -- Cabal Deathsworn
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18633; -- Cabal Acolyte
-- Difficulty
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=2 AND `Entry` IN (53488));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`, `VerifiedBuild`) VALUES
(53488, 2, 0, 0, 2672, 3, 1, 1, 32538, 0, 0, 49801);
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=49801 WHERE (`DifficultyID`=1 AND `Entry` IN (54895,54893,54891,54890,21159,19427,19226,19224,18891,18830,18797,18796,18794,18793,18732,18731,18708,18667,18663,18642,18641,18640,18639,18638,18637,18636,18635,18634,18633,18632,18631));
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `VerifiedBuild`=49801 WHERE (`Entry`=18848 AND `DifficultyID`=1);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `CreatureDifficultyID`=15254, `VerifiedBuild`=49801 WHERE (`Entry`=19427 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=0, `ContentTuningID`=1069, `CreatureDifficultyID`=15048, `VerifiedBuild`=49801 WHERE (`Entry`=19226 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `CreatureDifficultyID`=15044, `VerifiedBuild`=49801 WHERE (`Entry`=19224 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `CreatureDifficultyID`=14671, `VerifiedBuild`=49801 WHERE (`Entry`=18891 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `ContentTuningID`=1069, `CreatureDifficultyID`=14626, `VerifiedBuild`=49801 WHERE (`Entry`=18848 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `CreatureDifficultyID`=14608, `VerifiedBuild`=49801 WHERE (`Entry`=18830 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=0, `ContentTuningID`=1069, `CreatureDifficultyID`=14571, `VerifiedBuild`=49801 WHERE (`Entry`=18797 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `CreatureDifficultyID`=14568, `VerifiedBuild`=49801 WHERE (`Entry`=18796 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=1, `ContentTuningID`=1069, `CreatureDifficultyID`=14564, `VerifiedBuild`=49801 WHERE (`Entry`=18794 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `HealthScalingExpansion`=1, `CreatureDifficultyID`=14561, `VerifiedBuild`=49801 WHERE (`Entry`=18793 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `HealthModifier`=36, `CreatureDifficultyID`=14493, `TypeFlags2`=128, `VerifiedBuild`=49801 WHERE (`Entry`=18732 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `HealthModifier`=37.5, `CreatureDifficultyID`=14490, `TypeFlags2`=128, `VerifiedBuild`=49801 WHERE (`Entry`=18731 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `HealthModifier`=115, `CreatureDifficultyID`=14466, `TypeFlags2`=128, `VerifiedBuild`=49801 WHERE (`Entry`=18708 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `HealthModifier`=37.5, `CreatureDifficultyID`=14413, `TypeFlags2`=128, `VerifiedBuild`=49801 WHERE (`Entry`=18667 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=0, `ContentTuningID`=1069, `CreatureDifficultyID`=14384, `VerifiedBuild`=49801 WHERE (`Entry`=18642 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=0, `ContentTuningID`=1069, `CreatureDifficultyID`=14381, `VerifiedBuild`=49801 WHERE (`Entry`=18641 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=0, `ContentTuningID`=1069, `CreatureDifficultyID`=14378, `VerifiedBuild`=49801 WHERE (`Entry`=18640 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `CreatureDifficultyID`=14375, `VerifiedBuild`=49801 WHERE (`Entry`=18639 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `CreatureDifficultyID`=14372, `VerifiedBuild`=49801 WHERE (`Entry`=18638 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=1, `ContentTuningID`=1069, `CreatureDifficultyID`=14369, `VerifiedBuild`=49801 WHERE (`Entry`=18637 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `CreatureDifficultyID`=14366, `VerifiedBuild`=49801 WHERE (`Entry`=18636 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=1, `ContentTuningID`=1069, `CreatureDifficultyID`=14363, `VerifiedBuild`=49801 WHERE (`Entry`=18635 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `CreatureDifficultyID`=14360, `VerifiedBuild`=49801 WHERE (`Entry`=18634 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=0, `ContentTuningID`=1069, `CreatureDifficultyID`=14357, `VerifiedBuild`=49801 WHERE (`Entry`=18633 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1069, `CreatureDifficultyID`=14354, `VerifiedBuild`=49801 WHERE (`Entry`=18632 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=1, `ContentTuningID`=1069, `CreatureDifficultyID`=14351, `VerifiedBuild`=49801 WHERE (`Entry`=18631 AND `DifficultyID`=2);
DELETE FROM `creature_questitem` WHERE (`CreatureEntry`=18708 AND `DifficultyID`=2 AND `Idx`=1) OR (`CreatureEntry`=18708 AND `DifficultyID`=2 AND `Idx`=0) OR (`CreatureEntry`=18732 AND `DifficultyID`=2 AND `Idx`=0) OR (`CreatureEntry`=18667 AND `DifficultyID`=2 AND `Idx`=0) OR (`CreatureEntry`=18642 AND `DifficultyID`=2 AND `Idx`=0);
INSERT INTO `creature_questitem` (`CreatureEntry`, `DifficultyID`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(18708, 2, 1, 31722, 49801), -- Murmur
(18708, 2, 0, 33840, 49801); -- Murmur
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=49801 WHERE `DisplayID` IN (17544, 20665, 20666, 20668, 18932, 20661, 17081, 16946, 18280, 17543, 18596, 18597, 18598, 9786, 18193, 18191, 18192, 15880, 18535, 18821, 18839, 18058, 159, 7949, 18038, 18609, 18603, 18604, 18602, 18612, 18613, 18614, 18600, 18599, 18585, 18592, 18591, 18590, 18589, 18605, 18608, 18606, 18582, 18581, 18579, 18580, 18594, 18595, 18593, 18586, 18588, 18587);
UPDATE `creature_template_model` SET `VerifiedBuild`=49801 WHERE (`Idx`=0 AND `CreatureID` IN (19427,18638,18830,18633,18891,18667,18635,18641,19224,18793,18634,18797,18663,54895,54890,54891,34337,18639,18642,54893,18796,18848,18637,18640,18632,18732,18636,18794,18731,19226,18708,21159,18631)) OR (`Idx`=2 AND `CreatureID` IN (18638,18830,18633,18635,18634,54895,18639,54893,18637,18640,18632,18636,18631)) OR (`Idx`=1 AND `CreatureID` IN (18638,18830,18633,18635,18793,18634,54895,18639,54893,18637,18640,18632,18636,18794,21159,18631)) OR (`Idx`=3 AND `CreatureID` IN (18633,18635,54895));
UPDATE `creature_model_info` SET `VerifiedBuild`=49801 WHERE `DisplayID` IN (20664, 18601);
-- Gameobject templates
UPDATE `gameobject_questitem` SET `VerifiedBuild`=49801 WHERE (`GameObjectEntry`=182940 AND `Idx`=0);
@@ -0,0 +1,147 @@
-- Creature templates
UPDATE `creature_template` SET `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=33536, `unit_flags2`=2048 WHERE `entry`=121086; -- Shawn
UPDATE `creature_template` SET `faction`=14, `speed_walk`=2, `speed_run`=2.142857074737548828, `BaseAttackTime`=2000, `unit_flags`=32768, `unit_flags2`=2048 WHERE `entry`=115655; -- Ohme
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=24866; -- Lakoor
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=23268; -- Seer Jovar
UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=22362; -- Deathshadow Imp
UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=22313; -- Rumbling Earth-Heart
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=22309; -- Crashing Wave-Spirit
UPDATE `creature_template` SET `npcflag`=0 WHERE `entry`=21483; -- Tasaldan
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry` IN (20812, 18445, 18369); -- Corki
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=20240; -- Trader Narasu
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=19212; -- Fel Cannon: Hate Target
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=19211; -- Fel Cannon: Fear Target
UPDATE `creature_template` SET `speed_run`=1.142857193946838378, `unit_flags3`=1 WHERE `entry`=19210; -- Fel Cannon: Fear
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=19156; -- Telaari Jailor
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=19141; -- Kurenai Pitfighter
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=19139; -- Nagrand Target Dummy
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=19068; -- Garadar Wolf Rider
UPDATE `creature_template` SET `speed_run`=1.142857193946838378, `unit_flags3`=1 WHERE `entry`=19067; -- Fel Cannon: Hate
UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=19023; -- Stabled Tallstrider
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=19017; -- Borto
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=19014; -- Ogir
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=19012; -- Sparik
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18683; -- Voidhunter Yar
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18661; -- Terrorguard
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=18567; -- Mo'arg Master Planner
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=18536; -- Xirkos, Overseer of Fear
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=18535; -- Demos, Overseer of Hate
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18488; -- Telaari Watcher
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18408; -- Warden Moi'bff Jill
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=18307; -- Burning Blade Pyre (03)
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18299; -- Bleeding Hollow Orphan
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=18297; -- Gankly Rottenfist
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18296; -- Sunspring Post Orphan
UPDATE `creature_template` SET `faction`=250, `npcflag`=0 WHERE `entry`=18294; -- Kristen Dipswitch
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=18259; -- Banthar
UPDATE `creature_template` SET `unit_flags`=536904448, `unit_flags3`=8192 WHERE `entry`=18240; -- Sunspring Villager
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18233; -- Elementalist Ioki
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18224; -- Poli'lukluk the Wiser
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18223; -- Mo'mor the Breaker
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18222; -- Otonbu the Sage
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18211; -- Murkblood Brute
UPDATE `creature_template` SET `npcflag`=0 WHERE `entry`=18210; -- Mag'har Captive
UPDATE `creature_template` SET `npcflag`=0, `speed_run`=1.142857193946838378, `unit_flags`=295680 WHERE `entry`=18209; -- Kurenai Captive
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18207; -- Murkblood Scavenger
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18204; -- Ortor of Murkblood
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18203; -- Murkblood Raider
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18202; -- Murkblood Putrefier
UPDATE `creature_template` SET `faction`=495, `npcflag`=0 WHERE `entry`=18200; -- Shado 'Fitz' Farstrider
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18183; -- Arechron
UPDATE `creature_template` SET `faction`=495, `npcflag`=0 WHERE `entry`=18180; -- Hemet Nesingwary
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18145; -- Watoosun's Polluted Essence
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=18102; -- Kalandrios
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=18101; -- Aborius
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=18100; -- Incineratus
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=18099; -- Gordawg
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18074; -- Elementalist Morgh
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=18073; -- Elementalist Lo'ap
UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=18062; -- Enraged Crusher
UPDATE `creature_template` SET `npcflag`=0, `speed_run`=1.142857193946838378 WHERE `entry`=17545; -- K'ure
UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=17157; -- Shattered Rumbler
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=17155; -- Lake Surger
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=17154; -- Muck Spawn
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=17153; -- Lake Spirit
UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=17141; -- Windyreed Wretch
UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=17139; -- Windyreed Scavenger
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=16945; -- Mo'arg Engineer
UPDATE `creature_template` SET `faction`=1693, `speed_run`=0.857142865657806396 WHERE `entry`=12922; -- Imp Minion
-- Difficulty
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=2 AND `Entry` IN (1412,24866));
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (12922,61369,61366,61325,61141,61081,61080,22003,22001,21999,21996,21993,21233,19687,19656,19161,15384,15241,4075,3300,2914,2620,2615,2614,1420,1412,721));
DELETE FROM `creature_template_difficulty` WHERE (`Entry`=24866 AND `DifficultyID`=0);
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`, `VerifiedBuild`) VALUES
(24866, 0, 0, 0, 40, 1, 1, 1, 22890, 0, 0, 49801);
UPDATE `creature_template_difficulty` SET `DifficultyID`=0 WHERE (`DifficultyID` IN (1,2) AND `Entry` IN (121086,115655,66552,66539,66538,66537,62620,24881,24866,24222,23268,23265,23026,23022,23007,22981,22979,22893,22839,22838,22836,22400,22394,22393,22363,22362,22357,22343,22342,22341,22313,22311,22310,22309,22199,22148,22144,22143,21893,21484,21483,21474,20812,20241,20240,20097,20096,20072,19844,19660,19646,19590,19212,19211,19210,19201,19183,19158,19157,19156,19152,19151,19149,19141,19140,19139,19137,19133,19071,19068,19067,19041,19035,19030,19027,19026,19025,19024,19023,19022,19021,19020,19019,19018,19017,19015,19014,19013,19012,19011,18964,18914,18913,18842,18841,18840,18821,18816,18808,18789,18683,18662,18661,18660,18658,18590,18589,18567,18536,18535,18532,18489,18488,18471,18445,18444,18440,18428,18418,18417,18416,18415,18414,18413,18408,18407,18395,18393,18391,18388,18369,18354,18353,18352,18351,18346,18335,18334,18333,18308,18307,18306,18305,18302,18301,18300,18299,18298,18297,18296,18294,18293,18292,18290,18289,18278,18276,18274,18272,18265,18264,18261,18259,18258,18257,18240,18238,18234,18233,18229,18228,18224,18223,18222,18220,18218,18215,18211,18210,18209,18208,18207,18205,18204,18203,18202,18200,18196,18192,18183,18180,18145,18144,18143,18142,18141,18110,18106,18102,18101,18100,18099,18090,18074,18073,18072,18071,18069,18068,18067,18066,18065,18064,18063,18062,18043,18037,18033,17981,17545,17160,17159,17158,17157,17156,17155,17154,17153,17152,17151,17150,17149,17148,17147,17146,17144,17141,17139,17138,17137,17136,17135,17134,17133,17132,17131,17130,17129,17128,16945));
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=49801 WHERE (`DifficultyID`=0 AND `Entry` IN (61369,61366,61325,61141,61081,61080,22003,22001,21999,21996,21993,21233,19687,19656,19161,15384,15241,4075,3300,2914,2620,2615,2614,1420,1412,721));
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=49801 WHERE (`DifficultyID`=0 AND `Entry` IN (121086,115655,66552,66539,66538,66537,62620,24881,24222,23268,23265,23026,23022,23007,22981,22979,22893,22839,22838,22836,22400,22394,22393,22363,22362,22357,22343,22342,22341,22313,22311,22310,22309,22199,22148,22144,22143,21893,21484,21483,21474,20812,20241,20097,20096,20072,19844,19660,19646,19590,19212,19211,19210,19201,19183,19158,19157,19149,19141,19140,19139,19137,19133,19071,19068,19067,19041,19035,19026,19025,19024,19023,19022,19021,19020,19018,19017,19015,19014,19013,19012,19011,18964,18913,18842,18841,18840,18821,18816,18808,18683,18662,18661,18660,18658,18590,18589,18567,18536,18535,18532,18489,18488,18471,18445,18444,18440,18428,18418,18417,18416,18415,18414,18413,18408,18407,18395,18393,18391,18388,18369,18354,18353,18352,18351,18346,18335,18334,18333,18308,18307,18306,18305,18302,18301,18300,18299,18298,18297,18296,18294,18293,18292,18290,18289,18278,18276,18274,18272,18265,18264,18261,18259,18258,18257,18240,18238,18234,18233,18229,18228,18224,18223,18222,18220,18218,18215,18211,18210,18209,18208,18207,18205,18204,18203,18202,18200,18196,18192,18183,18180,18145,18144,18143,18142,18141,18110,18106,18102,18101,18100,18099,18090,18074,18073,18072,18071,18069,18068,18067,18066,18065,18064,18063,18062,18043,18037,18033,17981,17545,17160,17159,17158,17157,17156,17155,17154,17153,17152,17151,17150,17149,17148,17147,17146,17144,17141,17139,17138,17137,17136,17135,17134,17133,17132,17131,17130,17129,17128,16945));
UPDATE `creature_template_difficulty` SET `ContentTuningID`=40, `VerifiedBuild`=49801 WHERE (`Entry`=12922 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=40, `VerifiedBuild`=49801 WHERE (`DifficultyID`=0 AND `Entry` IN (20240,19156,19152,19151,19030,19027,19019,18914,12922));
UPDATE `creature_template_difficulty` SET `ContentTuningID`=881, `VerifiedBuild`=49801 WHERE (`Entry`=18789 AND `DifficultyID`=0);
UPDATE `creature_questitem` SET `VerifiedBuild`=49801 WHERE (`CreatureEntry`=18289 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=18290 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=18259 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=22394 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=23026 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=18964 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=18258 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=17133 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=19183 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=17131 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=17132 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=18033 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=18334 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=17144 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=18205 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=115655 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=17130 AND `DifficultyID`=0 AND `Idx`=0);
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=49801 WHERE `DisplayID` IN (76088, 75086, 45232, 5379, 2838, 45618, 42575, 22710, 22460, 17956, 21390, 21210, 21195, 18660, 21172, 4877, 12829, 21110, 6195, 16889, 20952, 20948, 20950, 20951, 20946, 12231, 20432, 5564, 20346, 19906, 20173, 20311, 20310, 20305, 19498, 19334, 19333, 19375, 19213, 20168, 20169, 18645, 19584, 18568, 18567, 18576, 18574, 18572, 18575, 18538, 18545, 16074, 18536, 18532, 18505, 18473, 1977, 1339, 865, 4714, 18470, 18469, 18468, 18466, 18465, 18464, 18463, 18462, 18461, 18460, 18459, 18319, 18318, 18243, 18233, 21068, 18348, 19681, 18060, 18061, 18051, 18373, 18049, 18048, 18056, 18057, 18370, 17880, 18291, 17971, 18506, 18507, 18508, 18513, 18512, 18514, 17836, 11536, 17788, 17789, 17790, 17791, 17772, 17771, 17770, 17769, 17768, 11550, 17763, 17762, 17742, 17705, 17690, 11545, 10170, 17841, 18271, 17678, 17897, 17896, 19645, 17188, 17670, 17669, 17668, 20542, 17662, 20545, 20546, 17660, 17664, 17666, 17665, 17667, 18045, 17902, 17652, 17840, 17191, 20174, 17647, 17659, 37745, 19223, 18383, 17624, 17623, 17622, 17621, 17619, 17617, 17616, 17611, 17612, 17604, 17603, 17602, 18380, 17597, 17594, 17595, 17593, 17592, 17589, 17590, 17591, 19582, 17586, 17584, 17583, 17580, 18259, 18260, 18253, 18258, 17560, 17557, 36529, 17534, 17200, 17527, 15538, 13444, 12129, 17525, 17520, 17463, 17464, 17465, 17466, 47200, 17468, 17467, 17453, 11576, 11546, 17452, 14505, 17459, 17449, 17460, 17458, 19909, 741, 18366, 17072, 10315, 14503, 14506, 17461, 5562, 5561, 5047, 18288, 20988, 18365, 17964, 17957, 17966, 20763, 18350, 18349, 18357, 18333, 18356, 18354, 11549, 19581, 19583, 19220, 19219, 18378, 18377, 18646, 19668, 17202, 4449, 1072, 901, 134, 4626, 328);
UPDATE `creature_model_info` SET `BoundingRadius`=0.828900098800659179, `CombatReach`=0, `VerifiedBuild`=49801 WHERE `DisplayID` IN (22709, 19497);
UPDATE `creature_model_info` SET `BoundingRadius`=0.994680166244506835, `CombatReach`=0, `DisplayID_Other_Gender`=0, `VerifiedBuild`=49801 WHERE `DisplayID`=18571;
UPDATE `creature_model_info` SET `DisplayID_Other_Gender`=0, `VerifiedBuild`=49801 WHERE `DisplayID` IN (18561, 18563, 18564, 18562, 18554);
UPDATE `creature_model_info` SET `BoundingRadius`=0.795000016689300537, `CombatReach`=1.5, `VerifiedBuild`=49801 WHERE `DisplayID`=599;
UPDATE `creature_model_info` SET `BoundingRadius`=1.19080519676208496, `CombatReach`=1, `VerifiedBuild`=49801 WHERE `DisplayID`=4907;
UPDATE `creature_template_model` SET `VerifiedBuild`=49801 WHERE (`Idx`=1 AND `CreatureID` IN (21996,19211,19158,19660,61080,19152,18428,16945,19071,22343,18264,18307,721,19590,2614,15384,22838,22342,19656,19151,22363,18299,19212,19157,17148,22400,19646,18292,18489,17146,18567,61325,18334,18043,18192,19041,18658,18293,22839,22003,18240,19161,18662,19149,2615,18211,18488,19156,21999,18207,22341,18296,19068,61366,21993,22001,17147,18306,19687)) OR (`Idx`=0 AND `CreatureID` IN (21996,18660,18265,18590,19211,19067,19158,18300,18068,19660,66552,18388,61080,19152,17545,18440,18428,16945,19201,18415,18471,17137,18808,18100,19071,18354,18352,17157,62620,18233,22343,18210,18069,18393,17136,19023,22311,18071,17132,18391,18218,18222,18789,24866,18444,18589,18417,18204,18209,18264,18033,18307,18261,721,19590,17128,18416,18408,20096,2614,18290,18259,18346,18202,15384,22148,18223,18220,22838,18274,22362,22342,17152,18229,17133,18335,20241,19656,2620,22199,19151,115655,22393,22363,18445,17129,22893,19140,23265,19026,18299,18141,18099,17130,22143,22981,19212,19157,18101,17148,18143,17139,1420,15241,19137,19019,22400,18065,21233,18203,21484,17141,18914,19030,21474,18301,18063,19646,18292,18489,17146,18142,18183,19021,18224,18298,18567,21893,18414,61325,18334,18278,19027,18043,18208,18215,17155,17144,18192,19011,18090,19015,66539,19041,18369,18205,18658,17149,18238,24881,18842,19025,18293,22839,22003,18276,23026,18240,18816,19024,19161,20240,18662,18272,18395,18064,21483,19139,18407,18308,22144,19017,19149,18353,22836,121086,18532,20812,18106,2615,19035,17159,17134,18297,23022,12922,18418,18211,18413,18821,19013,19133,18234,22309,18102,66537,18488,18200,18180,18661,18536,22357,22979,18964,17138,18066,20097,66538,24222,19141,23268,19156,17150,18333,18196,18257,17154,19018,22310,18074,21999,18683,17981,23007,18840,18207,18841,19022,22313,18062,17158,17156,61081,18144,22341,22394,18037,20072,18067,18296,19068,61141,61366,18110,61369,19183,17151,19020,18228,21993,17153,17131,1412,19014,18258,18145,18913,18073,22001,17135,18294,19012,18289,19844,19210,18535,17160,18302,18072,18351,17147,18305,18306,19687)) OR (`Idx`=3 AND `CreatureID` IN (19158,19152,18428,19151,19157,18292,18489,18043,18192,18658,18293,18240,19161,18662,19149,19068,19687)) OR (`Idx`=2 AND `CreatureID` IN (19158,19152,18428,19071,19151,19157,18292,18489,61325,18334,18043,18192,18658,18293,18240,19161,18662,19149,18488,19156,18207,19068,61366,19687));
-- Gameobject templates
UPDATE `gameobject_template` SET `VerifiedBuild`=49801 WHERE `entry` IN (181450, 183193, 3928, 3918, 3924, 3919, 182162, 185136, 182519, 183158, 181451, 181656, 3839, 182210, 183197, 181570, 181660, 184316, 183192, 3843, 3845, 174953, 182159, 183439, 181271, 186177, 186174, 181312, 181767, 182257, 278347, 182203, 183272, 181311, 181658, 186972, 182156, 3917, 182158, 184314, 181270, 181569, 278575, 184647, 3914, 3922, 3913, 186179, 183195, 183194, 186180, 184396, 181557, 181455, 181659, 184644, 3844, 3923, 3921, 3926, 182161, 184397, 186175, 3842, 3930, 181555, 186178, 185181, 183198, 182155, 3932, 183099, 184395, 185205, 181281, 183190, 3840, 3929, 3912, 183783, 185204, 183218, 183180, 182391, 182160, 3841, 3915, 181387, 182349, 183149, 183191, 3931, 183287, 181456, 181427, 181655, 183882, 183196, 182157, 181556, 183171, 184645, 184646, 184401, 185203, 182955, 183273, 181452, 3920, 3934, 183203, 181657, 183313, 183265, 3916, 183202, 186176, 3925, 183782, 183169, 181446, 183204, 183170, 184317, 181453, 3927, 183294, 185202, 183271, 183946, 183883, 183148, 183189, 183821, 3933, 183288, 183289, 183286);
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=19289, `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182265; -- Bleeding Hollow Supply Crate
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182496; -- Warmaul Prison
UPDATE `gameobject_template` SET `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=183147; -- Mysterious Egg
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182492; -- Warmaul Prison
UPDATE `gameobject_template` SET `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182951; -- Pure Water
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182503; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182521; -- Corki's Prison
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=18759, `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182128; -- Dung
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182494; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182491; -- Warmaul Prison
UPDATE `gameobject_template` SET `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry` IN (182263, 182261); -- First Burning Blade Pyre
UPDATE `gameobject_template` SET `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182959; -- Bluefish School
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=20890, `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=184741; -- Dented Footlocker
UPDATE `gameobject_template` SET `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182392; -- Garadar Bulletin Board
UPDATE `gameobject_template` SET `Data3`=1, `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182275; -- Destroyed Wyvern Roost
UPDATE `gameobject_template` SET `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182393; -- Telaar Bulletin Board
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182498; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182497; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182504; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=19264, `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182258; -- Oshu'gun Crystal Fragment
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=19351, `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182520; -- Telaar Supply Crate
UPDATE `gameobject_template` SET `Data3`=1, `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182276; -- Destroyed Wyvern Roost
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182499; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182500; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182501; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182488; -- Warmaul Prison
UPDATE `gameobject_template` SET `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=183146; -- Jump-a-tron 4000
UPDATE `gameobject_template` SET `Data8`=103829, `Data10`=30092, `VerifiedBuild`=49801 WHERE `entry`=184303; -- Blazing Fire
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182493; -- Warmaul Prison
UPDATE `gameobject_template` SET `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182958; -- Mudfish School
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182502; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=19429, `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182599; -- Telaari Frond
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182484; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data2`=0, `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182350; -- Corki's Prison
UPDATE `gameobject_template` SET `Data3`=1, `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182266; -- Destroyed Wyvern Roost
UPDATE `gameobject_template` SET `Data3`=1, `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182277; -- Destroyed Wyvern Roost
UPDATE `gameobject_template` SET `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182264; -- Second Burning Blade Pyre
UPDATE `gameobject_template` SET `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182182; -- Earthen Brand
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182490; -- Warmaul Prison
UPDATE `gameobject_template` SET `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182369; -- Blazing Warmaul Pyre
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182487; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182486; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182489; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=49801 WHERE `entry`=182495; -- Warmaul Prison
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=19329, `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182355; -- Kil'sorrow Armaments
UPDATE `gameobject_template` SET `ContentTuningId`=40, `VerifiedBuild`=49801 WHERE `entry`=182262; -- Third Burning Blade Pyre
UPDATE `gameobject_template_addon` SET `flags`=278528 WHERE `entry`=181570; -- Rich Adamantite Deposit
UPDATE `gameobject_template_addon` SET `flags`=278528 WHERE `entry`=181557; -- Khorium Vein
UPDATE `gameobject_questitem` SET `VerifiedBuild`=49801 WHERE (`Idx`=0 AND `GameObjectEntry` IN (182520,182128,182265,182599,182355));
@@ -0,0 +1,13 @@
--
-- Table structure for table `quest_objectives_completion_effect`
--
DROP TABLE IF EXISTS `quest_objectives_completion_effect`;
CREATE TABLE `quest_objectives_completion_effect` (
`ObjectiveID` int NOT NULL,
`GameEventID` int DEFAULT NULL,
`SpellID` int DEFAULT NULL,
`ConversationID` int DEFAULT NULL,
`UpdatePhaseShift` tinyint(1) DEFAULT '0',
`UpdateZoneAuras` tinyint(1) DEFAULT '0',
PRIMARY KEY (`ObjectiveID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@@ -0,0 +1,112 @@
SET @NPCTEXTID := 590080;
-- Quest stuff
DELETE FROM `quest_offer_reward` WHERE `ID`=72408;
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
(72408, 0, 0, 0, 0, 0, 0, 0, 0, 'We all have our own versions of the past, don\'t we? \n\nI don\'t care if some dragon lady had a magic amulet. It wasn\'t complete mind control. \n\nThe nobles already hated the common people. The Stonemason\'s Guild would never have needed to turn to banditry and become the Defias Brotherhood, if not for them.', 49801); -- A Window to the Past
UPDATE `quest_poi` SET `VerifiedBuild`=49801 WHERE (`QuestID`=72408 AND `BlobIndex`=0 AND `Idx1`=2) OR (`QuestID`=72408 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=72408 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=50605 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=48642 AND `BlobIndex`=2 AND `Idx1`=2) OR (`QuestID`=48642 AND `BlobIndex`=1 AND `Idx1`=1) OR (`QuestID`=48642 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=70197 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=53436 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=53436 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=50601 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=50599 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=48639 AND `BlobIndex`=2 AND `Idx1`=2) OR (`QuestID`=48639 AND `BlobIndex`=1 AND `Idx1`=1) OR (`QuestID`=48639 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=42422 AND `BlobIndex`=0 AND `Idx1`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=49801 WHERE (`QuestID`=72408 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=72408 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=72408 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=50605 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=48642 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=48642 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=48642 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=70197 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=53436 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=53436 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=50601 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=50599 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=48639 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=48639 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=48639 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=42422 AND `Idx1`=0 AND `Idx2`=0);
DELETE FROM `quest_request_items` WHERE `ID`=72408;
INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `EmoteOnCompleteDelay`, `EmoteOnIncompleteDelay`, `CompletionText`, `VerifiedBuild`) VALUES
(72408, 0, 0, 0, 0, '<Vanessa sizes you up.>', 49801); -- A Window to the Past
DELETE FROM `creature_queststarter` WHERE (`id`=198883 AND `quest`=72409);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(198883, 72409, 49801); -- Rotten Old Memories offered Vanessa VanCleef
DELETE FROM `creature_questender` WHERE (`id`=198883 AND `quest`=72408);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(198883, 72408, 49801); -- A Window to the Past ended by Vanessa VanCleef
DELETE FROM `quest_details` WHERE `ID`=72409;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(72409, 1, 1, 0, 0, 0, 0, 0, 0, 49801); -- Rotten Old Memories
DELETE FROM `quest_template_addon` WHERE `ID` = 72409;
INSERT INTO `quest_template_addon` (`ID`, `prevQuestID`) VALUES
(72409, 72408);
-- Gossip & Text
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+11;
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, 236757, 0, 0, 0, 0, 0, 0, 0, 49801), -- 198883 (Vanessa VanCleef)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 236744, 0, 0, 0, 0, 0, 0, 0, 49801), -- 198883 (Vanessa VanCleef)
(@NPCTEXTID+2, 1, 0, 0, 0, 0, 0, 0, 0, 236761, 0, 0, 0, 0, 0, 0, 0, 49801), -- 198883 (Vanessa VanCleef)
(@NPCTEXTID+3, 1, 0, 0, 0, 0, 0, 0, 0, 236763, 0, 0, 0, 0, 0, 0, 0, 49801), -- 198883 (Vanessa VanCleef)
(@NPCTEXTID+4, 1, 0, 0, 0, 0, 0, 0, 0, 236144, 0, 0, 0, 0, 0, 0, 0, 49801), -- 198896 (Master Mathias Shaw)
(@NPCTEXTID+5, 1, 0, 0, 0, 0, 0, 0, 0, 236142, 0, 0, 0, 0, 0, 0, 0, 49801), -- 198896 (Master Mathias Shaw)
(@NPCTEXTID+6, 1, 0, 0, 0, 0, 0, 0, 0, 236140, 0, 0, 0, 0, 0, 0, 0, 49801), -- 198896 (Master Mathias Shaw)
(@NPCTEXTID+7, 1, 0, 0, 0, 0, 0, 0, 0, 236737, 0, 0, 0, 0, 0, 0, 0, 49801), -- 198896 (Master Mathias Shaw)
(@NPCTEXTID+8, 1, 0, 0, 0, 0, 0, 0, 0, 236733, 0, 0, 0, 0, 0, 0, 0, 49801), -- 198896 (Master Mathias Shaw)
(@NPCTEXTID+9, 1, 0, 0, 0, 0, 0, 0, 0, 236731, 0, 0, 0, 0, 0, 0, 0, 49801), -- 198896 (Master Mathias Shaw)
(@NPCTEXTID+10, 1, 0, 0, 0, 0, 0, 0, 0, 236729, 0, 0, 0, 0, 0, 0, 0, 49801), -- 198896 (Master Mathias Shaw)
(@NPCTEXTID+11, 1, 0, 0, 0, 0, 0, 0, 0, 236727, 0, 0, 0, 0, 0, 0, 0, 49801); -- 198896 (Master Mathias Shaw)
DELETE FROM `gossip_menu` WHERE (`MenuID`=30834 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=30835 AND `TextID`=@NPCTEXTID+1) OR (`MenuID`=30836 AND `TextID`=@NPCTEXTID+2) OR (`MenuID`=30838 AND `TextID`=@NPCTEXTID+3) OR (`MenuID`=30826 AND `TextID`=@NPCTEXTID+4) OR (`MenuID`=30827 AND `TextID`=@NPCTEXTID+5) OR (`MenuID`=30828 AND `TextID`=@NPCTEXTID+6) OR (`MenuID`=30829 AND `TextID`=@NPCTEXTID+7) OR (`MenuID`=30830 AND `TextID`=@NPCTEXTID+8) OR (`MenuID`=30831 AND `TextID`=@NPCTEXTID+9) OR (`MenuID`=30832 AND `TextID`=@NPCTEXTID+10) OR (`MenuID`=30833 AND `TextID`=@NPCTEXTID+11);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(30834, @NPCTEXTID+0, 49801), -- 198883 (Vanessa VanCleef)
(30835, @NPCTEXTID+1, 49801), -- 198883 (Vanessa VanCleef)
(30836, @NPCTEXTID+2, 49801), -- 198883 (Vanessa VanCleef)
(30838, @NPCTEXTID+3, 49801), -- 198883 (Vanessa VanCleef)
(30826, @NPCTEXTID+4, 49801), -- 198896 (Master Mathias Shaw)
(30827, @NPCTEXTID+5, 49801), -- 198896 (Master Mathias Shaw)
(30828, @NPCTEXTID+6, 49801), -- 198896 (Master Mathias Shaw)
(30829, @NPCTEXTID+7, 49801), -- 198896 (Master Mathias Shaw)
(30830, @NPCTEXTID+8, 49801), -- 198896 (Master Mathias Shaw)
(30831, @NPCTEXTID+9, 49801), -- 198896 (Master Mathias Shaw)
(30832, @NPCTEXTID+10, 49801), -- 198896 (Master Mathias Shaw)
(30833, @NPCTEXTID+11, 49801); -- 198896 (Master Mathias Shaw)
DELETE FROM `gossip_menu_option` WHERE (`OptionID`=0 AND `MenuID` IN (30834,30835,30837,30836,30838)) OR (`OptionID`=2 AND `MenuID` IN (30837,30224)) OR (`OptionID`=1 AND `MenuID`=30837) OR (`OptionID`=0 AND `MenuID` IN (30832,30826,30833,30831,30830,30827,30829,30828)) OR (`OptionID`=4 AND `MenuID`=30224) OR (`OptionID`=6 AND `MenuID`=30224) OR (`OptionID`=5 AND `MenuID`=30224);
INSERT INTO `gossip_menu_option` (`GossipOptionID`, `MenuID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextId`, `Language`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `Flags`, `OverrideIconID`, `GossipNpcOptionID`, `VerifiedBuild`) VALUES
(108532, 30834, 0, 0, '<Ask about something else.>', 0, 0, 30837, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108531, 30837, 2, 0, '<Ask for more information about the Defias Brotherhood.>', 0, 0, 30838, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108527, 30835, 0, 0, '<Ask about her time fighting the Legion.>', 0, 0, 30834, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108528, 30837, 0, 0, '<Ask for more information about her.>', 0, 0, 30835, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(107715, 30224, 2, 0, '<Tell Shaw you are ready to hear about the history of the Drakefire Amulet.>', 0, 0, 0, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108534, 30836, 0, 0, '<Ask about something else.>', 0, 0, 30837, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108529, 30837, 1, 0, '<Ask for more information about Shaw.>', 0, 0, 30836, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108533, 30838, 0, 0, '<Ask about something else.>', 0, 0, 30837, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108523, 30832, 0, 0, '<Ask if Shaw knew Edwin VanCleef.>', 0, 0, 30831, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108538, 30826, 0, 0, '<Ask about something else.>', 0, 0, 30224, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108524, 30833, 0, 0, '<Continue.>', 0, 0, 30832, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108537, 30831, 0, 0, '<Ask about something else.>', 0, 0, 30224, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108521, 30830, 0, 0, '<Continue.>', 0, 0, 30829, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108520, 30224, 4, 0, '<Ask for more information about the Defias Brotherhood.>', 0, 0, 30828, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108522, 30224, 6, 0, '<Ask for more information about the Drakefire Amulet.>', 0, 0, 30830, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108518, 30827, 0, 0, '<Ask Shaw how he feels about the Defias Brotherhood.>', 0, 0, 30826, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108525, 30224, 5, 0, '<Ask for more information about Vanessa VanCleef.>', 0, 0, 30833, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108536, 30829, 0, 0, '<Ask about something else.>', 0, 0, 30224, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108519, 30828, 0, 0, '<Continue.>', 0, 0, 30827, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801);
-- Conditions
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 30224 AND `SourceEntry` IN (2,4,5,6));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(15, 30224, 2, 0, 0, 9, 0, 72408, 0, 0, 0, 'Show Gossip Option Menu 30224 2 if Quest 72405 is taken'),
(15, 30224, 4, 0, 0, 8, 0, 72408, 0, 0, 0, 'Show Gossip Option Menu 30224 4 if Quest 72405 is rewarded'),
(15, 30224, 5, 0, 0, 8, 0, 72408, 0, 0, 0, 'Show Gossip Option Menu 30224 5 if Quest 72405 is rewarded'),
(15, 30224, 6, 0, 0, 8, 0, 72408, 0, 0, 0, 'Show Gossip Option Menu 30224 6 if Quest 72405 is rewarded');
-- Scene
DELETE FROM `scene_template` WHERE `SceneId`=3126;
INSERT INTO `scene_template` (`SceneId`, `Flags`, `ScriptPackageID`, `Encrypted`) VALUES
(3126, 16, 3860, 0);
-- Master Mathias Shaw smart ai
SET @ENTRY := 198896;
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, 62, 0, 100, 0, 30224, 2, 0, 0, 85, 402962, 3, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action <Tell Shaw you are ready ... (2) from menu 30224 selected - Gossip player: Cast spell 402962 with flags interrupt previous, triggered on self'),
(@ENTRY, 0, 1, 0, 62, 0, 100, 0, 30224, 2, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action <Tell Shaw you are ready ... (2) from menu 30224 selected - Gossip player: Close gossip');
-- Scene 3126
SET @ENTRY := 3126;
UPDATE `scene_template` SET `ScriptName` = 'SmartScene' WHERE `SceneId` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 10 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, 10, 0, 0, 81, 0, 100, 0, 0, 0, 0, 0, 85, 402961, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On Scene Complete - Self: Cast spell 402961 with flags triggered on self'),
(@ENTRY, 10, 1, 0, 80, 0, 100, 0, 0, 0, 0, 0, 85, 402961, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On Scene Cancel - Self: Cast spell 402962 with flags triggered on self');
@@ -0,0 +1,32 @@
-- Conversation
DELETE FROM `conversation_template` WHERE `Id`=20345;
INSERT INTO `conversation_template` (`Id`, `FirstLineID`, `TextureKitId`, `VerifiedBuild`) VALUES
(20345, 56092, 0, 49801);
DELETE FROM `conversation_line_template` WHERE `Id` IN (52475, 53706, 53705, 53704, 56092);
INSERT INTO `conversation_line_template` (`Id`, `UiCameraID`, `ActorIdx`, `Flags`, `VerifiedBuild`) VALUES
(52475, 0, 1, 0, 49801),
(53706, 0, 2, 0, 49801),
(53705, 0, 2, 0, 49801),
(53704, 0, 1, 0, 49801),
(56092, 0, 0, 0, 49801);
DELETE FROM `conversation_actors` WHERE (`ConversationId`=20345 AND `Idx` IN (1,2,0));
INSERT INTO `conversation_actors` (`ConversationId`, `ConversationActorId`, `ConversationActorGuid`, `Idx`, `CreatureId`, `CreatureDisplayInfoId`, `NoActorObject`, `ActivePlayerObject`, `VerifiedBuild`) VALUES
(20345, 89175, 9003909, 1, 0, 0, 0, 0, 49801), -- Full: 0x202FD40000C23C0000007C0000791B26 Creature/0 R3061/S124 Map: 0 (Eastern Kingdoms) Entry: 198896 (Master Mathias Shaw) Low: 7936806
(20345, 89180, 9003910, 2, 0, 0, 0, 0, 49801), -- Full: 0x202FD40000C238C000007C000076C164 Creature/0 R3061/S124 Map: 0 (Eastern Kingdoms) Entry: 198883 (Vanessa VanCleef) Low: 7782756
(20345, 0, 0, 0, 0, 0, 0, 1, 49801); -- Full: 0x0800040000000000FFFFFFFFFFFFFFFF Player/0 R1/S16777215 Map: 0 (Eastern Kingdoms) Low: 1099511627775
-- Vanessa VanCleef smart ai
SET @ENTRY := 198883;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, 19, 0, 100, 0, 72409, 0, 0, 0, 143, 20345, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Rotten Old Memories (72409) - Player who accepted quest: Start conversation 20345');
-- Conditions
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 30837 AND `SourceEntry` IN (0,1,2));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(15, 30837, 0, 0, 0, 8, 0, 72408, 0, 0, 0, 'Show Gossip Option Menu 30837 0 if Quest 72405 is rewarded'),
(15, 30837, 1, 0, 0, 8, 0, 72408, 0, 0, 0, 'Show Gossip Option Menu 30837 1 if Quest 72405 is rewarded'),
(15, 30837, 2, 0, 0, 8, 0, 72408, 0, 0, 0, 'Show Gossip Option Menu 30837 2 if Quest 72405 is rewarded');
@@ -0,0 +1,135 @@
SET @CGUID := 9003911;
SET @OGUID := 9000366;
SET @NPCTEXTID := 590092;
-- creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(@CGUID+0, 201437, 0, 46, 46, '0', 0, 0, 0, 0, -8359.734375, -2378.00048828125, 197.771087646484375, 1.293031096458435058, 120, 6, 0, 112919, 0, 1, 0, 0, 0, 49801), -- Vicious Ember Worg (Area: Burning Steppes - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+1, 198905, 0, 46, 46, '0', 0, 0, 0, 0, -8395.5947265625, -2382.600830078125, 197.8407745361328125, 1.612879395484924316, 120, 6, 0, 282298, 0, 1, 0, 0, 0, 49801), -- Vicious Elder Ember Worg (Area: Burning Steppes - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+2, 201437, 0, 46, 46, '0', 0, 0, 0, 0, -8382.72265625, -2408.2119140625, 197.76654052734375, 3.241340160369873046, 120, 0, 0, 112919, 0, 0, 0, 0, 0, 49801); -- Vicious Ember Worg (Area: Burning Steppes - Difficulty: 0) CreateObject1 (Auras: )
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+2, 0, 0, 0, 0, 0, 1, 0, 418, 0, 0, 0, 0, ''); -- Vicious Ember Worg
UPDATE `creature` SET `position_x`= -8345.9423828125, `position_y` = -2761.052001953125, `position_z` = 185.587005615234375, `orientation` = 0.967989802360534667 WHERE `guid` = 288807;
UPDATE `creature_template_addon` SET `auras`='261444' WHERE `entry`=9563; -- 9563 (Ragged John) - Cosmetic - SitGround and Drink Breakable (Tankard)
UPDATE `creature_template` SET `faction`=38, `BaseAttackTime`=2000, `unit_flags`=67108864, `unit_flags2`=2048 WHERE `entry`=198905; -- Vicious Elder Ember Worg
UPDATE `creature_template` SET `faction`=38, `BaseAttackTime`=2000, `unit_flags`=67108864, `unit_flags2`=2048 WHERE `entry`=201437; -- Vicious Ember Worg
-- 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
(@OGUID+0, 384644, 0, 46, 46, '0', 0, 0, -8397.248046875, -2393.99658203125, 197.7805633544921875, 5.184993743896484375, -0.07218027114868164, -0.02396106719970703, -0.52284145355224609, 0.849030494689941406, 120, 255, 0, 49801), -- Hoarded Debris (Area: Burning Steppes - Difficulty: 0) CreateObject1
(@OGUID+1, 384644, 0, 46, 46, '0', 0, 0, -8355.9970703125, -2395.385498046875, 197.7227783203125, 5.945824623107910156, -0.13997507095336914, -0.12792587280273437, -0.1823129653930664, 0.964781820774078369, 120, 255, 0, 49801), -- Hoarded Debris (Area: Burning Steppes - Difficulty: 0) CreateObject1
(@OGUID+2, 384644, 0, 46, 46, '0', 0, 0, -8387.1357421875, -2411.08154296875, 197.8878936767578125, 0, 0, 0, 0, 1, 120, 255, 0, 49801), -- Hoarded Debris (Area: Burning Steppes - Difficulty: 0) CreateObject1
(@OGUID+3, 384644, 0, 46, 46, '0', 0, 0, -8375.935546875, -2362.947998046875, 198.1864776611328125, 5.604685306549072265, 0.554764747619628906, -0.0714426040649414, -0.34790802001953125, 0.752390861511230468, 120, 255, 0, 49801); -- Hoarded Debris (Area: Burning Steppes - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_template` WHERE `entry`=384644;
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `Data24`, `Data25`, `Data26`, `Data27`, `Data28`, `Data29`, `Data30`, `Data31`, `Data32`, `Data33`, `Data34`, `ContentTuningId`, `VerifiedBuild`) VALUES
(384644, 3, 29547, 'Hoarded Debris', 'questinteract', 'Collecting', '', 1.5, 43, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 19676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 115586, 1, 0, 0, 0, 1281, 49801); -- Hoarded Debris
UPDATE `gameobject_template` SET `VerifiedBuild`=49801 WHERE `entry` IN (207304, 2040);
DELETE FROM `gameobject_template_addon` WHERE `entry`=384644;
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(384644, 0, 2113540, 0, 0); -- Hoarded Debris
DELETE FROM `gameobject_questitem` WHERE (`GameObjectEntry`=384644 AND `Idx`=0);
INSERT INTO `gameobject_questitem` (`GameObjectEntry`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(384644, 0, 202106, 49801); -- Hoarded Debris
DELETE FROM `gameobject_loot_template` WHERE `Entry` = 115586;
INSERT INTO `gameobject_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(115586, 202106, 0, 100, 1, 1, 0, 1, 1, 'Chewed Piece of Journal');
-- Difficulty
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=0 AND `Entry` IN (198905,201437));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`, `VerifiedBuild`) VALUES
(198905, 0, 0, 0, 1281, 9, 2.5, 1, 227318, 1, 0, 49801),
(201437, 0, 0, 0, 1281, 9, 1, 1, 230039, 1, 0, 49801);
-- Quest stuff
DELETE FROM `quest_request_items` WHERE `ID`=72409;
INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `EmoteOnCompleteDelay`, `EmoteOnIncompleteDelay`, `CompletionText`, `VerifiedBuild`) VALUES
(72409, 0, 0, 0, 0, 'Drink always seems to be empty... why\'s me drink always empty?', 0); -- Rotten Old Memories
DELETE FROM `quest_offer_reward` WHERE `ID`=72409;
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
(72409, 0, 0, 0, 0, 0, 0, 0, 0, 'Ah, Windsor...', 49801); -- Rotten Old Memories
DELETE FROM `quest_details` WHERE `ID`=72424;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(72424, 1, 1, 0, 0, 0, 0, 0, 0, 49801); -- Looking for Something Specific
DELETE FROM `creature_questender` WHERE (`id`=9563 AND `quest`=72409);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(9563, 72409, 49801); -- Rotten Old Memories ended by Ragged John
DELETE FROM `creature_queststarter` WHERE (`id`=9563 AND `quest`=72424);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(9563, 72424, 49801); -- Looking for Something Specific offered Ragged John
DELETE FROM `quest_template_addon` WHERE `ID` = 72424;
INSERT INTO `quest_template_addon` (`ID`, `prevQuestID`) VALUES
(72424, 72409);
-- Condition
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 2061 AND `SourceEntry` = 3);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(15, 2061, 3, 0, 0, 9, 0, 72409, 0, 0, 0, 'Show Gossip Option Menu 2061 3 if Quest 72409 is taken'),
(15, 2061, 3, 0, 0, 48, 0, 431998, 0, 1, 1, 'Show Gossip Option Menu 2061 3 if Questobjective 431998 is not rewarded');
-- Ragged John smart ai
SET @ENTRY := 9563;
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, 62, 0, 100, 0, 30227, 0, 0, 0, 33, 9563, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action What do you mean? (0) from menu 30227 selected - Gossip player: Give kill credit 9563'),
(@ENTRY, 0, 1, 0, 62, 0, 100, 0, 30226, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action <Ask about something else.> (0) from menu 30226 selected - Gossip player: Close gossip');
-- Gossip & Text
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+8;
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, 233118, 0, 0, 0, 0, 0, 0, 0, 49801), -- 9563 (Ragged John)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 233116, 0, 0, 0, 0, 0, 0, 0, 49801), -- 9563 (Ragged John)
(@NPCTEXTID+2, 1, 0, 0, 0, 0, 0, 0, 0, 233113, 0, 0, 0, 0, 0, 0, 0, 49801), -- 9563 (Ragged John)
(@NPCTEXTID+3, 1, 0, 0, 0, 0, 0, 0, 0, 233111, 0, 0, 0, 0, 0, 0, 0, 49801), -- 9563 (Ragged John)
(@NPCTEXTID+4, 1, 0, 0, 0, 0, 0, 0, 0, 233108, 0, 0, 0, 0, 0, 0, 0, 49801), -- 9563 (Ragged John)
(@NPCTEXTID+5, 1, 0, 0, 0, 0, 0, 0, 0, 233106, 0, 0, 0, 0, 0, 0, 0, 49801), -- 9563 (Ragged John)
(@NPCTEXTID+6, 1, 0, 0, 0, 0, 0, 0, 0, 233103, 0, 0, 0, 0, 0, 0, 0, 49801), -- 9563 (Ragged John)
(@NPCTEXTID+7, 1, 0, 0, 0, 0, 0, 0, 0, 233099, 0, 0, 0, 0, 0, 0, 0, 49801), -- 9563 (Ragged John)
(@NPCTEXTID+8, 1, 0, 0, 0, 0, 0, 0, 0, 233097, 0, 0, 0, 0, 0, 0, 0, 49801); -- 9563 (Ragged John)
DELETE FROM `gossip_menu` WHERE (`MenuID`=30226 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=30227 AND `TextID`=@NPCTEXTID+1) OR (`MenuID`=30228 AND `TextID`=@NPCTEXTID+2) OR (`MenuID`=30229 AND `TextID`=@NPCTEXTID+3) OR (`MenuID`=30230 AND `TextID`=@NPCTEXTID+4) OR (`MenuID`=30231 AND `TextID`=@NPCTEXTID+5) OR (`MenuID`=30232 AND `TextID`=@NPCTEXTID+6) OR (`MenuID`=30233 AND `TextID`=@NPCTEXTID+7) OR (`MenuID`=30234 AND `TextID`=@NPCTEXTID+8);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(30226, @NPCTEXTID+0, 49801), -- 9563 (Ragged John)
(30227, @NPCTEXTID+1, 49801), -- 9563 (Ragged John)
(30228, @NPCTEXTID+2, 49801), -- 9563 (Ragged John)
(30229, @NPCTEXTID+3, 49801), -- 9563 (Ragged John)
(30230, @NPCTEXTID+4, 49801), -- 9563 (Ragged John)
(30231, @NPCTEXTID+5, 49801), -- 9563 (Ragged John)
(30232, @NPCTEXTID+6, 49801), -- 9563 (Ragged John)
(30233, @NPCTEXTID+7, 49801), -- 9563 (Ragged John)
(30234, @NPCTEXTID+8, 49801); -- 9563 (Ragged John)
UPDATE `gossip_menu` SET `VerifiedBuild`=49801 WHERE (`MenuID`=2061 AND `TextID`=2713);
DELETE FROM `gossip_menu_option` WHERE (`OptionID`=1 AND `MenuID` IN (30231,30228,30227,30230,30229)) OR (`OptionID`=0 AND `MenuID` IN (30229,30234,30233,30227,30232,30226,30231,30230,30228)) OR (`OptionID`=3 AND `MenuID`=2061);
INSERT INTO `gossip_menu_option` (`GossipOptionID`, `MenuID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextId`, `Language`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `Flags`, `OverrideIconID`, `GossipNpcOptionID`, `VerifiedBuild`) VALUES
(108338, 30231, 1, 0, 'Enough is enough, John. Just tell me where Windsor\'s stuff is. |cFFFF0000<Skip this conversation.>|r', 0, 0, 0, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(107719, 30229, 0, 0, 'I will see what I can do.', 0, 0, 30228, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(107724, 30234, 0, 0, 'Windsor. Reginald Windsor. What else did he know?', 0, 0, 30233, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(107723, 30233, 0, 0, 'Yes. He was. Please tell me if he knew anything else about that dragon and her stuff.', 0, 0, 30232, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(107717, 30227, 0, 0, 'What do you mean?', 5994, 0, 30226, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801), -- OptionBroadcastTextID: 5994 - 6649 - 12485 - 46314 - 153486 - 180130 - 201357
(108335, 30228, 1, 0, 'Enough is enough, John. Just tell me where Windsor\'s stuff is. |cFFFF0000<Skip this conversation.>|r', 0, 0, 0, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108334, 30227, 1, 0, 'Enough is enough, John. Just tell me where Windsor\'s stuff is. |cFFFF0000<Skip this conversation.>|r', 0, 0, 0, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(107722, 30232, 0, 0, 'Windsor\'s old belongings will do. Where did you put them?', 0, 0, 30231, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108337, 30230, 1, 0, 'Enough is enough, John. Just tell me where Windsor\'s stuff is. |cFFFF0000<Skip this conversation.>|r', 0, 0, 0, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108541, 30226, 0, 0, '<Ask about something else.>', 0, 0, 0, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(107721, 30231, 0, 0, 'Yes, it\'s terrible. Now please just tell me where you put his stuff.', 0, 0, 30230, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(107720, 30230, 0, 0, 'I won\'t let his memory go to waste, John.', 0, 0, 30229, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(107718, 30228, 0, 0, 'Windsor\'s old stuff. Where is it?', 0, 0, 30227, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(107725, 2061, 3, 0, 'The Drakefire Amulet has been stolen. Did Windsor have any other information on it or Onyxia?', 0, 0, 30234, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801),
(108336, 30229, 1, 0, 'Enough is enough, John. Just tell me where Windsor\'s stuff is. |cFFFF0000<Skip this conversation.>|r', 0, 0, 0, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, 49801);
@@ -0,0 +1,4 @@
DELETE FROM `spell_proc` WHERE `SpellId` IN (391154,41635);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(391154,0x00,6,0x20000000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x4,0x2,0x1,0x0,0x0,0,0,0,0), -- Holy Mending
(41635,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x1,0x0,0x0,0x0,0x0,0,0,0,0); -- Prayer of Mending
@@ -0,0 +1,8 @@
DELETE FROM `spell_proc` WHERE `SpellId` IN (390881,390885);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(390881,0x00,6,0x00000040,0x00000000,0x00000000,0x00000000,0x0,0x0,0x2,0x2,0x3,0x0,0x0,0,0,0,0), -- Healing Chorus
(390885,0x00,6,0x00000000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x2,0x2,0x0,0x8,0x0,0,0,0,1); -- Healing Chorus
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_pri_circle_of_healing';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(204883,'spell_pri_circle_of_healing');
@@ -0,0 +1,7 @@
DELETE FROM `spell_proc` WHERE `SpellId` IN (391339);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(391339,0x00,6,0x00000040,0x00000000,0x00000000,0x00000000,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0,0,0,0); -- Empowered Renew
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_pri_empowered_renew';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(391339,'spell_pri_empowered_renew');
@@ -0,0 +1,103 @@
SET @DF_CGUID := 9003914;
SET @WOD_CGUID := 460990;
-- Creature DF
DELETE FROM `creature` WHERE `guid` = @DF_CGUID+0;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(@DF_CGUID+0, 199149, 0, 1519, 1519, '0', 0, 0, 0, 0, -8706.0322265625, 315.200103759765625, 101.2873916625976562, 3.182098627090454101, 120, 0, 0, 112919, 100, 0, 0, 0, 0, 49801); -- Sh'dorana (Area: Stormwind City - Difficulty: 0) CreateObject1 (Auras: 186810 - Stealth)
-- Creature WoD
DELETE FROM `creature` WHERE `guid` BETWEEN @WOD_CGUID+0 AND @WOD_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`, `dynamicflags`, `VerifiedBuild`) VALUES
(@WOD_CGUID+0, 87501, 0, 1519, 5149, '0', 0, 0, 0, 1, -8685.2880859375, 454.505218505859375, 100.7089385986328125, 5.631696224212646484, 120, 0, 0, 338757, 0, 0, 0, 0, 0, 49801), -- Paulie (Area: Old Town - Difficulty: 0) CreateObject1
(@WOD_CGUID+1, 87503, 0, 1519, 5149, '0', 0, 0, 0, 0, -8682.0361328125, 455.057281494140625, 100.2331695556640625, 4.201167583465576171, 120, 0, 0, 112919, 0, 0, 0, 0, 0, 49801); -- Champion's Treadblade (Area: Old Town - Difficulty: 0) CreateObject1
DELETE FROM `creature_template_addon` WHERE `entry` IN (87501 /*87501 (Paulie)*/);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(87501, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, ''); -- 87501 (Paulie)
UPDATE `creature_template` SET `faction`=12, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=199149; -- Sh'dorana
-- remove wrong aura
UPDATE `creature_template_addon` SET `auras` = '' WHERE `entry` = 35845;
-- Sh'dorana smart ai
SET @ENTRY := 199149;
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, 34, 0, 100, 0, 2, 6, 0, 0, 11, 186810, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 6 - Self: Cast spell 186810 with flags triggered on Self'),
(@ENTRY, 0, 1, 0, 34, 0, 100, 0, 2, 33, 0, 0, 28, 186810, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 33 - Self: Remove aura due to spell 186810');
-- Waypoints for Sh'dorana
SET @PATH := ((@DF_CGUID+0) * 10) << 3;
DELETE FROM `waypoint_data` WHERE `id`= @PATH;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`) VALUES
(@PATH, 0, -8715.694, 327.5, 101.2874, NULL, 0),
(@PATH, 1, -8725.366, 335.5382, 100.2065, NULL, 0),
(@PATH, 2, -8730.524, 343.0104, 100.853, NULL, 0),
(@PATH, 3, -8731.917, 349.7882, 101.0043, NULL, 0),
(@PATH, 4, -8737.738, 356.8698, 101.5553, NULL, 0),
(@PATH, 5, -8736.888, 369.4149, 100.9727, NULL, 0),
(@PATH, 6, -8736.464, 375.599, 101.1705, NULL, 14100),
(@PATH, 7, -8735.62, 370.8507, 100.8585, NULL, 0),
(@PATH, 8, -8734.884, 367.9601, 100.8907, NULL, 0),
(@PATH, 9, -8731.851, 364.2274, 101.0138, NULL, 0),
(@PATH, 10, -8730.842, 360.4097, 101.3312, NULL, 0),
(@PATH, 11, -8728.279, 356.4132, 101.2925, NULL, 0),
(@PATH, 12, -8726.936, 348.5234, 101.2543, NULL, 0),
(@PATH, 13, -8727.651, 343.2413, 101.0003, NULL, 0),
(@PATH, 14, -8730.377, 336.0573, 100.0043, NULL, 0),
(@PATH, 15, -8737.188, 333.9462, 100.6936, NULL, 0),
(@PATH, 16, -8740.901, 333.6493, 100.9185, NULL, 0),
(@PATH, 17, -8744.051, 327.0295, 100.7649, NULL, 0),
(@PATH, 18, -8745.833, 318.1129, 100.0015, NULL, 0),
(@PATH, 19, -8750.616, 316.3195, 100.9939, NULL, 0),
(@PATH, 20, -8754.915, 313.5087, 101.2064, NULL, 0),
(@PATH, 21, -8759.674, 313.283, 101.3899, NULL, 0),
(@PATH, 22, -8767.436, 314.7517, 101.2577, NULL, 13839),
(@PATH, 23, -8760.477, 315.5723, 101.2649, NULL, 0),
(@PATH, 24, -8754.899, 315.7847, 100.9333, NULL, 0),
(@PATH, 25, -8751.364, 317.8715, 100.8899, NULL, 0),
(@PATH, 26, -8747.493, 321.7986, 100.4672, NULL, 0),
(@PATH, 27, -8742.747, 320.651, 99.7073, NULL, 0),
(@PATH, 28, -8737.172, 320.834, 99.60073, NULL, 0),
(@PATH, 29, -8730.207, 323.6667, 99.51249, NULL, 0),
(@PATH, 30, -8728.384, 327.1111, 99.82841, NULL, 0),
(@PATH, 31, -8723.701, 330.1979, 100.0125, NULL, 0),
(@PATH, 32, -8718.599, 331.0955, 101.2874, NULL, 0),
(@PATH, 33, -8712.285, 327.5451, 101.2874, NULL, 0),
(@PATH, 34, -8703.288, 320.2257, 101.2874, NULL, 0),
(@PATH, 35, -8700.092, 316.3229, 101.2874, NULL, 0),
(@PATH, 36, -8694.518, 318.1163, 101.6238, NULL, 0),
(@PATH, 37, -8695.399, 321.2292, 103.3961, NULL, 0),
(@PATH, 38, -8695.596, 326.7292, 106.7132, NULL, 0),
(@PATH, 39, -8696.531, 328.9861, 108.1854, NULL, 0),
(@PATH, 40, -8698.566, 334.4254, 108.4749, NULL, 0),
(@PATH, 41, -8702.361, 334.2865, 108.4749, NULL, 0),
(@PATH, 42, -8705.547, 332.9688, 108.4749, NULL, 0),
(@PATH, 43, -8707.88, 327.5174, 108.4749, NULL, 0),
(@PATH, 44, -8707.79, 325.1302, 108.4749, NULL, 0),
(@PATH, 45, -8710.308, 320.2552, 108.4749, NULL, 0),
(@PATH, 46, -8715.867, 316.2034, 108.4749, NULL, 0),
(@PATH, 47, -8723.366, 311.6302, 108.4749, NULL, 0),
(@PATH, 48, -8727.207, 310.3021, 108.4749, NULL, 6770),
(@PATH, 49, -8717.063, 312.8438, 108.4749, NULL, 0),
(@PATH, 50, -8717.186, 315.3993, 108.4749, NULL, 0),
(@PATH, 51, -8712.632, 319.2413, 108.4749, NULL, 0),
(@PATH, 52, -8709.786, 321.3333, 108.4749, NULL, 0),
(@PATH, 53, -8706.219, 324.9531, 108.4749, NULL, 0),
(@PATH, 54, -8705.63, 330.4549, 108.4749, NULL, 0),
(@PATH, 55, -8704.801, 333.6528, 108.4749, NULL, 0),
(@PATH, 56, -8698.25, 335.1493, 108.4749, NULL, 0),
(@PATH, 57, -8695.926, 328.724, 107.9518, NULL, 0),
(@PATH, 58, -8696.113, 326.4931, 106.6143, NULL, 0),
(@PATH, 59, -8695.688, 320.7326, 103.1487, NULL, 0),
(@PATH, 60, -8695.976, 315.6076, 101.2874, NULL, 0),
(@PATH, 61, -8706.601, 315.1771, 101.2874, NULL, 0),
(@PATH, 62, -8709.969, 318.8663, 101.2874, NULL, 0);
UPDATE `creature` SET `position_x`= -8715.694, `position_y`= 327.5, `position_z`= 101.2874, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @DF_CGUID+0;
DELETE FROM `creature_addon` WHERE `guid`= @DF_CGUID+0;
INSERT INTO `creature_addon` (`guid`, `path_id`, `SheathState`) VALUES
(@DF_CGUID+0, @PATH, 1);
@@ -0,0 +1,14 @@
DELETE FROM `spell_proc` WHERE `SpellId` IN (328725,329756,331011,331283,331622,331726,332201,332753);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(328725,0x00,107,0x00001000,0x00000040,0x00000000,0x00000000,0x0,0x0,0x1,0x2,0x403,0x0,0x0,0,0,0,0), -- Mortal Dance
(329756,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x1,0x2,0x403,0x0,0x0,0,0,0,0), -- Caustic Liquid
(331011,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x1,0x2,0x403,0x0,0x0,0,0,0,0), -- Poxstorm
(331283,0x00,9,0x00000000,0x00000010,0x00000000,0x00000000,0x0,0x0,0x5,0x2,0x403,0x0,0x0,0,0,0,0), -- Peltsman's Grit
(331622,0x00,53,0x00000010,0x00000000,0x00000000,0x00000000,0x0,0x0,0x1,0x2,0x403,0x0,0x0,0,0,0,0), -- Hit Scheme
(331726,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x2,0x0,0x3,0x0,0x0,0,0,0,0), -- Regenerating Materials
(332201,0x00,5,0x00000000,0x00000000,0x00008000,0x40000000,0x0,0x0,0x4,0x1,0x0,0x0,0x0,0,0,0,0), -- Smoking Shard of Teleportation
(332753,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x255510,0x0,0x4,0x4,0x5000,0x0,0x0,0,0,0,0); -- Superior Tactics
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_soulbind_superior_tactics');
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(332753,'spell_soulbind_superior_tactics');
@@ -0,0 +1 @@
UPDATE `quest_template_addon` SET `SpecialFlags`=`SpecialFlags`&~0x2; -- remove deprecated QUEST_SPECIAL_FLAGS_EXPLORATION_OR_EVENT