DB Updates

This commit is contained in:
Hondacrx
2024-11-10 00:15:32 -05:00
parent c39e7bc255
commit 46643bd178
230 changed files with 175078 additions and 435 deletions
@@ -1,4 +0,0 @@
-- TDB 1027.24051 world
UPDATE `version` SET `db_version`='TDB 1027.24051', `cache_id`=24051 LIMIT 1;
UPDATE `updates` SET `state`='ARCHIVED',`speed`=0;
REPLACE INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/10.x/world', 'ARCHIVED');
@@ -1,24 +0,0 @@
-- update phasing for the Vindicaar
UPDATE `creature` SET `PhaseId` = 0 WHERE `guid` IN (650104, 650079, 650083, 650100, 650095, 650123, 650094, 650089, 650072, 650114, 650113, 650115, 650096, 650127, 650121, 650087, 650085, 650086, 650128, 650099, 650125, 650108, 650126, 650122, 650091, 650084, 650109, 650076, 650090, 650093, 650105, 650080, 650092, 650106, 650078, 650116, 650071, 650098, 650111, 650112, 650117, 650118, 650119, 650107, 650110, 650129, 650081, 650102, 650124, 650120, 650088, 650085, 650103, 650073);
UPDATE `gameobject` SET `PhaseId` = 0 WHERE `guid` IN (400081, 400064, 400083, 400077, 400075, 400082, 400069, 400072, 400066, 400065, 400063, 400074, 400061, 400062, 400070, 400076, 400071);
-- new phase for Grand Artificer Romuul
UPDATE `creature` SET `PhaseId` = 21673 WHERE `guid` = 650075;
-- Phasing
DELETE FROM `phase_name` WHERE `ID` IN (21673, 10260, 10349, 9949);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(21673, 'Cosmetic - See Grand Artificer Romuul'),
(10260, 'Cosmetic - See Lightforged Innkeeper and Vigilant Quoram'),
(10349, 'Cosmetic - See Captain Fareeya before enter Stormwind'),
(9949, 'Cosmetic - See Captain Fareeya after enter Stormwind');
DELETE FROM `phase_area` WHERE `AreaId` = 9359 AND `PhaseId` = 21673;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9359, 21673, 'Cosmetic - See Grand Artificer Romuul');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 10260 AND `SourceEntry` = 0) OR (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 10349 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 10260, 0, 0, 0, 16, 0, 0x20000000, 0, 0, 0, 'Apply Phase 10260 if Player is Lightforged Draenei'),
(26, 10349, 0, 0, 0, 16, 0, 0x20000000, 0, 0, 0, 'Apply Phase 10349 if Player is Lightforged Draenei'),
(26, 10349, 0, 0, 0, 8, 0, 49772, 0, 0, 1, 'Apply Phase 10349 if Quest 49772 is not in progress');
@@ -1,55 +0,0 @@
-- Creature
UPDATE `creature_template` SET `ScriptName`='boss_adarogg' WHERE `entry`=61408;
UPDATE `creature` SET `StringId`='npc_corrupted_houndmaster_1' WHERE `guid`=4000039;
UPDATE `creature` SET `StringId`='npc_corrupted_houndmaster_2' WHERE `guid`=4000052;
-- Spells
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (120064, 119405, 119298, 120113);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 120064, 0, 0, 51, 0, 5, 61659, 0, '', 0, 0, 0, '', 'Spell \'Eat Trog\' can only hit \'Slain Trogg\''),
(13, 1, 120064, 0, 1, 51, 0, 5, 61669, 0, '', 0, 0, 0, '', 'Spell \'Eat Trog\' can only hit \'Oggleflint\''),
(13, 1, 119405, 0, 0, 51, 0, 5, 61409, 0, '', 0, 0, 0, '', 'Spell \'Inferno Charge\' can only hit \'Demonic Leap\''),
(13, 1, 119298, 0, 0, 51, 0, 5, 61409, 0, '', 0, 0, 0, '', 'Spell \'Inferno Charge\' can only hit \'Demonic Leap\''),
(13, 1, 120113, 0, 0, 51, 0, 5, 61666, 0, '', 0, 0, 0, '', 'Spell \'Adjules Chow Time\' can only hit \'Corrupted Houndmaster\''),
(13, 2, 120113, 0, 0, 51, 0, 5, 61666, 0, '', 0, 0, 0, '', 'Spell \'Adjules Chow Time\' can only hit \'Corrupted Houndmaster\'');
-- Serverside spells
DELETE FROM `serverside_spell` WHERE `Id` IN (119297, 119298) AND `DifficultyID`=0;
INSERT INTO `serverside_spell` (`Id`, `DifficultyID`, `CategoryId`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `AttributesEx11`, `AttributesEx12`, `AttributesEx13`, `AttributesEx14`, `Stances`, `StancesNot`, `Targets`, `TargetCreatureType`, `RequiresSpellFocus`, `FacingCasterFlags`, `CasterAuraState`, `TargetAuraState`, `ExcludeCasterAuraState`, `ExcludeTargetAuraState`, `CasterAuraSpell`, `TargetAuraSpell`, `ExcludeCasterAuraSpell`, `ExcludeTargetAuraSpell`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `ProcChance`, `ProcCharges`, `ProcCooldown`, `ProcBasePPM`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `Speed`, `LaunchDelay`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `ContentTuningId`, `SpellName`, `ConeAngle`, `ConeWidth`, `MaxTargetLevel`, `MaxAffectedTargets`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `SpellFamilyFlags4`, `DmgClass`, `PreventionType`, `AreaGroupId`, `SchoolMask`, `ChargeCategoryId`) VALUES
(119297, 0, 0, 0, 0, 256, 0, 0, 256, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 5, 0, 0, 0, -1, 0, 0, 0, 'Inferno Charge', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(119298, 0, 0, 0, 0, 256, 0, 0, 0, 0, 0, 0, 0, 134217728, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 25, 0, 0, -1, 0, 0, 0, 'Inferno Charge', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0);
DELETE FROM `serverside_spell_effect` WHERE `SpellID` IN (119297, 119298) AND `EffectIndex`=0 AND `DifficultyID`=0;
INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES
(119297, 0, 0, 28, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 61409, 491, 0, 0, 0, 0, 0, 0, 53, 0),
(119298, 0, 0, 96, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 119299, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0);
-- Texts
DELETE FROM `creature_text` WHERE `CreatureID`=61666;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(61666, 0, 0, 'He\'s cornered!', 14, 0, 100, 0, 0, 0, 61203, 0, 'Corrupted Houndmaster to Player'),
(61666, 1, 0, 'We\'ve got him now!', 14, 0, 100, 0, 0, 0, 61204, 0, 'Corrupted Houndmaster to Player');
-- Areatrigger
DELETE FROM `areatrigger_scripts` WHERE `entry`=7904;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
(7904, 'at_adarogg_intro');
-- Waypoint
SET @ENTRY := 61408;
SET @PATH := @ENTRY * 100;
DELETE FROM `waypoint_path` WHERE `PathId` BETWEEN @PATH+0 AND @PATH+2;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH+0, 0, 0, 'Adarogg - Intro - Oggleflint from start'),
(@PATH+1, 0, 0, 'Adarogg - Intro - Slain Trogg'),
(@PATH+2, 0, 0, 'Adarogg - Intro - Oggleflint from Slain Trogg');
DELETE FROM `waypoint_path_node` WHERE `PathId` BETWEEN @PATH+0 AND @PATH+2;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH+0, 0, -277.3586, -36.89559, -60.6918, NULL, 0),
(@PATH+1, 0, -278.8507, -54.90896, -60.57021, NULL, 0),
(@PATH+1, 1, -285.0681, -66.49124, -60.46365, NULL, 0),
(@PATH+1, 2, -286.4794, -74.89896, -60.55044, NULL, 0),
(@PATH+2, 0, -278.9581, -43.25373, -60.82312, NULL, 0),
(@PATH+2, 1, -277.3586, -36.89559, -60.6918, NULL, 0);
@@ -1,12 +0,0 @@
UPDATE `creature_template_difficulty` SET `StaticFlags1`=`StaticFlags1` & ~0x20000000 WHERE `entry` IN(61788, 61680);
DELETE FROM `creature_static_flags_override` WHERE `SpawnId` IN(4000126, 4000122, 4000098, 4000042);
INSERT INTO `creature_static_flags_override` (`SpawnId`, `DifficultyId`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`) VALUES
(4000126, 0, 805306624, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(4000122, 0, 805306624, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(4000042, 0, 805306624, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(4000098, 0, 805306624, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
DELETE FROM `creature_addon` WHERE `guid`=4000126;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(4000126, 0, 0, 0, 0, 3, 0, 1, 0, 0, 2297, 0, 0, 0, '');
@@ -1,39 +0,0 @@
DELETE FROM `phase_name` WHERE `ID` IN(22061,22145,22146,22147,22136,22137,22138,22086,22087,22088,22064,22067,22068,22074,22083,22084,22091,22092,22093,22506,22507,22508,22121,22122,22123,22161,22162,22163,22172,22173,22174,22210,22211,22212,22519,22524,22525);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
-- (22061, 'Northrend Cup - Unk'),
(22145, 'Northrend Cup - Dragonblight Dragon Flight - Basic Course'),
(22146, 'Northrend Cup - Dragonblight Dragon Flight - Advanced Course'),
(22147, 'Northrend Cup - Dragonblight Dragon Flight - Reverse Course'),
(22136, 'Northrend Cup - Crystalsong Crisis - Basic Course'),
(22137, 'Northrend Cup - Crystalsong Crisis - Advanced Course'),
(22138, 'Northrend Cup - Crystalsong Crisis - Reverse Course'),
(22086, 'Northrend Cup - Blackriver Burble - Basic Course'),
(22087, 'Northrend Cup - Blackriver Burble - Advanced Course'),
(22088, 'Northrend Cup - Blackriver Burble - Reverse Course'),
(22064, 'Northrend Cup - Scalawag Slither - Basic Course'),
(22067, 'Northrend Cup - Scalawag Slither - Advanced Course'),
(22068, 'Northrend Cup - Scalawag Slither - Reverse Course'),
(22074, 'Northrend Cup - Daggercap Dart - Basic Course'),
(22083, 'Northrend Cup - Daggercap Dart - Advanced Course'),
(22084, 'Northrend Cup - Daggercap Dart - Reverse Course'),
(22091, 'Northrend Cup - Zul''Drak Zephyr - Basic Course'),
(22092, 'Northrend Cup - Zul''Drak Zephyr - Advanced Course'),
(22093, 'Northrend Cup - Zul''Drak Zephyr - Reverse Course'),
(22506, 'Northrend Cup - Gundrak Fast Track - Basic Course'),
(22507, 'Northrend Cup - Gundrak Fast Track - Advanced Course'),
(22508, 'Northrend Cup - Gundrak Fast Track - Reverse Course'),
(22121, 'Northrend Cup - Makers'' Marathon - Basic Course'),
(22122, 'Northrend Cup - Makers'' Marathon - Advanced Course'),
(22123, 'Northrend Cup - Makers'' Marathon - Reverse Course'),
(22161, 'Northrend Cup - Citadel Sortie - Basic Course'),
(22162, 'Northrend Cup - Citadel Sortie - Advanced Course'),
(22163, 'Northrend Cup - Citadel Sortie - Reverse Course'),
(22172, 'Northrend Cup - Sholazar Spree - Basic Course'),
(22173, 'Northrend Cup - Sholazar Spree - Advanced Course'),
(22174, 'Northrend Cup - Sholazar Spree - Reverse Course'),
(22210, 'Northrend Cup - Geothermal Jaunt - Basic Course'),
(22211, 'Northrend Cup - Geothermal Jaunt - Advanced Course'),
(22212, 'Northrend Cup - Geothermal Jaunt - Reverse Course'),
(22519, 'Northrend Cup - Coldarra Climb - Basic Course'),
(22524, 'Northrend Cup - Coldarra Climb - Advanced Course'),
(22525, 'Northrend Cup - Coldarra Climb - Reverse Course');
@@ -1,20 +0,0 @@
-- Creature
UPDATE `creature_template` SET `ScriptName`='boss_dark_shaman_koranthal' WHERE `entry`=61412;
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x80 WHERE `entry`=61413;
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` = 119927;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 119927, 0, 0, 51, 0, 5, 61413, 0, '', 0, 0, 0, '', 'Spell \'Shadow Vortex\' can only hit \'Flame Visual\'');
-- Texts
DELETE FROM `creature_text` WHERE `CreatureID` = 61412;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(61412, 0, 0, 'The power of the Dark Shaman will overwhelm you!', 14, 0, 100, 0, 0, 0, 61305, 0, 'Dark Shaman Koranthal to Player'),
(61412, 1, 0, '|TInterface\Icons\spell_shadow_shadowfury:20|tDark Shaman Koranthal summons a |r|cFF9E09DE|Hspell:119971|h[Shadow Storm]|h|r!', 41, 0, 100, 0, 0, 0, 61139, 0, 'Dark Shaman Koranthal to Player'),
(61412, 2, 0, 'My death... means... nothing...', 14, 0, 100, 0, 0, 0, 61306, 0, 'Dark Shaman Koranthal to Player');
-- Spell
DELETE FROM `spell_script_names` WHERE `spell_id`=119973;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(119973, 'spell_dark_shaman_koranthal_shadow_storm');
@@ -1,544 +0,0 @@
SET @CGUID := 397123;
DELETE FROM `creature` WHERE `guid` IN (450338, 450300, 450306, 450328, 450398, 450416, 450431, 450311, 450332, 450312, 450339, 450532, 450473, 450472, 450433, 450477, 450530, 450396, 450306, 450418, 450424, 450446, 450476, 450443, 450450); -- Reusable guids
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+4;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 56739, 860, 5736, 5825, '0', 0, 0, 0, 0, 1358.9617919921875, 3672.4150390625, 94.14377593994140625, 3.787364482879638671, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53584), -- Hozen Hanging Bunny (Area: The Dawning Valley - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+1, 56739, 860, 5736, 5825, '0', 0, 0, 0, 0, 1437.204833984375, 3651.520751953125, 92.66880035400390625, 3.089232683181762695, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54070), -- Hozen Hanging Bunny (Area: The Dawning Valley - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+2, 56739, 860, 5736, 5825, '0', 0, 0, 0, 0, 1437.5191650390625, 3621.397705078125, 89.036590576171875, 2.443460941314697265, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53584), -- Hozen Hanging Bunny (Area: The Dawning Valley - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+3, 56739, 860, 5736, 5835, '0', 0, 0, 0, 0, 1459.907958984375, 3756.73779296875, 95.20215606689453125, 3.473205089569091796, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Hozen Hanging Bunny (Area: Wu-Song Village - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+4, 56739, 860, 5736, 5825, '0', 0, 0, 0, 0, 1366.236083984375, 3786.056396484375, 96.02268218994140625, 5.445427417755126953, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205); -- Hozen Hanging Bunny (Area: The Dawning Valley - Difficulty: 0) CreateObject1 (Auras: )
UPDATE `creature` SET `equipment_id` = 0 WHERE `guid` IN (450303, 450341, 450404, 450457, 450409, 450439, 450544, 450537);
UPDATE `creature` SET `equipment_id` = 1 WHERE `guid` = 450307;
UPDATE `creature` SET `position_x`=1445.74, `position_y`=3713.97, `position_z`=79.9498 WHERE `guid`=450438;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_1' WHERE `guid` = 450409;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_2' WHERE `guid` = 450439;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_3' WHERE `guid` = 450475;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_4' WHERE `guid` = 450303;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_5' WHERE `guid` = 450323;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_6' WHERE `guid` = 450438;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_7' WHERE `guid` = 450455;
UPDATE `creature` SET `StringId` ='npc_fe_feng_hozen_attack_1' WHERE `guid` = 450402;
UPDATE `creature` SET `StringId` ='npc_fe_feng_hozen_attack_2' WHERE `guid` = 450448;
UPDATE `creature` SET `StringId` ='npc_fe_feng_hozen_attack_3' WHERE `guid` = 450451;
UPDATE `creature` SET `StringId` ='npc_fe_feng_brewthief_attack_1' WHERE `guid` = 450305;
UPDATE `creature` SET `StringId` ='npc_fe_feng_brewthief_attack_2' WHERE `guid` = 450326;
UPDATE `creature` SET `StringId` ='npc_fe_feng_brewthief_attack_3' WHERE `guid` = 450436;
UPDATE `creature` SET `StringId` ='npc_fe_feng_brewthief_attack_4' WHERE `guid` = 450456;
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=53584 WHERE (`Entry`=57164 AND `DifficultyID`=0); -- Fe-Feng Leaper
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=53584 WHERE (`Entry`=56730 AND `DifficultyID`=0); -- Fe-Feng Brewthief
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54070 WHERE (`Entry`=54131 AND `DifficultyID`=0); -- Fe-Feng Hozen
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=53584 WHERE (`Entry`=56739 AND `DifficultyID`=0); -- Hozen Hanging Bunny
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=53584 WHERE (`DifficultyID`=0 AND `Entry` IN (65472,57132)); -- Wu-Song Villager
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=53584 WHERE (`Entry`=57617 AND `DifficultyID`=0); -- Lee Sunspark
DELETE FROM `creature_template_addon` WHERE `entry` IN (57164, 57205);
DELETE FROM `creature_template_addon` WHERE `entry` IN (57617, 54568);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(57617, 0, 0, 0, 0, 0, 0, 1, 0, 333, 0, 0, 0, 0, NULL),
(54568, 0, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, NULL);
UPDATE `creature_template_addon` SET `auras`='109084' WHERE `entry`=56730; -- 56730 (Fe-Feng Brewthief) - Drunken Boxing
DELETE FROM `creature_addon` WHERE `guid`IN (450317, 450303, 450323, 450324, 450321, 450318, 450320, 450322, 450315, 450329, 450335, 450308, 450404, 450409, 450555, 450438, 450439, 450475, 450455);
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(450317, 0, 0, 0, 0, 0, 0, 1, 0, 425, 0, 0, 0, 0, NULL),
(450303, 0, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, NULL),
(450323, 0, 0, 0, 0, 0, 0, 1, 0, 425, 0, 0, 0, 0, NULL),
(450438, 0, 0, 0, 0, 0, 0, 1, 0, 425, 0, 0, 0, 0, NULL),
(450475, 0, 0, 0, 0, 0, 0, 1, 0, 425, 0, 0, 0, 0, NULL),
(450455, 0, 0, 0, 0, 0, 0, 1, 0, 425, 0, 0, 0, 0, NULL),
(450409, 0, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, NULL),
(450439, 0, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, NULL),
(450329, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '109084 107747'),
(450555, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450335, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450308, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450404, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450324, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '96733'),
(450321, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '96733'),
(450318, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '96733'),
(450320, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '96733'),
(450322, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '96733'),
(450315, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '96733');
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=56730; -- Fe-Feng Brewthief
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=57164; -- Fe-Feng Leaper
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`IN (57205, 54131); -- Fe-Feng Hozen
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`IN (57132, 65472); -- Wu-Song Villager
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=54568; -- Ji Firepaw
DELETE FROM `creature_template_sparring` WHERE `Entry` IN (57132, 56730, 57205, 65472) AND `NoNPCDamageBelowHealthPct`=85;
INSERT INTO `creature_template_sparring` (`Entry`, `NoNPCDamageBelowHealthPct`) VALUES
(57132, 85),
(65472, 85),
(57205, 85),
(56730, 85);
DELETE FROM `creature_text` WHERE `CreatureID` = 54568;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(54568, 0, 0, 'Take that monkeybutt!', 12, 0, 100, 5, 0, 27344, 59757, 0, 'Ji Firepaw to Player');
-- Vehicle
DELETE FROM `vehicle_template_accessory` WHERE (`entry`=56739 AND `seat_id`=0);
INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `description`, `summontype`, `summontimer`) VALUES
(56739, 54131, 0, 0, 'Hozen Hanging Bunny - Fe-Feng Hozen', 7, 0); -- Hozen Hanging Bunny - Fe-Feng Hozen
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=56739 AND `spell_id`=46598;
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
(56739, 46598, 0, 0);
-- SAI
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450434 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450434, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450341 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450341, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Hozen - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450457 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450457, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Hozen - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450447 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450447, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450344 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450344, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450304 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450304, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450445 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450445, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450478 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450478, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450336 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450336, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450334 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450334, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450314 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450314, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450313 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450313, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450474 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450474, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450471 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450471, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
-- Waypoints
-- Normal waypoints
-- Fe-Feng Hozen 1
SET @ENTRY := 57205;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 1');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1251.481, 3684.075, 93.97271, NULL, 0),
(@PATH, 1, 1265.085, 3689.423, 93.59255, NULL, 0),
(@PATH, 2, 1281.759, 3671.965, 89.19791, NULL, 0),
(@PATH, 3, 1295.333, 3662.651, 89.23215, NULL, 0),
(@PATH, 4, 1302.435, 3666.339, 86.99618, NULL, 0),
(@PATH, 5, 1314.788, 3669.837, 86.47299, NULL, 0),
(@PATH, 6, 1323.345, 3665.26, 85.1386, NULL, 0),
(@PATH, 7, 1302.436, 3666.339, 87.02302, NULL, 0),
(@PATH, 8, 1295.334, 3662.651, 89.20162, NULL, 0),
(@PATH, 9, 1281.759, 3671.965, 89.19791, NULL, 0),
(@PATH, 10, 1265.085, 3689.423, 93.59255, NULL, 0),
(@PATH, 11, 1257.632, 3692.337, 94.46534, NULL, 0),
(@PATH, 12, 1251.481, 3684.075, 93.97271, NULL, 0);
UPDATE `creature` SET `position_x`= 1251.481, `position_y`= 3684.075, `position_z`= 93.97271, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450535;
DELETE FROM `creature_addon` WHERE `guid`= 450535;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450535, @PATH, 1);
-- Fe-Feng Hozen 2
SET @ENTRY := 57205;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 2');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1510.571, 3655.367, 77.37856, NULL, 390),
(@PATH, 1, 1508.556, 3633.912, 78.70818, NULL, 0),
(@PATH, 2, 1490.227, 3610.696, 81.53677, NULL, 0),
(@PATH, 3, 1472.73, 3603.274, 87.48109, NULL, 0),
(@PATH, 4, 1450.028, 3598.661, 86.96149, NULL, 0),
(@PATH, 5, 1427.795, 3595.583, 89.88957, NULL, 0),
(@PATH, 6, 1417.955, 3600.851, 89.90552, NULL, 0),
(@PATH, 7, 1418.339, 3617.548, 86.55445, NULL, 0),
(@PATH, 8, 1420.514, 3629.339, 83.81339, NULL, 0),
(@PATH, 9, 1410.627, 3644.011, 82.84434, NULL, 0),
(@PATH, 10, 1399.51, 3646.278, 86.80801, NULL, 0),
(@PATH, 11, 1393.873, 3650.874, 86.88097, NULL, 0),
(@PATH, 12, 1393.064, 3661.001, 87.92618, NULL, 0),
(@PATH, 13, 1381.281, 3672.597, 87.92618, NULL, 0),
(@PATH, 14, 1369.106, 3669.344, 87.92618, NULL, 0),
(@PATH, 15, 1356.769, 3666.675, 88.03418, NULL, 0),
(@PATH, 16, 1347.543, 3676.744, 85.85583, NULL, 204),
(@PATH, 17, 1356.769, 3666.675, 88.03418, NULL, 0),
(@PATH, 18, 1369.106, 3669.344, 87.92618, NULL, 0),
(@PATH, 19, 1381.281, 3672.597, 87.92618, NULL, 0),
(@PATH, 20, 1393.064, 3661.001, 87.92618, NULL, 0),
(@PATH, 21, 1393.873, 3650.874, 86.88097, NULL, 0),
(@PATH, 22, 1399.51, 3646.278, 86.80801, NULL, 0),
(@PATH, 23, 1410.627, 3644.011, 82.84434, NULL, 0),
(@PATH, 24, 1420.514, 3629.339, 83.81339, NULL, 0),
(@PATH, 25, 1418.339, 3617.548, 86.55445, NULL, 0),
(@PATH, 26, 1417.955, 3600.851, 89.90552, NULL, 0),
(@PATH, 27, 1427.795, 3595.583, 89.88957, NULL, 0),
(@PATH, 28, 1450.028, 3598.661, 86.96149, NULL, 0),
(@PATH, 29, 1472.578, 3603.221, 87.48109, NULL, 0),
(@PATH, 30, 1490.227, 3610.696, 81.53677, NULL, 0),
(@PATH, 31, 1508.556, 3633.912, 78.70818, NULL, 0);
UPDATE `creature` SET `position_x`= 1510.571, `position_y`= 3655.367, `position_z`= 77.37856, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450307;
DELETE FROM `creature_addon` WHERE `guid`= 450307;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450307, @PATH, 1);
-- Fe-Feng Hozen 3
SET @ENTRY := 57205;
SET @PATHOFFSET := 3;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 3');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1433.557, 3710.008, 79.5691, NULL, 0),
(@PATH, 1, 1445.766, 3710.594, 79.94168, NULL, 0),
(@PATH, 2, 1452.951, 3714.253, 79.94983, NULL, 0),
(@PATH, 3, 1456.028, 3724.659, 82.1713, NULL, 0),
(@PATH, 4, 1453.163, 3731.899, 84.73679, NULL, 0),
(@PATH, 5, 1447.457, 3738.717, 85.36936, NULL, 0),
(@PATH, 6, 1447.764, 3751.399, 85.08856, NULL, 0),
(@PATH, 7, 1444.819, 3760.462, 84.78928, NULL, 0),
(@PATH, 8, 1436.623, 3769.741, 84.52623, NULL, 0),
(@PATH, 9, 1428.234, 3775.19, 84.49818, NULL, 0),
(@PATH, 10, 1414.582, 3772.882, 83.44241, NULL, 0),
(@PATH, 11, 1406.505, 3761.499, 84.41571, NULL, 0),
(@PATH, 12, 1409.063, 3749.219, 84.39035, NULL, 0),
(@PATH, 13, 1415.936, 3736.017, 82.43708, NULL, 0),
(@PATH, 14, 1417.028, 3725.414, 81.06744, NULL, 0),
(@PATH, 15, 1420.585, 3713.412, 79.68462, NULL, 0);
UPDATE `creature` SET `position_x`= 1433.557, `position_y`= 3710.008, `position_z`= 79.5691, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450441;
DELETE FROM `creature_addon` WHERE `guid`= 450441;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450441, @PATH, 1);
-- Waypoints of creatures who attack other npcs
-- Fe-Feng Hozen 1
SET @ENTRY := 57205;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint to Wu-Song Villager 3');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1473.46, 3715.695, 79.83499, NULL, 0),
(@PATH, 1, 1465.448, 3708.645, 79.85747, NULL, 0),
(@PATH, 2, 1457.01, 3703.309, 79.78724, NULL, 0),
(@PATH, 3, 1442.898, 3702.631, 79.27051, NULL, 0),
(@PATH, 4, 1432.934, 3706.349, 79.93696, NULL, 0),
(@PATH, 5, 1423.271, 3708.028, 79.52547, NULL, 0),
(@PATH, 6, 1417.344, 3697.451, 78.79962, NULL, 0),
(@PATH, 7, 1414.998, 3688.631, 83.38158, NULL, 0);
UPDATE `creature` SET `position_x`= 1473.46, `position_y`= 3715.695, `position_z`= 79.83499, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450402;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450402 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450402, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5720502, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Hozen - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450402, 0, 1, 2, '', 58, 0, 100, 0, 7, 5720502, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57132, 0, 0, 0, 'npc_wu_song_villager_attack_1', 0, 0, 0, 0, 'Fe-Feng Hozen - On Waypoint Finished - Start Attacking'),
(-450402, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Hozen - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450409 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450409, 0, 0, 1, '', 75, 0, 100, 1, 0, 57205, 2, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57205, 0, 0, 0, 'npc_fe_feng_hozen_attack_1', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450409, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Fe-Feng Hozen 2
SET @ENTRY := 57205;
SET @PATHOFFSET := 4;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint to Wu-Song Villager 5');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1450.712, 3763.139, 85.01343, NULL, 0),
(@PATH, 1, 1444.384, 3745.242, 84.93659, NULL, 0),
(@PATH, 2, 1434.585, 3739.824, 84.23158, NULL, 0),
(@PATH, 3, 1422.84, 3740.06, 83.58831, NULL, 0),
(@PATH, 4, 1410.189, 3739.675, 83.69814, NULL, 0);
UPDATE `creature` SET `position_x`= 1450.712, `position_y`= 3763.139, `position_z`= 85.01343, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450448;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450448 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450448, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5720504, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Hozen - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450448, 0, 1, 2, '', 58, 0, 100, 0, 4, 5720504, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57132, 0, 0, 0, 'npc_wu_song_villager_attack_2', 0, 0, 0, 0, 'Fe-Feng Hozen - On Waypoint Finished - Start Attacking'),
(-450448, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Hozen - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450439 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450439, 0, 0, 1, '', 75, 0, 100, 1, 0, 57205, 2, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57205, 0, 0, 0, 'npc_fe_feng_hozen_attack_2', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450439, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Fe-Feng Hozen 3
SET @ENTRY := 57205;
SET @PATHOFFSET := 5;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint to Wu-Song Villager 7');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1358.036, 3768.396, 83.11465, NULL, 0),
(@PATH, 1, 1372.575, 3767.295, 84.63619, NULL, 0),
(@PATH, 2, 1394.809, 3753.418, 84.93942, NULL, 0),
(@PATH, 3, 1409.22, 3749.642, 84.4346, NULL, 0),
(@PATH, 4, 1420.172, 3750.372, 84.69238, NULL, 0);
UPDATE `creature` SET `position_x`= 1358.036, `position_y`= 3768.396, `position_z`= 83.11465, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450451;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450451 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450451, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5720505, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Hozen - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450451, 0, 1, 2, '', 58, 0, 100, 0, 4, 5720505, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57132, 0, 0, 0, 'npc_wu_song_villager_attack_3', 0, 0, 0, 0, 'Fe-Feng Hozen - On Waypoint Finished - Start Attacking'),
(-450451, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Hozen - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450475 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450475, 0, 0, 1, '', 75, 0, 100, 1, 0, 57205, 2, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57205, 0, 0, 0, 'npc_fe_feng_hozen_attack_3', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450475, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Fe-Feng Brewthief 1
SET @ENTRY := 56730;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to Wu-Song Villager 1');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1472.51, 3608.762, 85.91302, NULL, 0),
(@PATH, 1, 1455.12, 3603.943, 86.8589, NULL, 0),
(@PATH, 2, 1440.436, 3610.888, 87.19036, NULL, 0),
(@PATH, 3, 1433.392, 3619.705, 84.96278, NULL, 0),
(@PATH, 4, 1432.549, 3623.884, 84.26337, NULL, 0);
UPDATE `creature` SET `position_x`= 1472.51, `position_y`= 3608.762, `position_z`= 85.91302, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450305;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450305 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450305, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673000, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450305, 0, 1, 2, '', 58, 0, 100, 0, 4, 5673000, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57132, 0, 0, 0, 'npc_wu_song_villager_attack_4', 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Start Attacking'),
(-450305, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450303 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450303, 0, 0, 1, '', 75, 0, 100, 1, 0, 56730, 2, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 56730, 0, 0, 0, 'npc_fe_feng_brewthief_attack_1', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450303, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Fe-Feng Brewthief 2
SET @ENTRY := 56730;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to Wu-Song Villager 2');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1341.082, 3680.921, 83.52776, NULL, 0),
(@PATH, 1, 1342.387, 3668.629, 87.68966, NULL, 0),
(@PATH, 2, 1350.229, 3652.049, 88.62582, NULL, 0),
(@PATH, 3, 1360.543, 3642.147, 88.033, NULL, 0),
(@PATH, 4, 1372.198, 3639.886, 87.92618, NULL, 0),
(@PATH, 5, 1378.575, 3640.457, 87.92618, NULL, 0),
(@PATH, 6, 1383.488, 3645.484, 87.8055, NULL, 0),
(@PATH, 7, 1384.646, 3650.066, 87.75733, NULL, 0);
UPDATE `creature` SET `position_x`= 1341.082, `position_y`= 3680.921, `position_z`= 83.52776, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450326;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450326 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450326, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673001, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450326, 0, 1, 2, '', 58, 0, 100, 0, 7, 5673001, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57132, 0, 0, 0, 'npc_wu_song_villager_attack_5', 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Start Attacking'),
(-450326, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450323 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450323, 0, 0, 1, '', 75, 0, 100, 1, 0, 56730, 2, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 56730, 0, 0, 0, 'npc_fe_feng_brewthief_attack_2', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450323, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Fe-Feng Brewthief 3
SET @ENTRY := 56730;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to Wu-Song Villager 4');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1475.618, 3758.82, 81.3439, NULL, 0),
(@PATH, 1, 1473.146, 3738.558, 81.6088, NULL, 0),
(@PATH, 2, 1462.161, 3728.173, 83.25296, NULL, 0),
(@PATH, 3, 1453.792, 3716.79, 79.94983, NULL, 0),
(@PATH, 4, 1449.754, 3712.675, 79.94983, NULL, 0),
(@PATH, 5, 1448.912, 3712.947, 79.94983, 0, 0);
UPDATE `creature` SET `position_x`= 1475.618, `position_y`= 3758.82, `position_z`= 81.3439, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450436;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450436 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450436, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673002, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450436, 0, 1, 2, '', 58, 0, 100, 0, 5, 5673002, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 65472, 0, 0, 0, 'npc_wu_song_villager_attack_6', 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Start Attacking'),
(-450436, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450438 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450438, 0, 0, 1, '', 75, 0, 100, 1, 0, 56730, 4, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 56730, 0, 0, 0, 'npc_fe_feng_brewthief_attack_3', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450438, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Fe-Feng Brewthief 4
SET @ENTRY := 56730;
SET @PATHOFFSET := 3;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to Wu-Song Villager 6');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1396.523, 3761.713, 84.58096, NULL, 0),
(@PATH, 1, 1403.3, 3744.214, 85.10693, NULL, 0);
UPDATE `creature` SET `position_x`= 1396.523, `position_y`= 3761.713, `position_z`= 84.58096, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450456;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450456 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450456, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673003, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450456, 0, 1, 2, '', 58, 0, 100, 0, 1, 5673003, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 65472, 0, 0, 0, 'npc_wu_song_villager_attack_7', 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Start Attacking'),
(-450456, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450455 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450455, 0, 0, 1, '', 75, 0, 100, 1, 0, 56730, 2, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 56730, 0, 0, 0, 'npc_fe_feng_brewthief_attack_4', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450455, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Vendor
DELETE FROM `npc_vendor` WHERE (`entry`=57617 AND `item`=3857 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=18567 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=160298 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=3466 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=2880 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=180733 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=5956 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=2901 AND `ExtendedCost`=0 AND `type`=1);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(57617, 8, 3857, 0, 0, 1, 0, 0, 54070), -- Coal
(57617, 7, 18567, 0, 0, 1, 0, 0, 54070), -- Elemental Flux
(57617, 6, 160298, 0, 0, 1, 0, 0, 54070), -- Durable Flux
(57617, 5, 3466, 0, 0, 1, 0, 0, 54070), -- Strong Flux
(57617, 4, 2880, 0, 0, 1, 0, 0, 54070), -- Weak Flux
(57617, 3, 180733, 0, 0, 1, 0, 0, 54070), -- Luminous Flux
(57617, 2, 5956, 0, 0, 1, 0, 0, 54070), -- Blacksmith Hammer
(57617, 1, 2901, 0, 0, 1, 0, 0, 54070); -- Mining Pick
-- Quests
DELETE FROM `quest_offer_reward_locale` WHERE (`locale`='esES' AND `ID` IN (29417,29522));
INSERT INTO `quest_offer_reward_locale` (`ID`, `locale`, `RewardText`, `VerifiedBuild`) VALUES
(29417, 'esES', '¡Luchas con soltura! ¡Creo que me caes bien!', 54205),
(29522, 'esES', '¡Hola! Rebosas aplomo y seguridad... ¡Me gusta!$b$bMe han llegado algunos rumores bastante impresionantes sobre ti desde los campos de entrenamiento. Si eres la mitad de capaz de lo que cuentan, ¡creo que y yo nos vamos a llevar muy bien!', 54205);
UPDATE `quest_template_locale` SET `LogDescription`='Habla con Ji Zarpa Ígnea en la Aldea Wu-Song.', `QuestDescription`='Otro de mis discípulos con más talento te espera en la Aldea Wu-Song, al noroeste. Su forma de pensar es distinta a la de Aysa, pero con sus diferencias se equilibran mutuamente.$b$bJi Zarpa Ígnea te enseñará a reunir las ofrendas para el espíritu del fuego. Confía en su sabiduría.', `VerifiedBuild`=54205 WHERE (`ID`=29522 AND `locale`='esES');
UPDATE `quest_template_locale` SET `LogTitle`='La filosofía huojin', `QuestDescription`='A esos monos rabiosos que arrasan nuestro pueblo los llamamos \"hozen\". Normalmente nos dejan en paz, pero como saben que va a pasar algo malo han venido a robar nuestros suministros.$b$bEn este tipo de situaciones es necesaria una respuesta contundente. ¡Esos monos se irán por la fuerza! El verdadero crimen sería no defender nuestro pueblo y a nuestros seres queridos. Esa es la filosofía huojin.', `VerifiedBuild`=54205 WHERE (`ID`=29417 AND `locale`='esES');
DELETE FROM `quest_template_addon` WHERE `ID`=29414;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29414, 0, 0, 0, 29424, 29522, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
DELETE FROM `quest_template_addon` WHERE `ID`=29522;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29522, 0, 0, 0, 29414, 29417, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
DELETE FROM `quest_template_addon` WHERE `ID`=29417;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29417, 0, 0, 0, 29522, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
DELETE FROM `quest_template_addon` WHERE `ID`=29418;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29418, 0, 0, 0, 29417, 29420, -29418, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
DELETE FROM `quest_template_addon` WHERE `ID`=29523;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29523, 0, 0, 0, 29417, 29420, -29418, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, '');
DELETE FROM `quest_template_addon` WHERE `ID`=29420;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29420, 0, 0, 0, 29418, 29664, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
-- Areatrigger
DELETE FROM `areatrigger_scripts` WHERE `entry`=7749;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
(7749, 'SmartTrigger');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=1 AND `SourceEntry`=7749;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 1, 7749, 2, 0, 1, 0, 116219, 0, 0, 1, 0, 0, '', 'Areatrigger 7749 only triggers when player has not aura 116219'),
(22, 1, 7749, 2, 0, 47, 0, 29522, 2, 0, 0, 0, 0, '', 'Areatrigger 7749 only triggers when player has completed quest 29522');
DELETE FROM `smart_scripts` WHERE `entryorguid`=7749 AND `source_type`=2;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(7749, 2, 0, 0, 46, 0, 100, 0, 7749, 0, 0, 0, 0, '', 86, 116219, 2, 19, 54568, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On Trigger - Cast Area Trigger Dummy Timer Aura A');
DELETE FROM `smart_scripts` WHERE `entryorguid`=54568 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(54568, 0, 0, 0, 31, 0, 100, 0, 116219, 0, 1000, 1000, 0, '', 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Ji Firepaw - On Spellhit Target - Talk');
-- Graveyards
DELETE FROM `graveyard_zone` WHERE `ID` IN (3295, 3297, 3299, 3301, 3303, 3305, 3307) AND `GhostZone`=5736;
INSERT INTO `graveyard_zone` (`ID`, `GhostZone`, `Comment`) VALUES
(3295, 5736, 'The Wandering Isle, Starting Area GY'),
(3297, 5736, 'The Wandering Isle, Hot Springs GY'),
(3299, 5736, 'The Wandering Isle, Farm Area GY'),
(3301, 5736, 'The Wandering Isle, Temple Town GY'),
(3303, 5736, 'The Wandering Isle, Wind Area Town GY'),
(3305, 5736, 'The Wandering Isle, Staff Forest GY'),
(3307, 5736, 'The Wandering Isle, Bamboo Forest GY');
@@ -1,128 +0,0 @@
SET @SPAWNGROUP := 1248;
DELETE FROM `creature` WHERE `guid`=650534; -- Thal'kiel
DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+2;
INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES
(@SPAWNGROUP+0, 'The Maw of Souls - Ymiron, the Fallen King', 4),
(@SPAWNGROUP+1, 'The Maw of Souls - Harbaron', 4),
(@SPAWNGROUP+2, 'The Maw of Souls - Helya', 4);
DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+2;
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES
-- Ymiron
(@SPAWNGROUP+0, 0, 650507),
(@SPAWNGROUP+0, 0, 650481),
(@SPAWNGROUP+0, 0, 650506),
(@SPAWNGROUP+0, 0, 650499),
(@SPAWNGROUP+0, 0, 650488),
(@SPAWNGROUP+0, 0, 650509),
(@SPAWNGROUP+0, 0, 650515),
(@SPAWNGROUP+0, 0, 650485),
(@SPAWNGROUP+0, 0, 650511),
(@SPAWNGROUP+0, 0, 650471),
(@SPAWNGROUP+0, 0, 650493),
(@SPAWNGROUP+0, 0, 650494),
(@SPAWNGROUP+0, 0, 650477),
(@SPAWNGROUP+0, 0, 650472),
(@SPAWNGROUP+0, 0, 650489),
(@SPAWNGROUP+0, 0, 650497),
(@SPAWNGROUP+0, 0, 650500),
(@SPAWNGROUP+0, 0, 650498),
(@SPAWNGROUP+0, 0, 650470),
(@SPAWNGROUP+0, 0, 650490),
(@SPAWNGROUP+0, 0, 650469),
(@SPAWNGROUP+0, 0, 650473),
(@SPAWNGROUP+0, 0, 650474),
(@SPAWNGROUP+0, 0, 650478),
(@SPAWNGROUP+0, 0, 650479),
(@SPAWNGROUP+0, 0, 650480),
(@SPAWNGROUP+0, 0, 650482),
(@SPAWNGROUP+0, 0, 650483),
(@SPAWNGROUP+0, 0, 650484),
(@SPAWNGROUP+0, 0, 650486),
(@SPAWNGROUP+0, 0, 650487),
(@SPAWNGROUP+0, 0, 650491),
(@SPAWNGROUP+0, 0, 650492),
(@SPAWNGROUP+0, 0, 650496),
(@SPAWNGROUP+0, 0, 650501),
(@SPAWNGROUP+0, 0, 650503),
(@SPAWNGROUP+0, 0, 650504),
(@SPAWNGROUP+0, 0, 650508),
(@SPAWNGROUP+0, 0, 650510),
(@SPAWNGROUP+0, 0, 650512),
(@SPAWNGROUP+0, 0, 650513),
(@SPAWNGROUP+0, 0, 650514),
(@SPAWNGROUP+0, 0, 650552),
(@SPAWNGROUP+0, 0, 650577),
(@SPAWNGROUP+0, 0, 650476),
(@SPAWNGROUP+0, 0, 650502),
(@SPAWNGROUP+0, 0, 650495),
-- Harbaron
(@SPAWNGROUP+1, 0, 650572),
(@SPAWNGROUP+1, 0, 650576),
(@SPAWNGROUP+1, 1, 400184),
(@SPAWNGROUP+1, 1, 400185),
(@SPAWNGROUP+1, 1, 400182),
(@SPAWNGROUP+1, 1, 400186),
(@SPAWNGROUP+1, 0, 650521),
(@SPAWNGROUP+1, 0, 650525),
(@SPAWNGROUP+1, 0, 650553),
(@SPAWNGROUP+1, 0, 650526),
(@SPAWNGROUP+1, 0, 650516),
(@SPAWNGROUP+1, 0, 650533),
(@SPAWNGROUP+1, 0, 650520),
(@SPAWNGROUP+1, 0, 650536),
(@SPAWNGROUP+1, 0, 650539),
(@SPAWNGROUP+1, 0, 650554),
(@SPAWNGROUP+1, 0, 650532),
(@SPAWNGROUP+1, 0, 650557),
(@SPAWNGROUP+1, 0, 650556),
(@SPAWNGROUP+1, 0, 650550),
(@SPAWNGROUP+1, 0, 650548),
(@SPAWNGROUP+1, 0, 650545),
(@SPAWNGROUP+1, 0, 650531),
(@SPAWNGROUP+1, 0, 650538),
(@SPAWNGROUP+1, 0, 650528),
(@SPAWNGROUP+1, 0, 650558),
(@SPAWNGROUP+1, 0, 650555),
(@SPAWNGROUP+1, 0, 650580),
(@SPAWNGROUP+1, 0, 650579),
(@SPAWNGROUP+1, 0, 650565),
(@SPAWNGROUP+1, 0, 650578),
(@SPAWNGROUP+1, 0, 650547),
(@SPAWNGROUP+1, 0, 650542),
(@SPAWNGROUP+1, 0, 650559),
(@SPAWNGROUP+1, 0, 650574),
(@SPAWNGROUP+1, 0, 650575),
(@SPAWNGROUP+1, 0, 650560),
(@SPAWNGROUP+1, 0, 650562),
(@SPAWNGROUP+1, 0, 650573),
(@SPAWNGROUP+1, 0, 650569),
(@SPAWNGROUP+1, 0, 650563),
(@SPAWNGROUP+1, 0, 650564),
(@SPAWNGROUP+1, 0, 650570),
(@SPAWNGROUP+1, 0, 650567),
(@SPAWNGROUP+1, 0, 650566),
-- Helya
(@SPAWNGROUP+2, 1, 400147),
(@SPAWNGROUP+2, 1, 400148),
(@SPAWNGROUP+2, 1, 400150),
(@SPAWNGROUP+2, 1, 400153),
(@SPAWNGROUP+2, 1, 400157),
(@SPAWNGROUP+2, 1, 400155),
(@SPAWNGROUP+2, 1, 400151),
(@SPAWNGROUP+2, 1, 400154),
(@SPAWNGROUP+2, 1, 400149),
(@SPAWNGROUP+2, 1, 400160),
(@SPAWNGROUP+2, 1, 400158),
(@SPAWNGROUP+2, 1, 400161),
(@SPAWNGROUP+2, 1, 400143),
(@SPAWNGROUP+2, 1, 400159),
(@SPAWNGROUP+2, 1, 400170);
DELETE FROM `instance_spawn_groups` WHERE `instanceMapId`=1492;
INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES
(1492, 0, 23, @SPAWNGROUP+0, 1), -- Ymiron
(1492, 1, 23, @SPAWNGROUP+1, 1), -- Harbaron
(1492, 2, 23, @SPAWNGROUP+2, 1); -- Helya
@@ -1,159 +0,0 @@
-- Creature
SET @CGUID := 4000130;
SET @SPAWNGROUP := 71;
UPDATE `creature_template` SET `ScriptName`='boss_lava_guard_gordoth' WHERE `entry`=61528;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=61724;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=61716;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=61822;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=61823;
DELETE FROM `creature_template_addon` WHERE `entry` IN (61404, 61821, 61716);
DELETE FROM `creature_addon` WHERE `guid` IN (4000010, 4000118, 4000124, 4000015, 4000019);
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(4000010, 0, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''),
(4000118, 0, 0, 0, 0, 0, 0, 1, 0, 375, 0, 0, 0, 0, ''),
(4000124, 0, 0, 0, 0, 0, 0, 1, 0, 375, 0, 0, 0, 0, ''),
(4000015, 0, 0, 0, 0, 0, 0, 1, 0, 375, 0, 0, 0, 0, ''),
(4000019, 0, 0, 0, 0, 0, 0, 1, 0, 375, 0, 0, 0, 0, '');
DELETE FROM `creature_static_flags_override` WHERE `SpawnId` IN (@CGUID+2, @CGUID+7) AND `DifficultyId`=0;
INSERT INTO `creature_static_flags_override` (`SpawnId`, `DifficultyId`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`) VALUES
(@CGUID+2, 0, 268435456, NULL, 0, NULL, NULL, NULL, NULL, NULL),
(@CGUID+7, 0, 268435456, NULL, 0, NULL, NULL, NULL, NULL, NULL);
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+7;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
-- Horde
(@CGUID+0, 61724, 389, 2437, 2437, '1', 0, 0, 0, 1, -299.520751953125, 221.1774749755859375, -25.1318569183349609, 3.087508440017700195, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54673), -- Commander Bagran (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
(@CGUID+1, 61404, 389, 2437, 2437, '1', 0, 0, 0, 1, -296.936126708984375, 223.105926513671875, -24.9686126708984375, 3.026282072067260742, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54673), -- Kor'kron Elite (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
(@CGUID+2, 61716, 389, 2437, 2437, '1', 0, 0, 0, 1, -299.498779296875, 215.7811431884765625, -25.4272956848144531, 2.846178770065307617, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54673), -- Invoker Xorenth (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
(@CGUID+3, 61404, 389, 2437, 2437, '1', 0, 0, 0, 1, -297.062896728515625, 218.29010009765625, -25.3582916259765625, 3.026282072067260742, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54673), -- Kor'kron Elite (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
-- Alliance
(@CGUID+4, 61821, 389, 2437, 2437, '1', 0, 0, 0, 1, -296.398834228515625, 221.740570068359375, -25.15625, 2.834229469299316406, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54717), -- SI:7 Commando (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
(@CGUID+5, 61821, 389, 2437, 2437, '1', 0, 0, 0, 1, -296.525543212890625, 216.924713134765625, -25.3940963745117187, 3.067924737930297851, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54717), -- SI:7 Commando (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
(@CGUID+6, 61822, 389, 2437, 2437, '1', 0, 0, 0, 1, -299.025115966796875, 219.8191070556640625, -25.3599357604980468, 2.975675582885742187, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54717), -- SI:7 Field Commander Dirken (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
(@CGUID+7, 61823, 389, 2437, 2437, '1', 0, 0, 0, 1, -299.02191162109375, 215.8939666748046875, -25.431009292602539, 2.871391773223876953, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54717); -- High Sorceress Aryna (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
-- Spawn groups
DELETE FROM `spawn_group_template` WHERE `groupId` IN (@SPAWNGROUP+0, @SPAWNGROUP+1);
INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES
(@SPAWNGROUP+0, 'RFC - Alliance end dungeon spawns', 4),
(@SPAWNGROUP+1, 'RFC - Horde end dungeon spawns', 4);
DELETE FROM `spawn_group` WHERE `groupId` IN (@SPAWNGROUP+0, @SPAWNGROUP+1) AND `spawnType`=0;
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES
(@SPAWNGROUP+0, 0, @CGUID+4),
(@SPAWNGROUP+0, 0, @CGUID+5),
(@SPAWNGROUP+0, 0, @CGUID+6),
(@SPAWNGROUP+0, 0, @CGUID+7),
(@SPAWNGROUP+1, 0, @CGUID+0),
(@SPAWNGROUP+1, 0, @CGUID+1),
(@SPAWNGROUP+1, 0, @CGUID+2),
(@SPAWNGROUP+1, 0, @CGUID+3);
DELETE FROM `instance_spawn_groups` WHERE `instanceMapId`=389 AND `bossStateId`=3;
INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES
(389, 3, 0x08, @SPAWNGROUP+0, 0x05),
(389, 3, 0x08, @SPAWNGROUP+1, 0x09);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=33 AND `SourceGroup`=0 AND `SourceEntry` IN (@SPAWNGROUP+0, @SPAWNGROUP+1);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(33, 0, @SPAWNGROUP+0, 0, 0, 11, 0, 6592, 1, 0, '', 0, 0, 0, '', 'RFC - Spawn Alliance NPCs if Lava Guard Gordoth encounter is done'),
(33, 0, @SPAWNGROUP+1, 0, 0, 11, 0, 6592, 1, 0, '', 0, 0, 0, '', 'RFC - Spawn Horde NPCs if Lava Guard Gordoth encounter is done');
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (@CGUID+0, @CGUID+6);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(@CGUID+0, @CGUID+0, 0, 0, 512, 0, 0),
(@CGUID+0, @CGUID+1, 4, 45, 512, 0, 0),
(@CGUID+0, @CGUID+3, 4, 315, 512, 0, 0),
(@CGUID+6, @CGUID+6, 0, 0, 512, 0, 0),
(@CGUID+6, @CGUID+4, 4, 45, 512, 0, 0),
(@CGUID+6, @CGUID+5, 4, 315, 512, 0, 0);
-- Areatrigger
DELETE FROM `areatrigger_scripts` WHERE `entry`=7899;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
(7899, 'at_lava_guard_gordoth_intro');
-- SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-(@CGUID+0), -(@CGUID+6)) AND `source_type`= 0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-(@CGUID+0), 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 0, 6172400, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Commander Bagran - On Just Created - Self: Start waypoint 6172400'),
(-(@CGUID+6), 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 0, 6182200, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'SI:7 Field Commander Dirken - On Just Created - Self: Start waypoint 6182200');
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-(@CGUID+2), -(@CGUID+7)) AND `source_type`= 0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-(@CGUID+2), 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 6171600, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Invoker Xorenth - On Just Created - Self: Start waypoint 6171600'),
(-(@CGUID+2), 0, 1, 0, '', 40, 0, 100, 0, 1, 6171600, 0, 0, 0, '', 90, 8, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Invoker Xorenth - On Waypoint Reached - Self: Set StandState Kneel'),
(-(@CGUID+7), 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 6182300, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'High Sorceress Aryna - On Just Created - Self: Start waypoint 6182300'),
(-(@CGUID+7), 0, 1, 0, '', 40, 0, 100, 0, 1, 6182300, 0, 0, 0, '', 90, 8, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'High Sorceress Aryna - On Waypoint Reached - Self: Set Emotestate Kneel');
-- Waypoints
-- Horde
SET @ENTRY := 61724;
SET @PATH := @ENTRY * 100;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Commander Bagran - Lava Guard Gordoth encounter done Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -319.3589, 221.9741, -21.71945, NULL, 0),
(@PATH, 1, -326.1815, 221.1362, -20.62629, NULL, 0),
(@PATH, 2, -336.6703, 218.9815, -20.65222, NULL, 0);
SET @ENTRY := 61716;
SET @PATH := @ENTRY * 100;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Invoker Xorenth - Lava Guard Gordoth encounter done Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -326.3615, 217.6746, -20.42875, NULL, 0),
(@PATH, 1, -356.8222, 205.9922, -22.21798, NULL, 0);
UPDATE `creature` SET `MovementType`= 2 WHERE `guid`= @CGUID+2;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+2;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+2, @PATH, 1);
-- Alliance
SET @ENTRY := 61822;
SET @PATH := @ENTRY * 100;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'SI:7 Field Commander Dirken - Lava Guard Gordoth encounter done Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -319.3589, 221.9741, -21.71945, NULL, 0),
(@PATH, 1, -326.1815, 221.1362, -20.62629, NULL, 0),
(@PATH, 2, -336.6703, 218.9815, -20.65222, NULL, 0);
UPDATE `creature` SET `MovementType`= 2 WHERE `guid`= @CGUID+6;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+6;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+6, @PATH, 1);
SET @ENTRY := 61823;
SET @PATH := @ENTRY * 100;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'High Sorceress Aryna - Lava Guard Gordoth encounter done Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -326.3615, 217.6746, -20.42875, NULL, 0),
(@PATH, 1, -356.8222, 205.9922, -22.21798, NULL, 0);
UPDATE `creature` SET `MovementType`= 2 WHERE `guid`= @CGUID+7;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+7;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+7, @PATH, 1);
UPDATE `gameobject` SET `state`=1 WHERE `guid` IN(4000054, 4000055, 4000057);
@@ -1,17 +0,0 @@
DELIMITER ;;
CREATE PROCEDURE 2024_05_18_01_areatrigger_spellvisual() BEGIN
IF NOT EXISTS (SELECT * FROM `information_schema`.`columns` WHERE `table_schema`=SCHEMA() AND `table_name`='areatrigger_create_properties' AND `column_name`='SpellsForVisuals') THEN
ALTER TABLE `areatrigger`
DROP COLUMN `SpellForVisuals`;
ALTER TABLE `areatrigger_create_properties`
ADD COLUMN `SpellForVisuals` INT AFTER `DecalPropertiesId`;
END IF;
END;;
DELIMITER ;
CALL 2024_05_18_01_areatrigger_spellvisual();
DROP PROCEDURE IF EXISTS 2024_05_18_01_areatrigger_spellvisual;
@@ -1,173 +0,0 @@
DELETE FROM `creature` WHERE `guid` IN (450465, 450538, 450454, 450543, 450595, 450606, 450542, 450463, 450525, 450588, 450592, 450541, 450479, 450609, 450586); -- Reusable guids
UPDATE `creature` SET `spawntimesecs` = 30 WHERE `guid` IN (450610, 450597);
DELETE FROM `creature_addon` WHERE `guid`IN (450551, 450587, 450577, 450556);
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(450551, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450587, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450577, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450556, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL);
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450553 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450553, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450547 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450547, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450552 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450552, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450554 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450554, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450546 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450546, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450545 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450545, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
-- I think these npcs have wrong emote on retail (should be 35 instead of 53) but here we are
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450544 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450544, 0, 0, 0, '', 1, 0, 100, 0, 5000, 6000, 5000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 6 seconds - Fe-Feng Hozen - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450537 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450537, 0, 0, 0, '', 1, 0, 100, 0, 5000, 6000, 5000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 6 seconds - Fe-Feng Hozen - OOC - Do emote 53');
-- Fe-Feng Brewthief 1
SET @ENTRY := 56730;
SET @PATHOFFSET := 4;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to steal brew 1');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1377.052, 3802.752, 86.05312, NULL, 0),
(@PATH, 1, 1384.057, 3779.156, 83.25222, NULL, 0),
(@PATH, 2, 1386.589, 3757.36, 84.33394, NULL, 0),
(@PATH, 3, 1393.135, 3745.388, 84.63531, NULL, 78);
SET @ENTRY := 56730;
SET @PATHOFFSET := 5;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to steal brew 2');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1379.793, 3787.59, 84.01439, NULL, 0),
(@PATH, 1, 1379.019, 3807.806, 86.91505, NULL, 0),
(@PATH, 2, 1380.738, 3829.742, 87.99515, NULL, 0),
(@PATH, 3, 1380.879, 3848.524, 93.4976, NULL, 227);
DELETE FROM `smart_scripts` WHERE `entryorguid`= -450610 AND `source_type`= 0;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (5673000, 5673001, 5673002);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450610, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 80, (56730 * 100), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Just Created - Self: Start timed action list'),
(-450610, 0, 1, 0, 58, 0, 100, 0, 3, 5673004, 0, 0, 0, '', 80, (56730 * 100) + 1, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Self: Start timed action list'),
(-450610, 0, 2, 0, 58, 0, 100, 0, 3, 5673005, 0, 0, 0, '', 80, (56730 * 100) + 2, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Self: Start timed action list'),
((56730 * 100), 9, 0, 0, 0, 0, 100, 0x20, 500, 500, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1380.98, 3846.78, 93.4798, 0, 'After 0.5 seconds - Self: Jump To Pos'),
((56730 * 100), 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673004, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Start path #5673004, run, do not repeat, Aggresive'),
((56730 * 100) + 1, 9, 0, 0, 0, 0, 100, 0x20, 0, 0, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1401.19, 3736.55, 87.4988, 0, 'After 0 seconds - Self: Jump To Pos'),
((56730 * 100) + 1, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, '', 85, 107747, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'After 3 seconds - Self: Cast to Self spell 107747'),
((56730 * 100) + 1, 9, 2, 0, 0, 0, 100, 0x20, 4000, 4000, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1393.03, 3746.33, 84.6671, 0, 'After 3 seconds - Self: Jump To Pos'),
((56730 * 100) + 1, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673005, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Start path #5673005, run, do not repeat, Aggresive'),
((56730 * 100) + 2, 9, 0, 0, 0, 0, 100, 0x20, 0, 0, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1380.9, 3863.48, 100.405, 0, 'After 0 seconds - Self: Jump To Pos'),
((56730 * 100) + 2, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, '', 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Despawn');
-- Fe-Feng Brewthief 2
SET @ENTRY := 56730;
SET @PATHOFFSET := 6;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to steal brew 3');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1376.896, 3812.387, 87.55208, NULL, 0),
(@PATH, 1, 1376.342, 3789.305, 84.46112, NULL, 0),
(@PATH, 2, 1377.7, 3770.052, 84.21375, NULL, 0),
(@PATH, 3, 1383.566, 3752.828, 83.47913, NULL, 0),
(@PATH, 4, 1390.667, 3744.428, 84.28326, NULL, 158);
SET @ENTRY := 56730;
SET @PATHOFFSET := 7;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to steal brew 4');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1378.795, 3767.181, 84.29975, NULL, 0),
(@PATH, 1, 1376.438, 3789.023, 84.41727, NULL, 0),
(@PATH, 2, 1381.368, 3809.92, 87.31419, NULL, 0),
(@PATH, 3, 1390.418, 3833.358, 86.94251, NULL, 0),
(@PATH, 4, 1396.009, 3847.9, 90.90401, NULL, 221);
DELETE FROM `smart_scripts` WHERE `entryorguid`= -450597 AND `source_type`= 0;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (5673003, 5673004, 5673005);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450597, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 80, (56730 * 100) + 3, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Just Created - Self: Start timed action list'),
(-450597, 0, 1, 0, 58, 0, 100, 0, 4, 5673006, 0, 0, 0, '', 80, (56730 * 100) + 4, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Self: Start timed action list'),
(-450597, 0, 2, 0, 58, 0, 100, 0, 4, 5673007, 0, 0, 0, '', 80, (56730 * 100) + 5, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Self: Start timed action list'),
((56730 * 100) + 3, 9, 0, 0, 0, 0, 100, 0x20, 500, 500, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1390.44, 3846, 91.4894, 0, 'After 0.5 seconds - Self: Jump To Pos'),
((56730 * 100) + 3, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673006, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Start path #5673004, run, do not repeat, Aggresive'),
((56730 * 100) + 4, 9, 0, 0, 0, 0, 100, 0x20, 0, 0, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1402.4, 3737.49, 87.1755, 0, 'After 0 seconds - Self: Jump To Pos'),
((56730 * 100) + 4, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, '', 85, 107747, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'After 3 seconds - Self: Cast to Self spell 107747'),
((56730 * 100) + 4, 9, 2, 0, 0, 0, 100, 0x20, 4000, 4000, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1395.43, 3743.21, 84.791, 0, 'After 3 seconds - Self: Jump To Pos'),
((56730 * 100) + 4, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673007, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Start path #5673005, run, do not repeat, Aggresive'),
((56730 * 100) + 5, 9, 0, 0, 0, 0, 100, 0x20, 0, 0, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1399.77, 3859.49, 100.569, 0, 'After 0 seconds - Self: Jump To Pos'),
((56730 * 100) + 5, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, '', 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Despawn');
-- Fe-Feng Hozen
SET @ENTRY := 57205;
SET @PATHOFFSET := 6;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 4');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1372.106, 3740.393, 76.431, NULL, 61),
(@PATH, 1, 1349.958, 3741.615, 78.44532, NULL, 0),
(@PATH, 2, 1341.099, 3745.504, 77.86064, NULL, 0),
(@PATH, 3, 1336.149, 3749.592, 77.6916, NULL, 0),
(@PATH, 4, 1330.002, 3755.87, 76.78313, NULL, 0),
(@PATH, 5, 1327.401, 3771.976, 76.90037, NULL, 0),
(@PATH, 6, 1330.542, 3783.554, 81.22856, NULL, 0),
(@PATH, 7, 1326.892, 3797.945, 85.61081, NULL, 0),
(@PATH, 8, 1309.026, 3801.955, 79.50826, NULL, 0),
(@PATH, 9, 1291.641, 3811.724, 77.48859, NULL, 0),
(@PATH, 10, 1286.974, 3817.953, 81.05396, NULL, 31),
(@PATH, 11, 1309.026, 3801.955, 79.50826, NULL, 0),
(@PATH, 12, 1326.892, 3797.945, 85.61081, NULL, 0),
(@PATH, 13, 1330.564, 3783.626, 81.11723, NULL, 0),
(@PATH, 14, 1330.002, 3755.87, 76.78313, NULL, 0),
(@PATH, 15, 1336.149, 3749.592, 77.6916, NULL, 0),
(@PATH, 16, 1349.958, 3741.615, 78.44532, NULL, 0),
(@PATH, 17, 1363.657, 3738.729, 76.73334, NULL, 0);
UPDATE `creature` SET `position_x`= 1372.106, `position_y`= 3740.393, `position_z`= 76.431, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450528;
DELETE FROM `creature_addon` WHERE `guid`= 450528;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450528, @PATH, 1);
@@ -1,9 +0,0 @@
UPDATE `phase_name` SET `Name`='Cosmetic - See Cyrus Crestfall in Harbormasters Office' WHERE `ID`=10827;
UPDATE `phase_name` SET `Name`='Cosmetic - See Taelia in Harbormasters Office' WHERE `ID`=9001;
UPDATE `phase_area` SET `Comment`='Cosmetic - See Cyrus Crestfall in Harbormasters Office' WHERE `PhaseId`=10827;
UPDATE `phase_area` SET `Comment`='Cosmetic - See Taelia in Harbormasters Office' WHERE `PhaseId`=9001;
UPDATE `creature` SET `PhaseId`=9001 WHERE `guid`=8000038; -- Taelia
UPDATE `creature` SET `PhaseId`=10827 WHERE `guid`=8000039; -- Cyrus Crestfall
@@ -1,256 +0,0 @@
-- Normal
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=96754 AND `DifficultyID`=1); -- Harbaron
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=96756 AND `DifficultyID`=1); -- Ymiron, the Fallen King
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=96759 AND `DifficultyID`=0); -- Helya
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97043 AND `DifficultyID`=1); -- Seacursed Slaver
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97097 AND `DifficultyID`=1); -- Helarjar Champion
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97119 AND `DifficultyID`=1); -- Shroud Hound
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97163 AND `DifficultyID`=1); -- Cursed Falke
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97182 AND `DifficultyID`=1); -- Night Watch Mariner
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97185 AND `DifficultyID`=1); -- The Grimewalker
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97200 AND `DifficultyID`=1); -- Seacursed Soulkeeper
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97365 AND `DifficultyID`=1); -- Seacursed Mistmender
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`DifficultyID`=0 AND `Entry` IN (98363,100354,100360,100362)); -- Grasping Tentacle
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=98693 AND `DifficultyID`=0); -- Shackled Servitor
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=98761 AND `DifficultyID`=0); -- Soul Fragment
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=98919 AND `DifficultyID`=1); -- Seacursed Swiftblade
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=98973 AND `DifficultyID`=1) OR (`Entry`=114288 AND `DifficultyID`=0); -- Skeletal Warrior
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=99033 AND `DifficultyID`=1); -- Helarjar Mistcaller
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=99188 AND `DifficultyID`=1); -- Waterlogged Soul Guard
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=99307 AND `DifficultyID`=1); -- Skjal
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=99801 AND `DifficultyID`=0); -- Destructor Tentacle
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=102104 AND `DifficultyID`=1); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`DifficultyID`=1 AND `Entry` IN (102375,114712)); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=111221 AND `DifficultyID`=1); -- Xal'atath
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=111833 AND `DifficultyID`=1); -- Thal'kiel
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=114289 AND `DifficultyID`=0); -- Skeletal Sorcerer
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (96759,97099,98363,98693,98761,99800,99801,99803,100188,100353,100354,100359,100360,100361,100362,101502,101504,101814,102306,114288,114289));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`, `VerifiedBuild`) VALUES
(96759, 1, 2, 2, 485, 805306624, 0, 0, 0, 0, 0, 0, 0, 54762), -- Helya
(97099, 1, 0, 0, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Swirling Pool
(98363, 1, 1, 1, 485, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(98693, 1, 1, 1, 485, 268435456, 0, 0, 0, 0, 0, 0, 0, 54762), -- Shackled Servitor
(98761, 1, 0, 0, 485, 268435456, 0, 0, 0, 0, 0, 0, 0, 54762), -- Soul Fragment
(99800, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(99801, 1, 1, 1, 485, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Destructor Tentacle
(99803, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Destructor Tentacle
(100188, 1, 1, 1, 1155, 0, 0, 0, 0, 0, 0, 0, 0, 54762), -- Piercing Tentacle
(100353, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(100354, 1, 1, 1, 485, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(100359, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(100360, 1, 1, 1, 485, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(100361, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(100362, 1, 1, 1, 485, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(101502, 1, 0, 0, 1155, 536870912, 0, 0, 0, 0, 0, 0, 0, 54762), -- Helya's Tentacle
(101504, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(101814, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(102306, 1, 0, 0, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Swirling Pool
(114288, 1, 0, 0, 485, 268435456, 0, 0, 0, 0, 0, 0, 0, 54762), -- Skeletal Warrior
(114289, 1, 0, 0, 485, 268435456, 0, 0, 0, 0, 0, 0, 0, 54762); -- Skeletal Sorcerer
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=96754 AND `DifficultyID`=1); -- Harbaron
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=96756 AND `DifficultyID`=1); -- Ymiron, the Fallen King
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97043 AND `DifficultyID`=1); -- Seacursed Slaver
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97097 AND `DifficultyID`=1); -- Helarjar Champion
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97119 AND `DifficultyID`=1); -- Shroud Hound
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=805306368, `VerifiedBuild`=54762 WHERE (`Entry`=97163 AND `DifficultyID`=1); -- Cursed Falke
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97182 AND `DifficultyID`=1); -- Night Watch Mariner
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97185 AND `DifficultyID`=1); -- The Grimewalker
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97200 AND `DifficultyID`=1); -- Seacursed Soulkeeper
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=97208 AND `DifficultyID`=1); -- Spear
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97365 AND `DifficultyID`=1); -- Seacursed Mistmender
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`DifficultyID`=1 AND `Entry` IN (98291,102326)); -- Seacursed Rower
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98919 AND `DifficultyID`=1); -- Seacursed Swiftblade
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98973 AND `DifficultyID`=1); -- Skeletal Warrior
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=98989 AND `DifficultyID`=1); -- Cosmic Scythe
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99033 AND `DifficultyID`=1); -- Helarjar Mistcaller
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99188 AND `DifficultyID`=1); -- Waterlogged Soul Guard
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99307 AND `DifficultyID`=1); -- Skjal
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=100733 AND `DifficultyID`=1); -- Charge
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=100839 AND `DifficultyID`=1); -- Cosmic Scythe
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=101013 AND `DifficultyID`=1); -- Captured Runecarver
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=102104 AND `DifficultyID`=1); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=102108 AND `DifficultyID`=1); -- Captured Shieldmaiden
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=1 AND `Entry` IN (102325,102327)); -- Seacursed Rower
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=102375 AND `DifficultyID`=1); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=102742 AND `DifficultyID`=1); -- Fallen Shieldmaiden
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=102769 AND `DifficultyID`=1); -- Decrepit Runecarver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=102830 AND `DifficultyID`=1); -- Deceased Sorcerer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=102894 AND `DifficultyID`=1); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=102896 AND `DifficultyID`=1); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54762 WHERE (`DifficultyID`=1 AND `Entry` IN (103115,111374));
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `VerifiedBuild`=54762 WHERE (`Entry`=111221 AND `DifficultyID`=1); -- Xal'atath
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `VerifiedBuild`=54762 WHERE (`Entry`=111833 AND `DifficultyID`=1); -- Thal'kiel
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=114712 AND `DifficultyID`=1); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `ContentTuningID`=877, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=188142 AND `DifficultyID`=1); -- Motion Sick Peon's Soul
-- Heroic
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=2 AND `Entry` IN (96754,96756,96759,97043,97097,97099,97119,97163,97182,97185,97200,97365,98246,98363,98693,98761,98919,98973,99033,99188,99307,99800,99801,99803,100188,100353,100354,100359,100360,101502,101504,101814,102104,102306,102375,114288,114289,114712));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`) VALUES
(96754, 2, 6, 38, 1, 103217, 2097256, 128), -- Harbaron
(96756, 2, 6, 35, 0.000350554008036851, 103241, 2097256, 128), -- Ymiron, the Fallen King
(96759, 2, 6, 249.600006103515625, 1, 102839, 2097260, 128), -- Helya
(97043, 2, 6, 5.15000009536743164, 1, 103230, 2097224, 0), -- Seacursed Slaver
(97097, 2, 6, 6.5, 1, 103225, 270532680, 0), -- Helarjar Champion
(97099, 2, 6, 1, 1, 97598, 1024, 0), -- Swirling Pool
(97119, 2, 6, 1.5, 1, 103224, 2097224, 0), -- Shroud Hound
(97163, 2, 6, 0.800000011920928955, 1, 103237, 2097224, 0), -- Cursed Falke
(97182, 2, 6, 7.5, 1, 103226, 270532680, 0), -- Night Watch Mariner
(97185, 2, 6, 15, 1, 103233, 2097224, 0), -- The Grimewalker
(97200, 2, 6, 6.5, 1, 103229, 2097224, 0), -- Seacursed Soulkeeper
(97365, 2, 6, 4.75, 1, 103227, 270532680, 0), -- Seacursed Mistmender
(98246, 2, 6, 0.899999976158142089, 1, 117105, 2097224, 128), -- Risen Warrior
(98363, 2, 6, 4, 1, 103221, 104, 128), -- Grasping Tentacle
(98693, 2, 6, 1.299999952316284179, 1, 103218, 2097224, 128), -- Shackled Servitor
(98761, 2, 6, 0.5, 1, 102165, 2097224, 128), -- Soul Fragment
(98919, 2, 6, 4.25, 1, 103231, 270532680, 0), -- Seacursed Swiftblade
(98973, 2, 6, 1.10000002384185791, 0.065200001001358032, 103236, 2097224, 0), -- Skeletal Warrior
(99033, 2, 6, 5.5, 1, 103228, 270532680, 0), -- Helarjar Mistcaller
(99188, 2, 6, 5.25, 1, 103232, 2097224, 0), -- Waterlogged Soul Guard
(99307, 2, 6, 16, 1, 103234, 270532712, 0), -- Skjal
(99800, 2, 6, 1, 1, 100308, 0, 128), -- Grasping Tentacle
(99801, 2, 6, 4, 1, 103223, 2097256, 128), -- Destructor Tentacle
(99803, 2, 6, 1, 1, 100311, 0, 128), -- Destructor Tentacle
(100188, 2, 6, 1, 1, 100697, 0, 128), -- Piercing Tentacle
(100353, 2, 6, 1, 1, 100863, 0, 128), -- Grasping Tentacle
(100354, 2, 6, 4, 1, 103222, 104, 128), -- Grasping Tentacle
(100359, 2, 6, 1, 1, 100869, 0, 128), -- Grasping Tentacle
(100360, 2, 6, 4, 1, 103219, 104, 128), -- Grasping Tentacle
(101502, 2, 6, 1, 1, 102076, 0, 0), -- Helya's Tentacle
(101504, 2, 6, 1, 1, 102078, 0, 0), -- Grasping Tentacle
(101814, 2, 6, 1, 1, 102424, 0, 0), -- Grasping Tentacle
(102104, 2, 6, 5, 1, 103240, 2097224, 0), -- Enslaved Shieldmaiden
(102306, 2, 6, 1, 1, 103079, 1024, 0), -- Swirling Pool
(102375, 2, 6, 4, 140.25439453125, 103238, 2097224, 0), -- Runecarver Slave
(114288, 2, 6, 1.10000002384185791, 0.065200001001358032, 117624, 2097224, 0), -- Skeletal Warrior
(114289, 2, 6, 0.75, 1, 117627, 270532680, 0), -- Skeletal Sorcerer
(114712, 2, 6, 4, 140.25439453125, 118182, 2097224, 0); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `VerifiedBuild`=54762 WHERE (`Entry`=111221 AND `DifficultyID`=2); -- Xal'atath
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54762 WHERE (`Entry`=111374 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=96754 AND `DifficultyID`=2); -- Harbaron
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=96756 AND `DifficultyID`=2); -- Ymiron, the Fallen King
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=628, `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=96759 AND `DifficultyID`=2); -- Helya
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97043 AND `DifficultyID`=2); -- Seacursed Slaver
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97097 AND `DifficultyID`=2); -- Helarjar Champion
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=2 AND `Entry` IN (97099,102306)); -- Swirling Pool
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97119 AND `DifficultyID`=2); -- Shroud Hound
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=805306368, `VerifiedBuild`=54762 WHERE (`Entry`=97163 AND `DifficultyID`=2); -- Cursed Falke
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97182 AND `DifficultyID`=2); -- Night Watch Mariner
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97185 AND `DifficultyID`=2); -- The Grimewalker
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97200 AND `DifficultyID`=2); -- Seacursed Soulkeeper
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97365 AND `DifficultyID`=2); -- Seacursed Mistmender
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98246 AND `DifficultyID`=2); -- Risen Warrior
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=2 AND `Entry` IN (98363,100354,100360)); -- Grasping Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98693 AND `DifficultyID`=2); -- Shackled Servitor
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98761 AND `DifficultyID`=2); -- Soul Fragment
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98919 AND `DifficultyID`=2); -- Seacursed Swiftblade
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`DifficultyID`=2 AND `Entry` IN (98973,114288)); -- Skeletal Warrior
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99033 AND `DifficultyID`=2); -- Helarjar Mistcaller
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99188 AND `DifficultyID`=2); -- Waterlogged Soul Guard
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99307 AND `DifficultyID`=2); -- Skjal
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=2 AND `Entry` IN (99800,100353,100359,101504,101814)); -- Grasping Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=99801 AND `DifficultyID`=2); -- Destructor Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=99803 AND `DifficultyID`=2); -- Destructor Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=1155, `VerifiedBuild`=54762 WHERE (`Entry`=100188 AND `DifficultyID`=2); -- Piercing Tentacle
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=101502 AND `DifficultyID`=2); -- Helya's Tentacle
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=102104 AND `DifficultyID`=2); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`DifficultyID`=2 AND `Entry` IN (102375,114712)); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=114289 AND `DifficultyID`=2); -- Skeletal Sorcerer
-- Mythic
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=23 AND `Entry` IN (96759,97099,98246,98363,98693,98761,98989,99033,99307,99800,99801,99803,100188,100353,100354,100359,100360,100361,100362,100733,100839,101502,101504,101814,102306,114288,114289));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`) VALUES
(96759, 23, 6, 249.600006103515625, 1, 115330, 2097260, 128), -- Helya
(97099, 23, 6, 1, 1, 97598, 1024, 0), -- Swirling Pool
(98246, 23, 6, 0.899999976158142089, 1, 117106, 2097224, 128), -- Risen Warrior
(98363, 23, 6, 4, 1, 115313, 104, 128), -- Grasping Tentacle
(98693, 23, 6, 1.299999952316284179, 1, 115320, 2097224, 128), -- Shackled Servitor
(98761, 23, 6, 0.5, 1, 115333, 2097224, 128), -- Soul Fragment
(98989, 23, 6, 1, 1, 99495, 1024, 0), -- Cosmic Scythe
(99033, 23, 6, 5.5, 1, 115321, 270532680, 0), -- Helarjar Mistcaller
(99307, 23, 6, 16, 1, 115338, 270532712, 0), -- Skjal
(99800, 23, 6, 1, 1, 100308, 0, 128), -- Grasping Tentacle
(99801, 23, 6, 4, 1, 115322, 2097256, 128), -- Destructor Tentacle
(99803, 23, 6, 1, 1, 100311, 0, 128), -- Destructor Tentacle
(100188, 23, 6, 1, 1, 100697, 0, 128), -- Piercing Tentacle
(100353, 23, 6, 1, 1, 100863, 0, 128), -- Grasping Tentacle
(100354, 23, 6, 4, 1, 115328, 104, 128), -- Grasping Tentacle
(100359, 23, 6, 1, 1, 100869, 0, 128), -- Grasping Tentacle
(100360, 23, 6, 4, 1, 115334, 104, 128), -- Grasping Tentacle
(100361, 23, 6, 1, 1, 100871, 0, 128), -- Grasping Tentacle
(100362, 23, 6, 4, 1, 115319, 104, 128), -- Grasping Tentacle
(100733, 23, 6, 1, 1, 101244, 1024, 0), -- Charge
(100839, 23, 6, 1, 1, 101356, 1024, 0), -- Cosmic Scythe
(101502, 23, 6, 1, 1, 102076, 0, 0), -- Helya's Tentacle
(101504, 23, 6, 1, 1, 102078, 0, 0), -- Grasping Tentacle
(101814, 23, 6, 1, 1, 102424, 0, 0), -- Grasping Tentacle
(102306, 23, 6, 1, 1, 103079, 1024, 0), -- Swirling Pool
(114288, 23, 6, 1.10000002384185791, 0.065200001001358032, 117625, 2097224, 0), -- Skeletal Warrior
(114289, 23, 6, 0.75, 1, 117628, 270532680, 0); -- Skeletal Sorcerer
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6, `CreatureDifficultyID`=115314 WHERE (`Entry`=96754 AND `DifficultyID`=23); -- Harbaron
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6, `ManaModifier`=0.000350554008036851, `CreatureDifficultyID`=115318 WHERE (`Entry`=96756 AND `DifficultyID`=23); -- Ymiron, the Fallen King
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115311 WHERE (`Entry`=97043 AND `DifficultyID`=23); -- Seacursed Slaver
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115312 WHERE (`Entry`=97097 AND `DifficultyID`=23); -- Helarjar Champion
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115331, `TypeFlags`=2097224 WHERE (`Entry`=97119 AND `DifficultyID`=23); -- Shroud Hound
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115325, `TypeFlags`=2097224 WHERE (`Entry`=97163 AND `DifficultyID`=23); -- Cursed Falke
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115324 WHERE (`Entry`=97182 AND `DifficultyID`=23); -- Night Watch Mariner
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115327 WHERE (`Entry`=97185 AND `DifficultyID`=23); -- The Grimewalker
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6, `CreatureDifficultyID`=115332 WHERE (`Entry`=97200 AND `DifficultyID`=23); -- Seacursed Soulkeeper
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115336 WHERE (`Entry`=97365 AND `DifficultyID`=23); -- Seacursed Mistmender
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115317 WHERE (`Entry`=98919 AND `DifficultyID`=23); -- Seacursed Swiftblade
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115329 WHERE (`Entry`=98973 AND `DifficultyID`=23); -- Skeletal Warrior
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115316 WHERE (`Entry`=99188 AND `DifficultyID`=23); -- Waterlogged Soul Guard
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115335 WHERE (`Entry`=102104 AND `DifficultyID`=23); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115315 WHERE (`Entry`=102375 AND `DifficultyID`=23); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=118183 WHERE (`Entry`=114712 AND `DifficultyID`=23); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=96754 AND `DifficultyID`=23); -- Harbaron
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=96756 AND `DifficultyID`=23); -- Ymiron, the Fallen King
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97043 AND `DifficultyID`=23); -- Seacursed Slaver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97097 AND `DifficultyID`=23); -- Helarjar Champion
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97119 AND `DifficultyID`=23); -- Shroud Hound
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368, `VerifiedBuild`=54762 WHERE (`Entry`=97163 AND `DifficultyID`=23); -- Cursed Falke
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97182 AND `DifficultyID`=23); -- Night Watch Mariner
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97185 AND `DifficultyID`=23); -- The Grimewalker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97200 AND `DifficultyID`=23); -- Seacursed Soulkeeper
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=97208 AND `DifficultyID`=23); -- Spear
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97365 AND `DifficultyID`=23); -- Seacursed Mistmender
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (98291,102326)); -- Seacursed Rower
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98919 AND `DifficultyID`=23); -- Seacursed Swiftblade
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98973 AND `DifficultyID`=23); -- Skeletal Warrior
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99188 AND `DifficultyID`=23); -- Waterlogged Soul Guard
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=101013 AND `DifficultyID`=23); -- Captured Runecarver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=102104 AND `DifficultyID`=23); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=102108 AND `DifficultyID`=23); -- Captured Shieldmaiden
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (102325,102327)); -- Seacursed Rower
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (102375,102894,114712)); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=102742 AND `DifficultyID`=23); -- Fallen Shieldmaiden
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=102769 AND `DifficultyID`=23); -- Decrepit Runecarver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=102830 AND `DifficultyID`=23); -- Deceased Sorcerer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=102896 AND `DifficultyID`=23); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (103115,111374));
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=104906 AND `DifficultyID`=23); -- Captured Val'kyr
UPDATE `creature_template_difficulty` SET `ContentTuningID`=629, `VerifiedBuild`=54762 WHERE (`Entry`=111221 AND `DifficultyID`=23); -- Xal'atath
UPDATE `creature_template_difficulty` SET `ContentTuningID`=629, `VerifiedBuild`=54762 WHERE (`Entry`=111833 AND `DifficultyID`=23); -- Thal'kiel
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=120652 AND `DifficultyID`=23); -- Global Affix Stalker
UPDATE `creature_template_difficulty` SET `ContentTuningID`=877, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=188142 AND `DifficultyID`=23); -- Motion Sick Peon's Soul
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=629, `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=96759 AND `DifficultyID`=23); -- Helya
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (97099,102306)); -- Swirling Pool
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98246 AND `DifficultyID`=23); -- Risen Warrior
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=629, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (98363,100354,100360,100362)); -- Grasping Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98693 AND `DifficultyID`=23); -- Shackled Servitor
UPDATE `creature_template_difficulty` SET `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98761 AND `DifficultyID`=23); -- Soul Fragment
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=98989 AND `DifficultyID`=23); -- Cosmic Scythe
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99033 AND `DifficultyID`=23); -- Helarjar Mistcaller
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99307 AND `DifficultyID`=23); -- Skjal
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (99800,100353,100359,100361,101504,101814)); -- Grasping Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=629, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=99801 AND `DifficultyID`=23); -- Destructor Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=99803 AND `DifficultyID`=23); -- Destructor Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=1155, `VerifiedBuild`=54762 WHERE (`Entry`=100188 AND `DifficultyID`=23); -- Piercing Tentacle
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=100733 AND `DifficultyID`=23); -- Charge
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=100839 AND `DifficultyID`=23); -- Cosmic Scythe
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=101502 AND `DifficultyID`=23); -- Helya's Tentacle
UPDATE `creature_template_difficulty` SET `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=114288 AND `DifficultyID`=23); -- Skeletal Warrior
UPDATE `creature_template_difficulty` SET `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=114289 AND `DifficultyID`=23); -- Skeletal Sorcerer
@@ -1,7 +0,0 @@
SET @CGUID := 650469;
DELETE FROM `creature` WHERE `guid`=@CGUID+65;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `VerifiedBuild`) VALUES
(@CGUID+65, 111833, 1492, 7812, 7811, '1,2,8,23', 0, 0, 0, 0, 2933.046875, 848.609375, 515.24334716796875, 0, 7200, 0, 0, 100, 0, NULL, NULL, 45745); -- Thal'kiel (Area: -Unknown- - Difficulty: 23)
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x80 WHERE `entry` IN(111833, 111221);
@@ -1,26 +0,0 @@
-- Creature
UPDATE `creature_template` SET `ScriptName`='boss_slagmaw' WHERE `entry`=61463;
-- Serverside spells
DELETE FROM `serverside_spell` WHERE `Id` IN (119424, 119425, 119426, 119428) AND `DifficultyID`=0;
INSERT INTO `serverside_spell` (`Id`, `DifficultyID`, `CategoryId`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `AttributesEx11`, `AttributesEx12`, `AttributesEx13`, `AttributesEx14`, `Stances`, `StancesNot`, `Targets`, `TargetCreatureType`, `RequiresSpellFocus`, `FacingCasterFlags`, `CasterAuraState`, `TargetAuraState`, `ExcludeCasterAuraState`, `ExcludeTargetAuraState`, `CasterAuraSpell`, `TargetAuraSpell`, `ExcludeCasterAuraSpell`, `ExcludeTargetAuraSpell`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `ProcChance`, `ProcCharges`, `ProcCooldown`, `ProcBasePPM`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `Speed`, `LaunchDelay`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `ContentTuningId`, `SpellName`, `ConeAngle`, `ConeWidth`, `MaxTargetLevel`, `MaxAffectedTargets`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `SpellFamilyFlags4`, `DmgClass`, `PreventionType`, `AreaGroupId`, `SchoolMask`, `ChargeCategoryId`) VALUES
(119424, 0, 0, 0, 0, 0x100, 0x40000, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Magnaw Teleport North', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(119425, 0, 0, 0, 0, 0x100, 0x40000, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Magnaw Teleport East', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(119426, 0, 0, 0, 0, 0x100, 0x40000, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Magnaw Teleport South', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(119428, 0, 0, 0, 0, 0x100, 0x40000, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Magnaw Teleport West', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0);
DELETE FROM `serverside_spell_effect` WHERE `SpellID` IN (119424, 119425, 119426, 119428) AND `EffectIndex`=0 AND `DifficultyID`=0;
INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES
(119424, 0, 0, 252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17),
(119425, 0, 0, 252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17),
(119426, 0, 0, 252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17),
(119428, 0, 0, 252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17);
DELETE FROM `spell_target_position` WHERE `ID` IN (119424, 119425, 119426, 119428) AND `EffectIndex`=0;
INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES
(119424, 0, 389, -222.94, 165.703, -19.721, 3.797819, 54630),
(119425, 0, 389, -226.477, 135.704, -19.721, 2.330294, 54630),
(119426, 0, 389, -263.212, 136.244, -19.721, 0.7556769, 54630),
(119428, 0, 389, -256.389, 172.884, -19.721, 5.577933, 54630);
UPDATE `creature_template_difficulty` SET `StaticFlags4`=`StaticFlags4`|0x00000200 WHERE `Entry`=61463;
@@ -1 +0,0 @@
DELETE FROM `spawn_group` WHERE `spawnId` IN(650564, 650567, 650566, 650570);
@@ -1,163 +0,0 @@
SET @CGUID := 7000335;
SET @OGUID := 7000163;
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+28;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 137039, 1643, 9042, 9626, '0', 0, 0, 0, 1, 3755.681396484375, -485.461822509765625, 37.06344985961914062, 2.305676937103271484, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+1, 142194, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3754.829833984375, -492.923614501953125, 38.96415328979492187, 3.880747556686401367, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@CGUID+2, 137039, 1643, 9042, 9626, '0', 0, 0, 0, 1, 3755.521728515625, -478.270843505859375, 36.71664047241210937, 2.450761079788208007, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+3, 142194, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3773.49658203125, -514.68231201171875, 38.44319915771484375, 3.832850933074951171, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@CGUID+4, 142194, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3755.68408203125, -493.7725830078125, 39.22199249267578125, 4.122908592224121093, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@CGUID+5, 137039, 1643, 9042, 9626, '0', 0, 0, 0, 1, 3749.25341796875, -484.29339599609375, 36.63306427001953125, 1.921743392944335937, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+6, 142194, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3762.919189453125, -501.77777099609375, 40.64550018310546875, 4.378778934478759765, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@CGUID+7, 134377, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3775.802001953125, -574.13226318359375, 93.52033233642578125, 1.574845790863037109, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Slickbeak Osprey (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+8, 136422, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3790.881103515625, -512.48785400390625, 34.124176025390625, 0, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+9, 137039, 1643, 9042, 9626, '0', 0, 0, 0, 1, 3820.5166015625, -552.38543701171875, 21.1963348388671875, 5.083871364593505859, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+10, 137039, 1643, 9042, 9626, '0', 0, 0, 0, 1, 3821.741455078125, -555.888916015625, 20.29308700561523437, 1.851087570190429687, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+11, 136422, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3805.596435546875, -557.19427490234375, 21.22417831420898437, 2.928831100463867187, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+12, 142168, 1643, 9042, 10033, '0', 0, 0, 0, 0, 3837.822509765625, -571.02923583984375, 17.352203369140625, 0.733493030071258544, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Squirrel (Area: Path of Storms - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+13, 137039, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3790.887939453125, -605.3680419921875, 4.198330402374267578, 0.834012150764465332, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Path of Storms - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+14, 137726, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3787.091064453125, -618.8992919921875, 0.942745804786682128, 4.97591257095336914, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Conscript (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+15, 137039, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3820.47998046875, -613.54864501953125, 4.198333263397216796, 1.944154620170593261, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Path of Storms - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+16, 137726, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3789.079833984375, -618.57464599609375, 1.071032047271728515, 4.673542976379394531, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Conscript (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+17, 54638, 1643, 9042, 10033, '0', 0, 0, 0, 0, 3797.712646484375, -639.9913330078125, 1.728608489036560058, 1.258543848991394042, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Generic Bunny (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+18, 137037, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3789.111083984375, -637.50347900390625, 1.728608965873718261, 6.028524398803710937, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tidesage (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+19, 137726, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3814.947998046875, -625.9913330078125, 0.695562958717346191, 3.69903421401977539, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Conscript (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+20, 137726, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3816.49658203125, -626.171875, 0.69555830955505371, 3.79045414924621582, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Conscript (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+21, 54638, 1643, 9042, 10033, '0', 0, 0, 0, 0, 3797.12158203125, -639.96527099609375, 1.728608489036560058, 1.276374220848083496, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Generic Bunny (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+22, 137726, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3816.646728515625, -632.56427001953125, 0.695555329322814941, 3.002608537673950195, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Conscript (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+23, 137726, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3817.643310546875, -628.27777099609375, 0.695553004741668701, 3.728364229202270507, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Conscript (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+24, 137037, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3806.216064453125, -642.47052001953125, 1.728608489036560058, 2.866831064224243164, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tidesage (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+25, 137037, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3789.942626953125, -644.5694580078125, 1.728608250617980957, 0.504748940467834472, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tidesage (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+26, 137037, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3802.15625, -647.873291015625, 1.728608489036560058, 2.145909070968627929, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tidesage (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+27, 54638, 1643, 9042, 10033, '0', 0, 0, 0, 0, 3788.731689453125, -672.38018798828125, 0.083333335816860198, 1.20302438735961914, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Generic Bunny (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+28, 134377, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3723.644287109375, -630.08819580078125, 24.94845390319824218, 1.935096144676208496, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762); -- Slickbeak Osprey (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+28;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Skittish Seagull
(@CGUID+3, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Skittish Seagull
(@CGUID+2, 0, 0, 0, 0, 0, 1, 1, 716, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+4, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Skittish Seagull
(@CGUID+5, 0, 0, 0, 0, 0, 1, 1, 716, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+6, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Skittish Seagull
(@CGUID+7, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Slickbeak Osprey
(@CGUID+9, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+10, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+13, 0, 0, 0, 0, 0, 1, 1, 716, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+14, 0, 0, 0, 0, 0, 0, 0, 714, 0, 0, 0, 0, ''), -- Awakened Conscript
(@CGUID+15, 0, 0, 0, 0, 0, 1, 1, 716, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+16, 0, 0, 0, 0, 0, 0, 0, 714, 0, 0, 0, 0, ''), -- Awakened Conscript
(@CGUID+17, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Generic Bunny
(@CGUID+18, 0, 0, 0, 0, 0, 1, 0, 0, 15351, 0, 0, 0, ''), -- Awakened Tidesage
(@CGUID+19, 0, 0, 0, 0, 0, 0, 0, 714, 0, 0, 0, 0, ''), -- Awakened Conscript
(@CGUID+20, 0, 0, 0, 0, 0, 0, 0, 714, 0, 0, 0, 0, ''), -- Awakened Conscript
(@CGUID+21, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Generic Bunny
(@CGUID+22, 0, 0, 0, 0, 0, 0, 0, 714, 0, 0, 0, 0, ''), -- Awakened Conscript
(@CGUID+23, 0, 0, 0, 0, 0, 0, 0, 714, 0, 0, 0, 0, ''), -- Awakened Conscript
(@CGUID+24, 0, 0, 0, 0, 0, 1, 0, 0, 15351, 0, 0, 0, ''), -- Awakened Tidesage
(@CGUID+25, 0, 0, 0, 0, 0, 1, 0, 0, 15351, 0, 0, 0, ''), -- Awakened Tidesage
(@CGUID+26, 0, 0, 0, 0, 0, 1, 0, 0, 15351, 0, 0, 0, ''), -- Awakened Tidesage
(@CGUID+27, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Generic Bunny
(@CGUID+28, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Slickbeak Osprey
DELETE FROM `creature_template_addon` WHERE `entry` IN(137037, 137726, 137039);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(137037, 0, 0, 0, 0, 0, 1, 0, 0, 15351, 0, 0, 0, ''), -- 137037 (Awakened Tidesage)
(137726, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 137726 (Awakened Conscript)
(137039, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''); -- 137039 (Awakened Tideguard)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=137037 AND `DifficultyID`=0); -- Awakened Tidesage
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=137726 AND `DifficultyID`=0); -- Awakened Conscript
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=137039 AND `DifficultyID`=0); -- Awakened Tideguard
UPDATE `creature_template_difficulty` SET `StaticFlags1`=`StaticFlags1`|0x20000000, `VerifiedBuild`=54762 WHERE (`Entry`=134377 AND `DifficultyID`=0); -- Slickbeak Osprey
UPDATE `creature_template` SET `unit_flags3`=67108864 WHERE `entry`=134377; -- Slickbeak Osprey
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=137039; -- Awakened Tideguard
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 137039;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` IN(-7000344, -7000345);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(-7000344, 0, 0, 0, '', 1, 0, 100, 0, 5000, 7000, 5000, 7000, 10, 6, 273, 274, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 7 seconds (OOC) - Self: Play random emote: 6, 273, 274, 1,'),
(-7000345, 0, 0, 0, '', 1, 0, 100, 0, 5000, 7000, 5000, 7000, 10, 6, 273, 274, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 7 seconds (OOC) - Self: Play random emote: 6, 273, 274, 1,');
SET @ENTRY := 137039;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0x1|0x2, 'Awakened Tideguard - Patrol');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 3755.6814, -485.46182, 37.06345, NULL, 2314),
(@PATH, 1, 3758.3186, -488.0512, 37.839016, NULL, 0),
(@PATH, 2, 3760.5686, -490.5512, 38.589016, NULL, 0),
(@PATH, 3, 3763.0686, -493.0512, 39.339016, NULL, 0),
(@PATH, 4, 3765.3186, -495.8012, 39.589016, NULL, 0),
(@PATH, 5, 3767.8186, -498.5512, 39.589016, NULL, 0),
(@PATH, 6, 3770.5686, -501.3012, 39.339016, NULL, 0),
(@PATH, 7, 3773.5686, -504.8012, 38.339016, NULL, 0),
(@PATH, 8, 3776.5686, -508.0512, 37.589016, NULL, 0),
(@PATH, 9, 3779.0686, -510.8012, 37.089016, NULL, 0),
(@PATH, 10, 3781.0686, -512.8012, 36.339016, NULL, 0),
(@PATH, 11, 3783.0686, -515.0512, 35.589016, NULL, 0),
(@PATH, 12, 3785.0686, -516.8012, 34.839016, NULL, 0),
(@PATH, 13, 3787.3186, -518.8012, 34.089016, NULL, 0),
(@PATH, 14, 3789.8186, -521.0512, 33.089016, NULL, 0),
(@PATH, 15, 3792.5686, -523.0512, 32.089016, NULL, 0),
(@PATH, 16, 3795.0686, -525.3012, 30.339016, NULL, 0),
(@PATH, 17, 3797.3186, -527.3012, 29.339016, NULL, 0),
(@PATH, 18, 3799.8186, -529.5512, 28.839016, NULL, 0),
(@PATH, 19, 3802.0686, -531.8012, 28.089016, NULL, 0),
(@PATH, 20, 3804.3186, -534.3012, 27.339016, NULL, 0),
(@PATH, 21, 3806.8186, -536.5512, 26.089016, NULL, 0),
(@PATH, 22, 3808.8186, -539.0512, 25.339016, NULL, 0),
(@PATH, 23, 3810.8186, -541.8012, 24.339016, NULL, 0),
(@PATH, 24, 3812.8186, -544.8012, 23.589016, NULL, 0),
(@PATH, 25, 3814.3186, -547.5512, 22.839016, NULL, 0),
(@PATH, 26, 3815.3186, -550.3012, 21.839016, NULL, 0),
(@PATH, 27, 3816.0686, -553.3012, 21.089016, NULL, 0),
(@PATH, 28, 3817.0686, -556.5512, 20.089016, NULL, 0),
(@PATH, 29, 3817.8186, -559.3012, 19.339016, NULL, 0),
(@PATH, 30, 3818.0686, -562.3012, 18.339016, NULL, 0),
(@PATH, 31, 3818.0686, -565.5512, 17.589016, NULL, 0),
(@PATH, 32, 3817.8186, -568.8012, 16.589016, NULL, 0),
(@PATH, 33, 3817.3186, -572.0512, 15.589016, NULL, 0),
(@PATH, 34, 3816.8186, -575.8012, 14.339016, NULL, 0),
(@PATH, 35, 3816.0686, -579.3012, 13.339016, NULL, 0),
(@PATH, 36, 3815.3186, -582.5512, 12.089016, NULL, 0),
(@PATH, 37, 3814.4558, -586.6406, 10.614583, NULL, 2314);
UPDATE `creature` SET `position_x`=3755.6814, `position_y`=-485.46182, `position_z`=37.06345, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`=@CGUID+0;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+0;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+0, @PATH, 1);
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, 288430, 1643, 9042, 9626, '0', 0, 0, 3790.704833984375, -637.79864501953125, 3.032180309295654296, 2.919285058975219726, 0, 0, 0.993828773498535156, 0.11092504858970642, 120, 255, 1, 54762), -- Scroll of Tides (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@OGUID+1, 288430, 1643, 9042, 9626, '0', 0, 0, 3791.48095703125, -643.578125, 3.032178878784179687, 3.719591856002807617, 0, 0, -0.95852947235107421, 0.284993380308151245, 120, 255, 1, 54762), -- Scroll of Tides (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@OGUID+2, 288430, 1643, 9042, 9626, '0', 0, 0, 3801.54248046875, -646.890625, 3.032178878784179687, 5.24310302734375, 0, 0, -0.49691581726074218, 0.86779874563217163, 120, 255, 1, 54762), -- Scroll of Tides (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@OGUID+3, 288430, 1643, 9042, 9626, '0', 0, 0, 3804.646728515625, -641.88714599609375, 3.032178878784179687, 6.047809600830078125, 0, 0, -0.1174163818359375, 0.993082761764526367, 120, 255, 1, 54762); -- Scroll of Tides (Area: Tidebreak Foothills - Difficulty: 0) Creat
--
DELETE FROM `creature_model_info` WHERE `DisplayID`=90814;
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(90814, 0.908434152603149414, 1.5, 0, 54762);
UPDATE `creature_model_info` SET `VerifiedBuild`=54762 WHERE `DisplayID` IN (6295, 30255, 42855, 83302, 1939, 83301, 86396, 38380, 65631, 981, 75365, 29756, 82550, 85468, 85471, 85470, 85467, 88679, 31773, 85469, 85466, 85339, 21936, 41326, 36357, 11686, 79043, 79042, 78928, 87594, 36700, 328, 79040, 64016, 82001, 88675, 88678, 58380, 83929, 4626, 36499, 88677, 79041, 83932, 84083, 76601);
UPDATE `creature_model_info` SET `BoundingRadius`=0.347222000360488891, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=85204;
UPDATE `creature_model_info` SET `BoundingRadius`=1.050927042961120605, `CombatReach`=1.346153855323791503, `VerifiedBuild`=54762 WHERE `DisplayID`=75383;
UPDATE `creature_model_info` SET `BoundingRadius`=0.25, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=85192;
UPDATE `creature_model_info` SET `BoundingRadius`=1, `VerifiedBuild`=54762 WHERE `DisplayID`=24964;
UPDATE `creature_model_info` SET `BoundingRadius`=2.788770675659179687, `CombatReach`=1, `VerifiedBuild`=54762 WHERE `DisplayID`=75702;
UPDATE `creature_model_info` SET `BoundingRadius`=1.399999976158142089, `CombatReach`=1.75, `VerifiedBuild`=54762 WHERE `DisplayID`=32024;
UPDATE `creature_model_info` SET `BoundingRadius`=58.802764892578125, `CombatReach`=11, `VerifiedBuild`=54762 WHERE `DisplayID`=85053;
UPDATE `creature_model_info` SET `BoundingRadius`=1.366205096244812011, `CombatReach`=1.75, `VerifiedBuild`=54762 WHERE `DisplayID`=87603;
UPDATE `creature_model_info` SET `BoundingRadius`=1.32942509651184082, `CombatReach`=1.60000002384185791, `VerifiedBuild`=54762 WHERE `DisplayID`=81269;
UPDATE `creature_model_info` SET `BoundingRadius`=0.546643853187561035, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=85200;
UPDATE `creature_model_info` SET `BoundingRadius`=1.288985729217529296, `CombatReach`=2, `VerifiedBuild`=54762 WHERE `DisplayID`=27849;
UPDATE `creature_model_info` SET `BoundingRadius`=3.01638031005859375, `VerifiedBuild`=54762 WHERE `DisplayID`=90852;
@@ -1,337 +0,0 @@
DELETE FROM `creature` WHERE `guid` IN (450485, 450492, 450480, 450462, 450391, 450612, 450482, 450619, 450486, 450616); -- Reusable guids
UPDATE `creature` SET `equipment_id` = 0 WHERE `guid` IN (450036, 450039, 450620, 450493);
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=60245 AND `DifficultyID`=0); -- Brewer Zhen
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=60248 AND `DifficultyID`=0); -- Chia-hui Autumnleaf
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=60253 AND `DifficultyID`=0); -- Brewer Lin
-- Waypoints
-- Fe-Feng Hozen 1
SET @ENTRY := 57205;
SET @PATHOFFSET := 7;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 5');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1244.173, 3667.366, 91.5778, NULL, 0),
(@PATH, 1, 1224.637, 3659.807, 92.90532, NULL, 0),
(@PATH, 2, 1227.151, 3646.648, 95.53232, NULL, 0),
(@PATH, 3, 1237.653, 3642.382, 93.94682, NULL, 0),
(@PATH, 4, 1239.809, 3635.231, 95.35127, NULL, 0),
(@PATH, 5, 1227.151, 3646.648, 95.53232, NULL, 0),
(@PATH, 6, 1224.637, 3659.807, 92.90532, NULL, 0),
(@PATH, 7, 1234.964, 3671.273, 92.63132, NULL, 0);
UPDATE `creature` SET `position_x`= 1244.173, `position_y`= 3667.366, `position_z`= 91.5778, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450394;
DELETE FROM `creature_addon` WHERE `guid`= 450394;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450394, @PATH, 1);
-- Fe-Feng Hozen 2
SET @ENTRY := 57205;
SET @PATHOFFSET := 8;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 6');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1269.55, 3727.061, 91.53522, NULL, 0),
(@PATH, 1, 1256.146, 3725.214, 92.103, NULL, 0),
(@PATH, 2, 1244.363, 3726.153, 93.97342, NULL, 0),
(@PATH, 3, 1242.783, 3735.703, 93.94279, NULL, 0),
(@PATH, 4, 1244.597, 3741.183, 93.36487, NULL, 0),
(@PATH, 5, 1254.595, 3739.469, 90.5905, NULL, 402),
(@PATH, 6, 1242.783, 3735.703, 93.94279, NULL, 0),
(@PATH, 7, 1244.363, 3726.153, 93.97342, NULL, 0),
(@PATH, 8, 1256.146, 3725.214, 92.103, NULL, 0),
(@PATH, 9, 1269.55, 3727.061, 91.53522, NULL, 0),
(@PATH, 10, 1278.092, 3720.293, 90.02708, NULL, 0),
(@PATH, 11, 1284.429, 3705.247, 86.14371, NULL, 0),
(@PATH, 12, 1291.422, 3704.616, 86.2205, NULL, 14),
(@PATH, 13, 1278.092, 3720.293, 90.02708, NULL, 0);
UPDATE `creature` SET `position_x`= 1190.519, `position_y`= 3745.292, `position_z`= 93.05916, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450494;
DELETE FROM `creature_addon` WHERE `guid`= 450494;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450494, @PATH, 1);
-- Fe-Feng Hozen 3
SET @ENTRY := 57205;
SET @PATHOFFSET := 9;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 7');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1191.799, 3687.529, 99.47076, NULL, 0),
(@PATH, 1, 1186.318, 3678.026, 99.45316, NULL, 0),
(@PATH, 2, 1197.944, 3672.267, 97.57945, NULL, 138),
(@PATH, 3, 1186.318, 3678.026, 99.45316, NULL, 0),
(@PATH, 4, 1191.799, 3687.529, 99.47076, NULL, 0),
(@PATH, 5, 1202.731, 3694.034, 96.55957, NULL, 0),
(@PATH, 6, 1209.949, 3697.479, 94.91675, NULL, 0),
(@PATH, 7, 1219.832, 3699.931, 93.70534, NULL, 107),
(@PATH, 8, 1202.734, 3694.031, 96.57874, NULL, 0);
UPDATE `creature` SET `position_x`= 1191.799, `position_y`= 3687.529, `position_z`= 99.47076, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450529;
DELETE FROM `creature_addon` WHERE `guid`= 450529;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450529, @PATH, 1);
-- Fe-Feng Hozen 4
SET @ENTRY := 57205;
SET @PATHOFFSET := 10;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 8');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1182.804, 3764.365, 91.73024, NULL, 0),
(@PATH, 1, 1188.118, 3772.423, 89.70108, NULL, 0),
(@PATH, 2, 1197.42, 3767.958, 89.47875, NULL, 0),
(@PATH, 3, 1200.476, 3754.757, 90.39675, NULL, 0),
(@PATH, 4, 1198.905, 3745.451, 91.50883, NULL, 0),
(@PATH, 5, 1190.519, 3745.292, 93.05916, NULL, 283),
(@PATH, 6, 1200.476, 3754.757, 90.39675, NULL, 0),
(@PATH, 7, 1197.42, 3767.958, 89.47875, NULL, 0),
(@PATH, 8, 1188.118, 3772.423, 89.70108, NULL, 0),
(@PATH, 9, 1182.804, 3764.365, 91.73024, NULL, 0),
(@PATH, 10, 1172.188, 3745.387, 93.76577, NULL, 0),
(@PATH, 11, 1167.257, 3730.832, 98.12619, NULL, 0),
(@PATH, 12, 1168.033, 3719.603, 99.47594, NULL, 276),
(@PATH, 13, 1172.188, 3745.387, 93.76577, NULL, 0);
UPDATE `creature` SET `position_x`= 1182.804, `position_y`= 3764.365, `position_z`= 91.73024, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450507;
DELETE FROM `creature_addon` WHERE `guid`= 450507;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450507, @PATH, 1);
-- Fe-Feng Hozen 5
SET @ENTRY := 57205;
SET @PATHOFFSET := 11;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 9');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1293.873, 3755.62, 82.17702, NULL, 0),
(@PATH, 1, 1282.594, 3757.129, 85.56174, NULL, 0),
(@PATH, 2, 1281.186, 3748.994, 88.807, NULL, 0),
(@PATH, 3, 1281.755, 3739.134, 89.93045, NULL, 0),
(@PATH, 4, 1298.151, 3731.044, 81.84277, NULL, 361),
(@PATH, 5, 1281.755, 3739.134, 89.93045, NULL, 0),
(@PATH, 6, 1281.186, 3748.994, 88.807, NULL, 0),
(@PATH, 7, 1282.594, 3757.129, 85.56174, NULL, 0),
(@PATH, 8, 1293.873, 3755.62, 82.17702, NULL, 0),
(@PATH, 9, 1287.311, 3762.478, 81.80273, NULL, 0),
(@PATH, 10, 1273.207, 3768.954, 83.10479, NULL, 0),
(@PATH, 11, 1247.661, 3763.284, 89.44864, NULL, 0),
(@PATH, 12, 1238.859, 3764.387, 90.39224, NULL, 355),
(@PATH, 13, 1273.207, 3768.954, 83.10479, NULL, 0),
(@PATH, 14, 1287.311, 3762.478, 81.80273, NULL, 0);
UPDATE `creature` SET `position_x`= 1293.873, `position_y`= 3755.62, `position_z`= 82.17702, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450509;
DELETE FROM `creature_addon` WHERE `guid`= 450509;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450509, @PATH, 1);
-- Fe-Feng Hozen 6
SET @ENTRY := 57205;
SET @PATHOFFSET := 12;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 10');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1130.002, 3694.614, 102.9448, NULL, 0),
(@PATH, 1, 1144.3, 3693.514, 104.1493, NULL, 0),
(@PATH, 2, 1151.035, 3696.048, 103.3115, NULL, 280),
(@PATH, 3, 1130.002, 3694.614, 102.9448, NULL, 0),
(@PATH, 4, 1131.681, 3681.453, 103.1755, NULL, 0),
(@PATH, 5, 1135.257, 3667.392, 101.0022, NULL, 0),
(@PATH, 6, 1143.129, 3652.982, 105.1957, NULL, 3020),
(@PATH, 7, 1131.681, 3681.453, 103.1755, NULL, 0);
UPDATE `creature` SET `position_x`= 1130.002, `position_y`= 3694.614, `position_z`= 102.9448, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450515;
DELETE FROM `creature_addon` WHERE `guid`= 450515;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450515, @PATH, 1);
-- Amberleaf Scamp 1
SET @ENTRY := 54130;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Amberleaf Scamp Cosmetic waypoint 1');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1277.88, 3543.563, 93.56727, NULL, 0),
(@PATH, 1, 1269.757, 3550.408, 95.10683, NULL, 0),
(@PATH, 2, 1259.813, 3557.848, 99.41698, NULL, 0),
(@PATH, 3, 1253.368, 3559.958, 101.3789, NULL, 0);
DELETE FROM `creature_addon` WHERE `guid`= 450286;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450286, @PATH, 1);
DELETE FROM `smart_scripts` WHERE `entryorguid`= -450286 AND `source_type`= 0;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = 5413000;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450286, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 80, (54130 * 100), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Just Created - Self: Start timed action list'),
(-450286, 0, 1, 0, 58, 0, 100, 0, 3, 5413000, 0, 0, 0, '', 41, 3500, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Waypoint Finished - Self: Despawn after 3,5 seconds'),
((54130 * 100), 9, 0, 0, 0, 0, 100, 0, 1000, 3000, 0, 0, 0, '', 85, 109137, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Between 1 and 3 seconds - Self: Cast to Self spell 109137'),
((54130 * 100), 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5413000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Self: Start path #5413000, run, do not repeat, Passive');
-- Amberleaf Scamp 2
SET @ENTRY := 54130;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Amberleaf Scamp Cosmetic waypoint 2');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1292.674, 3502.029, 102.3115, NULL, 0),
(@PATH, 1, 1299.087, 3493.448, 106.8531, NULL, 0),
(@PATH, 2, 1304.938, 3489.859, 109.5571, NULL, 0),
(@PATH, 3, 1318.639, 3477.482, 112.7021, NULL, 0),
(@PATH, 4, 1328.307, 3465.213, 114.6394, NULL, 0),
(@PATH, 5, 1327.819, 3459.954, 117.4277, NULL, 0),
(@PATH, 6, 1330.396, 3451.8, 120.444, NULL, 0);
DELETE FROM `creature_addon` WHERE `guid`= 450284;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450284, @PATH, 1);
DELETE FROM `smart_scripts` WHERE `entryorguid`= -450284 AND `source_type`= 0;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = 5413001;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450284, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 80, (54130 * 100) + 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Just Created - Self: Start timed action list'),
(-450284, 0, 1, 0, 58, 0, 100, 0, 6, 5413001, 0, 0, 0, '', 41, 3500, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Waypoint Finished - Self: Despawn after 3,5 seconds'),
((54130 * 100) + 1, 9, 0, 0, 0, 0, 100, 0, 1000, 3000, 0, 0, 0, '', 85, 109137, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Between 1 and 3 seconds - Self: Cast to Self spell 109137'),
((54130 * 100) + 1, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5413001, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Self: Start path #5413000, run, do not repeat, Passive');
-- Amberleaf Scamp 3
SET @ENTRY := 54130;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Amberleaf Scamp Cosmetic waypoint 3');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1312.16, 3514.234, 103.2949, NULL, 0),
(@PATH, 1, 1320.901, 3511.293, 103.7662, NULL, 0),
(@PATH, 2, 1333.394, 3508.494, 102.8783, NULL, 0);
DELETE FROM `creature_addon` WHERE `guid`= 450297;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450297, @PATH, 1);
DELETE FROM `smart_scripts` WHERE `entryorguid`= -450297 AND `source_type`= 0;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = 5413002;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450297, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 80, (54130 * 100) + 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Just Created - Self: Start timed action list'),
(-450297, 0, 1, 0, 58, 0, 100, 0, 2, 5413002, 0, 0, 0, '', 41, 3500, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Waypoint Finished - Self: Despawn after 3,5 seconds'),
((54130 * 100) + 2, 9, 0, 0, 0, 0, 100, 0, 1000, 3000, 0, 0, 0, '', 85, 109137, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Between 1 and 3 seconds - Self: Cast to Self spell 109137'),
((54130 * 100) + 2, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5413002, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Self: Start path #5413000, run, do not repeat, Passive');
-- Amberleaf Scamp 4
SET @ENTRY := 54130;
SET @PATHOFFSET := 3;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Amberleaf Scamp Cosmetic waypoint 4');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1314.536, 3541.405, 99.65874, NULL, 0),
(@PATH, 1, 1338.78, 3543.706, 94.42071, NULL, 0);
DELETE FROM `creature_addon` WHERE `guid`= 450296;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450296, @PATH, 1);
DELETE FROM `smart_scripts` WHERE `entryorguid`= -450296 AND `source_type`= 0;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = 5413003;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450296, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 80, (54130 * 100) + 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Just Created - Self: Start timed action list'),
(-450296, 0, 1, 0, 58, 0, 100, 0, 1, 5413003, 0, 0, 0, '', 41, 3500, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Waypoint Finished - Self: Despawn after 3,5 seconds'),
((54130 * 100) + 3, 9, 0, 0, 0, 0, 100, 0, 1000, 3000, 0, 0, 0, '', 85, 109137, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Between 1 and 3 seconds - Self: Cast to Self spell 109137'),
((54130 * 100) + 3, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5413003, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Self: Start path #5413000, run, do not repeat, Passive');
-- SAI
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=60245; -- Brewer Zhen
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=60248; -- Chia-hui Autumnleaf
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=60253; -- Brewer Lin
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=54130; -- Amberleaf Scamp
DELETE FROM `smart_scripts` WHERE `entryorguid`=60245 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(60245, 0, 0, 0, '', 1, 0, 100, 0, 2000, 10000, 2000, 10000, 0, '', 87, 6024500, 6024501, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Every 2 to 10 seconds - Brewer Zhen - OOC - Random Action list');
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (6024500, 6024501) AND `source_type`=9;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(6024500, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 10, 1, 5, 6, 25, 11, 273, 274, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On Actionlist - Self: Play random emote: 1, 5, 6, 25, 11, 273, 274'),
(6024501, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 85, 56745, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On Actionlist - Self: Cast to Self spell 56745');
DELETE FROM `smart_scripts` WHERE `entryorguid`=60248 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(60248, 0, 0, 0, '', 1, 0, 100, 0, 2000, 10000, 2000, 10000, 0, '', 87, 6024800, 6024801, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Every 2 to 10 seconds - Chia-hui Autumnleaf - OOC - Random Action list');
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (6024800, 6024801) AND `source_type`=9;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(6024800, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 10, 1, 5, 6, 25, 11, 273, 274, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On Actionlist - Self: Play random emote: 1, 5, 6, 25, 11, 273, 274'),
(6024801, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 85, 56745, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On Actionlist - Self: Cast to Self spell 56745');
DELETE FROM `smart_scripts` WHERE `entryorguid`=60253 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(60253, 0, 0, 0, '', 1, 0, 100, 0, 2000, 10000, 2000, 10000, 0, '', 87, 6025300, 6025301, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Every 2 to 10 seconds - Brewer Lin - OOC - Random Action list');
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (6025300, 6025301) AND `source_type`=9;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(6025300, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 10, 1, 5, 6, 25, 11, 273, 274, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On Actionlist - Self: Play random emote: 1, 5, 6, 25, 11, 273, 274'),
(6025301, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 85, 56745, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On Actionlist - Self: Cast to Self spell 56745');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450514 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450514, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450513 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450513, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450501 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450501, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450504 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450504, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450039 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450039, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450036 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450036, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
@@ -1,17 +0,0 @@
SET @OGUID := 7000167;
DELETE FROM `gameobject` WHERE `guid`=@OGUID+0;
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, 320950, 1643, 9042, 9579, '0', 12812, 0, 3523.903564453125, -476.6163330078125, -3.33042573928833007, 1.7016984224319458, 0, 0, 0.751840591430664062, 0.659344911575317382, 120, 255, 1, 54762); -- The Abyssal Melody (Area: Tidecross - Difficulty: 0) CreateObject1
DELETE FROM `phase_name` WHERE `ID`=12812;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12812, 'Cosmetic - The Abyssal Melody in Port Fogtide');
DELETE FROM `phase_area` WHERE `PhaseId`=12812;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9042, 12812, 'Cosmetic - The Abyssal Melody in Port Fogtide');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12812));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12812, 9042, 0, 0, 9, 0, 54721, 0, 0, '', 1, 'Player doesn\'t have quest I\'m Too Old for This Ship (54721) active');
@@ -1,206 +0,0 @@
SET @CGUID := 7000364;
SET @OGUID := 7000168;
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+25;
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, 295051, 1643, 9042, 9579, '0', 0, 0, 3441.21875, -421.598876953125, 7.794084072113037109, 1.125736594200134277, 0, 0, 0.533614158630371093, 0.845728039741516113, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+1, 295050, 1643, 9042, 9579, '0', 0, 0, 3443.36328125, -421.15594482421875, 7.794084072113037109, 2.687806606292724609, 0, 0, 0.974370002746582031, 0.224951311945915222, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+2, 295049, 1643, 9042, 9579, '0', 0, 0, 3445.842041015625, -414.021148681640625, 7.794084072113037109, 4.136432647705078125, 0, 0, -0.87881660461425781, 0.477159708738327026, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+3, 294711, 1643, 9042, 9579, '0', 0, 0, 3349.053955078125, -344.736114501953125, 15.80430126190185546, 2.146752834320068359, 0, 0, 0.878816604614257812, 0.477159708738327026, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+4, 295048, 1643, 9042, 9579, '0', 0, 0, 3444.24169921875, -416.453125, 7.794084072113037109, 1.064649581909179687, 0, 0, 0.507537841796875, 0.861629426479339599, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+5, 295055, 1643, 9042, 9579, '0', 0, 0, 3443.762939453125, -425.733795166015625, 7.823177337646484375, 4.302238941192626953, 0, 0, -0.83628559112548828, 0.5482940673828125, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+6, 295054, 1643, 9042, 9579, '0', 0, 0, 3441.719970703125, -424.44921875, 7.823177337646484375, 4.188792228698730468, 0, 0, -0.86602497100830078, 0.50000077486038208, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+7, 295053, 1643, 9042, 9579, '0', 0, 0, 3440.671875, -423.75396728515625, 7.823177337646484375, 4.00553131103515625, 0, 0, -0.9081430435180664, 0.418660014867782592, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+8, 295052, 1643, 9042, 9579, '0', 0, 0, 3442.56787109375, -419.377471923828125, 7.794084072113037109, 4.101525306701660156, 0, 0, -0.88701057434082031, 0.461749136447906494, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+9, 294713, 1643, 9042, 9579, '0', 0, 0, 3342.913330078125, -338.9132080078125, 15.80521011352539062, 2.12057352066040039, 0, 0, 0.872495651245117187, 0.488621890544891357, 120, 255, 1, 54762), -- Chair (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+10, 294712, 1643, 9042, 9579, '0', 0, 0, 3347.741455078125, -340.125, 15.80521011352539062, 4.101525306701660156, 0, 0, -0.88701057434082031, 0.461749136447906494, 120, 255, 1, 54762), -- Stove (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+11, 295057, 1643, 9042, 9579, '0', 0, 0, 3451.556396484375, -410.005523681640625, 7.698925018310546875, 5.866266250610351562, 0, 0, -0.20695304870605468, 0.97835087776184082, 120, 255, 1, 54762), -- Fire (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+12, 295056, 1643, 9042, 9579, '0', 0, 0, 3442.771728515625, -425.065277099609375, 7.823177337646484375, 4.127707481384277343, 0, 0, -0.880889892578125, 0.473321229219436645, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+13, 296877, 1643, 9042, 9579, '0', 0, 0, 3317.94970703125, -328.380218505859375, 13.34244823455810546, 3.970627307891845703, 0, 0, -0.91531085968017578, 0.402748137712478637, 120, 255, 1, 54762), -- Mailbox (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+14, 291132, 1643, 9042, 9579, '0', 0, 0, 3426.7509765625, -448.95660400390625, 10.82904052734375, 5.013007164001464843, 0, 0, -0.59324932098388671, 0.805018782615661621, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+15, 292545, 1643, 9042, 9579, '0', 0, 0, 3243.585205078125, -521.7569580078125, 1.267088532447814941, 4.341106414794921875, 0, 0, -0.82547283172607421, 0.564441800117492675, 120, 255, 1, 54762), -- Weapon Rack (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+16, 291132, 1643, 9042, 9579, '0', 0, 0, 3405.470458984375, -440.880218505859375, 13.84467887878417968, 1.691165447235107421, 0, 0, 0.748357772827148437, 0.663295328617095947, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+17, 291132, 1643, 9042, 9579, '0', 0, 0, 3426.98779296875, -447.786468505859375, 10.87959575653076171, 4.05368661880493164, 0, 0, -0.89780044555664062, 0.440402477979660034, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+18, 291132, 1643, 9042, 9579, '0', 0, 0, 3406.9140625, -443.064239501953125, 13.85734844207763671, 1.691165447235107421, 0, 0, 0.748357772827148437, 0.663295328617095947, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+19, 291132, 1643, 9042, 9579, '0', 0, 0, 3405.163330078125, -442.229156494140625, 13.86177253723144531, 0.333484798669815063, 0, 0, 0.165970802307128906, 0.98613065481185913, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+20, 291132, 1643, 9042, 9579, '0', 0, 0, 3407.224853515625, -440.857635498046875, 13.83086967468261718, 2.694235801696777343, 0, 0, 0.975088119506835937, 0.221817851066589355, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+21, 277419, 1643, 9042, 9579, '0', 0, 0, 2949.50439453125, -99.939239501953125, -0.15199999511241912, 4.412836074829101562, 0, 0, -0.8047027587890625, 0.593677937984466552, 120, 255, 1, 54762), -- Cylinder Collision (2.5 Scale) (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+22, 298912, 1643, 9042, 9579, '0', 0, 0, 3440.279541015625, -424.914947509765625, 9.003243446350097656, 0.65004122257232666, 0, 0, 0.31932830810546875, 0.947644174098968505, 120, 255, 1, 54762), -- Spring-Loaded Spikes (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+23, 291132, 1643, 9042, 9579, '0', 0, 0, 3425.233642578125, -447.80902099609375, 10.89545059204101562, 0.114566504955291748, 0, 0, 0.057251930236816406, 0.998359739780426025, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+24, 291132, 1643, 9042, 9579, '0', 0, 0, 3424.92626953125, -449.157989501953125, 10.89236164093017578, 1.745003461837768554, 0, 0, 0.765939712524414062, 0.64291238784790039, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+25, 292545, 1643, 9042, 9579, '0', 0, 0, 3248.560791015625, -569.76910400390625, 15.49766731262207031, 5.017819404602050781, 0, 0, -0.59131050109863281, 0.806443989276885986, 120, 255, 1, 54762); -- Weapon Rack (Area: Tidecross - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+25;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+0, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+1, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+2, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+4, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+5, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+6, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+7, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+8, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+11, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Fire
(@OGUID+12, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+22, 0, 0, 0, 1, 10427, 0); -- Spring-Loaded Spikes
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+47;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 134721, 1643, 9042, 9579, '0', 0, 0, 0, 1, 3385.50439453125, -426.213531494140625, 13.984375, 5.759586334228515625, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Stalwart Revolutionary (Area: Tidecross - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+1, 126642, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3301.605712890625, -407.547332763671875, -0.92706239223480224, 3.90489506721496582, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crab (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+2, 138280, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3297.99755859375, -410.6275634765625, -1.85077071189880371, 2.114041328430175781, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+3, 130077, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3221.817626953125, -357.66375732421875, -2.22753810882568359, 0.924048066139221191, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Hermit Crab (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+4, 143036, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3282.886474609375, -374.376708984375, 1.735674500465393066, 0.61657869815826416, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+5, 131376, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3293.455078125, -335.76104736328125, 16.61583137512207031, 2.62044072151184082, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Honey Bee (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+6, 54638, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3373.75439453125, -412.697906494140625, 11.97694587707519531, 2.518779993057250976, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Generic Bunny (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+7, 142609, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3345.7041015625, -340.84027099609375, 15.88854312896728515, 0.272221922874450683, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Handyman Gareth (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+8, 126642, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3274.7255859375, -381.170379638671875, -0.22728478908538818, 3.094667911529541015, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crab (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+9, 126642, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3313.872314453125, -421.67401123046875, 0.253625929355621337, 2.498286962509155273, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crab (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+10, 134696, 1643, 9042, 9579, '0', 0, 0, 0, 1, 3346.368896484375, -378.435760498046875, 18.62731361389160156, 1.479342818260192871, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Marla Featherfoot (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+11, 130077, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3275.889404296875, -375.01885986328125, 0.913532853126525878, 3.640160799026489257, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Hermit Crab (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+12, 143036, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3328.483642578125, -433.258209228515625, -0.67110049724578857, 6.25389719009399414, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+13, 126642, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3210.4443359375, -359.988189697265625, -3.14969778060913085, 5.316576957702636718, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crab (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+14, 136422, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3289.74609375, -327.729034423828125, 13.91765403747558593, 3.27478957176208496, 120, 10, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+15, 136422, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3361.510986328125, -429.319305419921875, 12.359130859375, 6.030802726745605468, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+16, 134623, 1643, 9042, 9579, '0', 0, 0, 0, 1, 3380.854248046875, -420.930572509765625, 12.76978397369384765, 5.354724407196044921, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Taelia (Area: Tidecross - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+17, 126642, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3237.994140625, -353.96844482421875, -0.35828664898872375, 3.603056907653808593, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crab (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+18, 142194, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3250.69873046875, -411.104156494140625, 12.97412776947021484, 2.146619081497192382, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+19, 134377, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3272.033447265625, -338.469207763671875, 30.24342536926269531, 0.020568065345287323, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Slickbeak Osprey (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+20, 142168, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3247.850341796875, -326.96929931640625, 11.3204050064086914, 3.202183961868286132, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Squirrel (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+21, 138280, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3230.534912109375, -352.71588134765625, -0.10200726985931396, 3.726888179779052734, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+22, 142634, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3335.232666015625, -372.78125, 13.08397769927978515, 1.577361583709716796, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Sister Alison (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+23, 143036, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3311.38525390625, -409.27252197265625, 1.420114517211914062, 3.4574737548828125, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+24, 134723, 1643, 9042, 9579, '0', 0, 0, 0, 1, 3378.085205078125, -421.619781494140625, 12.48090267181396484, 5.637413501739501953, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Trueheart Marksman (Area: Tidecross - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+25, 130077, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3220.886962890625, -418.09332275390625, -29.7011795043945312, 4.630242824554443359, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Hermit Crab (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+26, 138280, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3263.96240234375, -360.572967529296875, -0.95921695232391357, 1.309251070022583007, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+27, 143038, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3303.398193359375, -362.05145263671875, 13.24366474151611328, 1.140060782432556152, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Honey Bee (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+28, 136422, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3299.60400390625, -366.361572265625, 9.207753181457519531, 0.163060203194618225, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+29, 138280, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3210.666748046875, -334.50482177734375, 1.714617490768432617, 0.824052929878234863, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+30, 142194, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3289.361083984375, -323.368072509765625, 16.2221221923828125, 4.085919857025146484, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+31, 142199, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3370.92919921875, -285.589752197265625, 67.8933258056640625, 4.735934257507324218, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Alpine Hawk (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+32, 134377, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3209.2216796875, -509.387786865234375, 34.58963775634765625, 2.333814382553100585, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Slickbeak Osprey (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+33, 134377, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3419.518310546875, -452.075897216796875, 24.73954010009765625, 2.244010210037231445, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Slickbeak Osprey (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+34, 134721, 1643, 9042, 9579, '0', 0, 0, 0, 1, 3393.317626953125, -424.90972900390625, 13.94179153442382812, 5.567600250244140625, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Stalwart Revolutionary (Area: Tidecross - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+35, 142168, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3398.8349609375, -383.160980224609375, 15.22425365447998046, 3.427221536636352539, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Squirrel (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+36, 142194, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3289.229248046875, -400.2413330078125, 12.06528377532958984, 4.666686534881591796, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidecross - Difficulty: 0) CreateObject2
(@CGUID+37, 142168, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3285.26611328125, -287.03338623046875, 24.55756187438964843, 0.348952054977416992, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Squirrel (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+38, 142168, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3389.5830078125, -336.458984375, 27.79191970825195312, 4.149394989013671875, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Squirrel (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+39, 136422, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3314.965087890625, -286.88104248046875, 26.78862953186035156, 2.047563552856445312, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+40, 141064, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3344.130859375, -286.04913330078125, 32.71361160278320312, 4.950742244720458984, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Highland Hare (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+41, 136422, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3375.09521484375, -291.60174560546875, 35.71710586547851562, 1.278772473335266113, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+42, 54638, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3406.584228515625, -442.161468505859375, 13.93338203430175781, 2.441189289093017578, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Generic Bunny (Area: Tidecross - Difficulty: 0) CreateObject1 (Auras: 264700 - Bonestorm)
(@CGUID+43, 141064, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3416.94189453125, -305.246490478515625, 39.27288436889648437, 1.849901080131530761, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Highland Hare (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+44, 136422, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3396.633056640625, -268.82843017578125, 39.65697479248046875, 2.348807334899902343, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+45, 142168, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3354.30908203125, -254.696182250976562, 39.20532608032226562, 5.19281768798828125, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Squirrel (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+46, 141064, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3381.385498046875, -254.387832641601562, 41.39926528930664062, 5.033213615417480468, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Highland Hare (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+47, 141064, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3306.25, -250, 33.9922637939453125, 5.399059295654296875, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762); -- Highland Hare (Area: Tidecross - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+47;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 0, 1, 0, 333, 0, 0, 0, 0, ''), -- Stalwart Revolutionary
(@CGUID+5, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Honey Bee
(@CGUID+7, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, ''), -- Handyman Gareth
(@CGUID+10, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- Marla Featherfoot
(@CGUID+16, 0, 0, 0, 0, 0, 1, 0, 333, 0, 0, 0, 0, ''), -- Taelia
(@CGUID+18, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Skittish Seagull
(@CGUID+19, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Slickbeak Osprey
(@CGUID+22, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, ''), -- Sister Alison
(@CGUID+24, 0, 0, 0, 0, 0, 2, 0, 214, 0, 0, 0, 0, ''), -- Trueheart Marksman
(@CGUID+27, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Honey Bee
(@CGUID+30, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Skittish Seagull
(@CGUID+32, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Slickbeak Osprey
(@CGUID+33, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Slickbeak Osprey
(@CGUID+34, 0, 0, 0, 0, 0, 1, 0, 333, 0, 0, 0, 0, ''), -- Stalwart Revolutionary
(@CGUID+36, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Skittish Seagull
DELETE FROM `creature_template_addon` WHERE `entry` IN (142199 /*142199 (Alpine Hawk)*/, 143038 /*143038 (Honey Bee)*/, 134723 /*134723 (Trueheart Marksman)*/, 142634 /*142634 (Sister Alison)*/, 134377 /*134377 (Slickbeak Osprey)*/, 134696 /*134696 (Marla Featherfoot)*/, 142609 /*142609 (Handyman Gareth)*/, 131376 /*131376 (Honey Bee)*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(142199, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 142199 (Alpine Hawk)
(143038, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 143038 (Honey Bee)
(134723, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, ''), -- 134723 (Trueheart Marksman)
(142634, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, ''), -- 142634 (Sister Alison)
(134377, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 134377 (Slickbeak Osprey)
(134696, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- 134696 (Marla Featherfoot)
(142609, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, ''), -- 142609 (Handyman Gareth)
(131376, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- 131376 (Honey Bee)
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=134696 AND `MenuID`=6944) OR (`CreatureID`=142609 AND `MenuID`=23171) OR (`CreatureID`=142634 AND `MenuID`=23172);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(134696, 6944, 54762), -- Marla Featherfoot
(142609, 23171, 54762), -- Handyman Gareth
(142634, 23172, 54762); -- Sister Alison
DELETE FROM `npc_vendor` WHERE (`entry`=142609 AND `item`=163203 AND `ExtendedCost`=6426 AND `type`=1) OR (`entry`=142609 AND `item`=3857 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=18567 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=160298 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=3466 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=2880 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=5956 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=2901 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=6219 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=160502 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=163569 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=183952 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=180733 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=159875 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=160554 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=159871 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=163075 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=159869 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=159898 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=159868 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=159867 AND `ExtendedCost`=0 AND `type`=1);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(142609, 13, 163203, 0, 6426, 1, 0, 0, 54762), -- Hypersensitive Azeritometer Sensor
(142609, 12, 3857, 0, 0, 1, 0, 0, 54762), -- Coal
(142609, 11, 18567, 0, 0, 1, 0, 0, 54762), -- Elemental Flux
(142609, 10, 160298, 0, 0, 1, 0, 0, 54762), -- Durable Flux
(142609, 9, 3466, 0, 0, 1, 0, 0, 54762), -- Strong Flux
(142609, 8, 2880, 0, 0, 1, 0, 0, 54762), -- Weak Flux
(142609, 7, 5956, 0, 0, 1, 0, 0, 54762), -- Blacksmith Hammer
(142609, 6, 2901, 0, 0, 1, 0, 0, 54762), -- Mining Pick
(142609, 5, 6219, 0, 0, 1, 0, 0, 54762), -- Arclight Spanner
(142609, 4, 160502, 0, 0, 1, 0, 0, 54762), -- Chemical Blasting Cap
(142609, 3, 163569, 0, 0, 1, 0, 0, 54762), -- Insulated Wiring
(142609, 2, 183952, 0, 0, 1, 0, 0, 54762), -- Machinist's Oil
(142609, 1, 180733, 0, 0, 1, 0, 0, 54762), -- Luminous Flux
(142634, 8, 159875, 0, 0, 1, 0, 0, 54762), -- Sour Vanilla Skyr
(142634, 7, 160554, 0, 0, 1, 0, 0, 54762), -- Stormsong Sourdough
(142634, 6, 159871, 0, 0, 1, 0, 0, 54762), -- Buttered Turnip Porridge
(142634, 5, 163075, 0, 0, 1, 0, 0, 54762), -- Stormshore Haddock
(142634, 4, 159869, 0, 0, 1, 0, 0, 54762), -- Goldfield Sweet Yams
(142634, 3, 159898, 0, 0, 1, 0, 0, 54762), -- Sour Stormberries
(142634, 2, 159868, 0, 0, 1, 0, 0, 54762), -- Free-Range Goat's Milk
(142634, 1, 159867, 0, 0, 1, 0, 0, 54762); -- Rockskip Mineral Water
DELETE FROM `gossip_menu` WHERE (`MenuID`=23171 AND `TextID`=160710) OR (`MenuID`=23172 AND `TextID`=160740);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(23171, 160710, 54762), -- 142609 (Handyman Gareth)
(23172, 160740, 54762); -- 142634 (Sister Alison)
UPDATE `gossip_menu` SET `VerifiedBuild`=54762 WHERE (`MenuID`=6944 AND `TextID`=7778);
UPDATE `gossip_menu_option` SET `GossipOptionID`=34833, `VerifiedBuild`=54762 WHERE (`MenuID`=6944 AND `OptionID`=0); -- OptionBroadcastTextID: 12271 - 140511 - 158191
UPDATE `gossip_menu_option` SET `GossipOptionID`=49432, `OptionBroadcastTextID`=45533, `VerifiedBuild`=54762 WHERE (`MenuID`=23171 AND `OptionID`=0); -- OptionBroadcastTextID: 45533 - 143334
UPDATE `gossip_menu_option` SET `GossipOptionID`=49434, `OptionBroadcastTextID`=2822, `VerifiedBuild`=54762 WHERE (`MenuID`=23172 AND `OptionID`=0); -- OptionBroadcastTextID: 2822 - 162070
UPDATE `gossip_menu_option` SET `GossipOptionID`=49433, `OptionBroadcastTextID`=2823, `VerifiedBuild`=54762 WHERE (`MenuID`=23172 AND `OptionID`=1); -- OptionBroadcastTextID: 2823 - 7509 - 8097
--
UPDATE `creature_model_info` SET `VerifiedBuild`=54762 WHERE `DisplayID` IN (68093, 10612, 68092, 83920, 52520, 6302, 79406, 75344, 75343, 68090, 30257, 81202, 32187, 81283, 81084, 81198, 32789, 52599, 1072, 81291, 85042, 52601, 86312, 86176, 86309, 32790, 80264, 83815, 982, 87006, 342, 86311, 88681, 88625, 79014, 85797, 85041, 86175, 81201);
UPDATE `creature_model_info` SET `BoundingRadius`=0.264983922243118286, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=79404;
UPDATE `creature_model_info` SET `BoundingRadius`=3.662486076354980468, `VerifiedBuild`=54762 WHERE `DisplayID`=87014;
UPDATE `creature_model_info` SET `BoundingRadius`=0.208000004291534423, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=83273;
UPDATE `creature_model_info` SET `BoundingRadius`=0.199136361479759216, `CombatReach`=1.399999976158142089, `VerifiedBuild`=54762 WHERE `DisplayID`=81663;
UPDATE `creature_model_info` SET `BoundingRadius`=0.289333313703536987, `CombatReach`=1.399999976158142089, `VerifiedBuild`=54762 WHERE `DisplayID`=71828;
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=123226 AND `DifficultyID`=0); -- Harbor Thresher
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=126642 AND `DifficultyID`=0); -- Sandyback Crab
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=130094 AND `DifficultyID`=0); -- Tidesage Seacaller
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=130116 AND `DifficultyID`=0); -- Frothing Tideblood
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=130531 AND `DifficultyID`=0); -- Shipwright Turncoat
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`DifficultyID`=0 AND `Entry` IN (131376,143038)); -- Honey Bee
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=131387 AND `DifficultyID`=0); -- Coppertail Fox
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`Entry`=134377 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `StaticFlags3`=262144, `VerifiedBuild`=54762 WHERE (`Entry`=134623 AND `DifficultyID`=0); -- Taelia
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=134631 AND `DifficultyID`=0); -- Brittle Sailor
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=134696 AND `DifficultyID`=0); -- Marla Featherfoot
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=134721 AND `DifficultyID`=0); -- Stalwart Revolutionary
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712, `VerifiedBuild`=54762 WHERE (`Entry`=134723 AND `DifficultyID`=0); -- Trueheart Marksman
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=134747 AND `DifficultyID`=0); -- Tidesage Defector
UPDATE `creature_template_difficulty` SET `ContentTuningID`=188, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=134861 AND `DifficultyID`=0); -- Inert Grasp
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=136204 AND `DifficultyID`=0); -- Coldtooth Alpha
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=136205 AND `DifficultyID`=0); -- Coldtooth Howler
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=136422 AND `DifficultyID`=0); -- Valley Cottontail
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=136591 AND `DifficultyID`=0); -- Highland Grizzly
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`DifficultyID`=0 AND `Entry` IN (138134,143037)); -- River Otter
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`DifficultyID`=0 AND `Entry` IN (138280,143036)); -- Sandyback Crawler
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712, `VerifiedBuild`=54762 WHERE (`Entry`=139177 AND `DifficultyID`=0); -- Brittle Sailor
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=139968 AND `DifficultyID`=0); -- Corrupted Tideskipper
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=139973 AND `DifficultyID`=0); -- Juvenile Tideskipper
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=141008 AND `DifficultyID`=0); -- Reanimated Kraken Tentacle
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=141064 AND `DifficultyID`=0); -- Highland Hare
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`DifficultyID`=0 AND `Entry` IN (142196,143032)); -- River Frog
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=142199 AND `DifficultyID`=0); -- Alpine Hawk
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=142609 AND `DifficultyID`=0); -- Handyman Gareth
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=142634 AND `DifficultyID`=0); -- Sister Alison
@@ -1,100 +0,0 @@
--
SET @ATID := 65;
SET @ATSPAWNID := 67;
SET @ATCP := 53;
DELETE FROM `areatrigger` WHERE `SpawnId`=@ATSPAWNID+0;
INSERT INTO `areatrigger` (`SpawnId`, `AreaTriggerCreatePropertiesId`, `IsCustom`, `MapId`, `SpawnDifficulties`, `PosX`, `PosY`, `PosZ`, `Orientation`, `PhaseUseFlags`, `PhaseId`, `PhaseGroup`, `ScriptName`, `Comment`, `VerifiedBuild`) VALUES
(@ATSPAWNID+0, @ATCP+0, 1, 1492, '1,2,8,23', 7380.5766, 7289.9389, 43.8447, 2.8720, 1, 0, 0, 'at_ymiron_the_fallen_king_activation', 'Maw of Souls - Ymiron Activation Trigger', 0);
DELETE FROM `areatrigger_create_properties` WHERE `Id`=@ATCP+0 AND `IsCustom`=1;
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `ScriptName`, `VerifiedBuild`) VALUES
(@ATCP+0, 1, @ATID+0, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 4, 35, 35, 5, 5, 0, 0, 0, 0, '', 0);
DELETE FROM `areatrigger_template` WHERE `Id`=@ATID+0 AND `IsCustom`=1;
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(@ATID+0, 1, 1, 0);
UPDATE `creature_model_info` SET `VerifiedBuild`=52129 WHERE `DisplayID` IN (30076, 66346, 66348, 66681, 66345, 66238, 66121, 70528, 66688, 64208, 66852, 26725, 66184, 106378, 67556, 30710, 70529, 66102, 66181, 67179, 66183, 66103, 65823, 64467, 64200, 28120, 28118, 65214, 67001, 65079, 21342, 66119, 25801, 27824, 66091, 11686, 16925, 66090, 25630);
UPDATE `creature_model_info` SET `BoundingRadius`=10.46424579620361328, `VerifiedBuild`=52129 WHERE `DisplayID`=65778;
UPDATE `creature_model_info` SET `BoundingRadius`=52.32122802734375, `VerifiedBuild`=52129 WHERE `DisplayID`=66680;
UPDATE `creature_model_info` SET `BoundingRadius`=13.0803070068359375, `VerifiedBuild`=52129 WHERE `DisplayID`=66618;
UPDATE `creature_model_info` SET `BoundingRadius`=31.39273834228515625, `VerifiedBuild`=52129 WHERE `DisplayID`=67211;
DELETE FROM `areatrigger_create_properties_orbit` WHERE (`AreaTriggerCreatePropertiesId`=5838 AND `IsCustom`=0);
INSERT INTO `areatrigger_create_properties_orbit` (`AreaTriggerCreatePropertiesId`, `IsCustom`, `StartDelay`, `CircleRadius`, `BlendFromRadius`, `InitialAngle`, `ZOffset`, `CounterClockwise`, `CanLoop`, `VerifiedBuild`) VALUES
(5838, 0, 0, 0, 0, 0, 0, 0, 1, 52129); -- Spell: 193465 (Bane)
DELETE FROM `areatrigger_create_properties` WHERE (`IsCustom`=0 AND `Id` IN (5838));
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `VerifiedBuild`) VALUES
(5838, 0, 10407, 0, 0, 0, 0, 0, 0, -1, 0, 26, 11863, 21000, 0, 2, 2, 0, 0, 0, 0, 0, 0, 52129); -- Spell: 193465 (Bane)
UPDATE `areatrigger_create_properties` SET `ScriptName`='at_ymiron_the_fallen_king_bane' WHERE `Id`=5838 AND `IsCustom`=0;
UPDATE `areatrigger_template` SET `Flags`=0, `VerifiedBuild`=52129 WHERE (`Id`=10407 AND `IsCustom`=0);
-- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
DELETE FROM `instance_template` WHERE `map`=1492;
INSERT INTO `instance_template` (`map`, `parent`, `script`) VALUES
(1492, 0, 'instance_maw_of_souls');
UPDATE `creature_template` SET `AIName`='', `ScriptName`='boss_ymiron_the_fallen_king' WHERE `entry`=96756;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_ymiron_the_fallen_king_risen_warrior' WHERE `entry`=98246;
UPDATE `creature_template_addon` SET `auras`='342788' WHERE `entry`=96756; -- remove kneeling from template
UPDATE `creature` SET `equipment_id`=-1 WHERE `guid`=650507; -- add weapon to ymiron
UPDATE `creature_template` SET `faction`=16, `speed_run`=0.857142865657806396, `BaseAttackTime`=1500, `unit_flags`=32768, `unit_flags2`=2099200, `unit_flags3`=524288 WHERE `entry`=98246; -- Risen Warrior
DELETE FROM `creature_template_addon` WHERE `entry`=98246;
INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES
(98246, '123978');
SET @PATHID := 9675600;
DELETE FROM `waypoint_path` WHERE `PathId` BETWEEN @PATHID+0 AND @PATHID+1;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATHID+0, 0, 0, NULL, 'Ymiron - Intro Path towards Runecarver Slaves'),
(@PATHID+1, 0, 0, NULL, 'Ymiron - Intro Path away from Runecarver Slaves');
DELETE FROM `waypoint_path_node` WHERE `PathId` BETWEEN @PATHID+0 AND @PATHID+1;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATHID+0, 0, 7400.461, 7288.4614, 44.063484, NULL, 0),
(@PATHID+0, 1, 7398.961, 7291.4614, 44.063484, NULL, 0),
(@PATHID+0, 2, 7394.7075, 7295.432, 43.7841, NULL, 0),
(@PATHID+1, 0, 7397.9185, 7286.777, 43.79471, NULL, 0),
(@PATHID+1, 1, 7398.374, 7277.1206, 43.792637, 5.724679946899414062, 0);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceEntry` IN (243029));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(13, 0x1|0x2|0x4, 243029, 0, 0, 51, 0, 5, 114712, 0, '', 0, 'Potential target of the spell is creature, entry is Runecarver Slave (114712)');
DELETE FROM `serverside_spell` WHERE `Id`=193510;
INSERT INTO `serverside_spell` (`Id`, `DifficultyID`, `CategoryId`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `AttributesEx11`, `AttributesEx12`, `AttributesEx13`, `AttributesEx14`, `Stances`, `StancesNot`, `Targets`, `TargetCreatureType`, `RequiresSpellFocus`, `FacingCasterFlags`, `CasterAuraState`, `TargetAuraState`, `ExcludeCasterAuraState`, `ExcludeTargetAuraState`, `CasterAuraSpell`, `TargetAuraSpell`, `ExcludeCasterAuraSpell`, `ExcludeTargetAuraSpell`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `ProcChance`, `ProcCharges`, `ProcCooldown`, `ProcBasePPM`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `Speed`, `LaunchDelay`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `ContentTuningId`, `SpellName`, `ConeAngle`, `ConeWidth`, `MaxTargetLevel`, `MaxAffectedTargets`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `SpellFamilyFlags4`, `DmgClass`, `PreventionType`, `AreaGroupId`, `SchoolMask`, `ChargeCategoryId`) VALUES
(193510, 0, 0, 0, 0, 0x100, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 1, 0, 0, 0, -1, 0, 0, 0, 'Arise, Fallen', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
DELETE FROM `serverside_spell_effect` WHERE `SpellID`=193510;
INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES
(193510, 0, 0, 6, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0);
DELETE FROM `spell_script_names` WHERE `spell_id` IN(167922, 193460, 243029, 193566);
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(167922, 'spell_ymiron_the_fallen_king_power_periodic'),
(193460, 'spell_ymiron_the_fallen_king_bane_periodic'),
(243029, 'spell_ymiron_the_fallen_king_soul_siphon'),
(193566, 'spell_ymiron_the_fallen_king_arise_fallen_selector');
DELETE FROM `creature_text` WHERE `CreatureID`=96756;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(96756, 0, 0, 'Your souls will drift for eternity in the tides of the underworld!', 14, 0, 100, 0, 0, 54404, 102193, 0, 'Ymiron, the Fallen King to Player'),
(96756, 1, 0, 'Another drop in the sea of souls!', 14, 0, 100, 66, 0, 54367, 102185, 0, 'Ymiron, the Fallen King to Player'),
(96756, 2, 0, 'Mortals... I fell to your wretched kind once before. It WILL NOT happen again!', 14, 0, 100, 0, 0, 54403, 102191, 0, 'Ymiron, the Fallen King to Player'),
(96756, 3, 0, 'FLEE, COWARDS!', 14, 0, 100, 0, 0, 54360, 102175, 0, 'Ymiron, the Fallen King'),
(96756, 3, 1, 'COWER BEFORE ME!', 14, 0, 100, 0, 0, 54359, 102174, 0, 'Ymiron, the Fallen King'),
(96756, 3, 2, 'CRAVEN MAGGOTS!', 14, 0, 100, 0, 0, 54361, 102176, 0, 'Ymiron, the Fallen King'),
(96756, 4, 0, 'Know the bitter chill of death as I have!', 14, 0, 100, 0, 0, 54362, 102177, 0, 'Ymiron, the Fallen King'),
(96756, 4, 1, 'The winds of the frozen north still howl in these veins!', 14, 0, 100, 0, 0, 54364, 102178, 0, 'Ymiron, the Fallen King'),
(96756, 5, 0, 'The shadows of the underworld bend to me!', 14, 0, 100, 0, 0, 54357, 102171, 0, 'Ymiron, the Fallen King'),
(96756, 6, 0, 'The shadows of Helheim cut deeper than steel!', 14, 0, 100, 0, 0, 54358, 102173, 0, 'Ymiron, the Fallen King'),
(96756, 7, 0, 'Not... again... HARBARON! CAST THEIR SOULS INTO THE TIDES!', 14, 0, 100, 0, 0, 54366, 102182, 0, 'Ymiron, the Fallen King to Player');
UPDATE `creature_template_difficulty` SET `StaticFlags2`=`StaticFlags2`|0x02|0x04 WHERE `Entry`=96756;
File diff suppressed because one or more lines are too long
@@ -1,4 +0,0 @@
INSERT INTO `quest_template_addon` (`ID`, `ProvidedItemCount`)
(SELECT qt.`ID`, 1 FROM `quest_template` qt
LEFT JOIN `quest_template_addon` qta ON qta.`ID` = qt.`ID`
WHERE qt.`StartItem`!=0 AND qta.`ProvidedItemCount` IS NULL);
@@ -1,329 +0,0 @@
-- Creature templates
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry` IN (32600, 32597); -- Dalaran Visitor
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry` IN (32596, 32598, 32601); -- Dalaran Visitor
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29668, 29673); -- Arathi Basin Portal
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29669, 29674); -- Alterac Valley Portal
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29670, 29675); -- Eye of the Storm Portal
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (34952, 34953); -- Isle of Conquest Portal
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32724; -- Warmage Mumplina
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32722; -- Warmage Lukems
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=27870; -- Wild Flower
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29672, 29667); -- Warsong Gulch Portal
UPDATE `creature_template` SET `npcflag`=281474976710659 WHERE `entry`=49750; -- Warchief's Herald
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=37859; -- Ignis the Furnace Master Image
UPDATE `creature_template` SET `unit_flags3`=67108864 WHERE `entry`=31236; -- Dappled Stag
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31796; -- Cosmetic Worg Pup
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31742; -- Cosmetic Prairie Dog
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31795; -- Cosmetic Smolderweb Hatchling
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31740; -- Cosmetic Turtle
UPDATE `creature_template` SET `unit_flags3`=67108864 WHERE `entry`=31233; -- Sinewy Wolf
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31741; -- Cosmetic Rabbit
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29766; -- Cosmetic Totem Alliance Water
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31735; -- Cosmetic Pig
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29764; -- Cosmetic Totem Alliance Earth
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31732; -- Cosmetic Rat
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29765; -- Cosmetic Totem Alliance Fire
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31733; -- Cosmetic Cockroach
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31730; -- Cosmetic Frog
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29763; -- Cosmetic Totem Alliance Air
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31719; -- Cosmetic Frenzy
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31728; -- Cosmetic Cat Set 1/2
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31729; -- Cosmetic Cat Set 2/2
UPDATE `creature_template` SET `unit_flags`=256 WHERE `entry`=18927; -- Human Commoner
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31714; -- Cosmetic Ribbon Snake
UPDATE `creature_template` SET `unit_flags`=256 WHERE `entry`=20102; -- Goblin Commoner
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31710; -- Cosmetic Black Kingsnake
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31711; -- Cosmetic Brown Snake
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29782; -- Cosmetic Mechanical Sheep
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31709; -- Cosmetic Albino Snake
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29780; -- Cosmetic Mechanical Chicken
UPDATE `creature_template` SET `unit_flags`=33554432 WHERE `entry`=29812; -- [DND] Dalaran Toy Store Plane String Bunny
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29781; -- Cosmetic Mechanical Squirrel
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=28160; -- Archmage Pentarus
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29777; -- Cosmetic Mechanical Gorilla
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29784; -- Cosmetic Clockwork Robot (Blue)
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29785; -- Cosmetic Clockwork Robot (Red)
UPDATE `creature_template` SET `unit_flags`=33554432 WHERE `entry`=29807; -- [DND] Dalaran Toy Store Plane String Hook
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29783; -- Cosmetic Clockwork Robot
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=32441; -- Underbelly Croc
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31229; -- Ancient Watcher
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31400; -- Azure Front Channel Stalker
UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=30352; -- Skybreaker Marine
UPDATE `creature_template` SET `unit_flags3`=335544320 WHERE `entry`=32435; -- Vern
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=33778; -- Tournament Hippogryph
UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=30755; -- Kor'kron Reaver
UPDATE `creature_template_addon` SET `visibilityDistanceType`=0 WHERE `entry`=16128; -- 16128 (Rhonin)
UPDATE `creature_template_addon` SET `visibilityDistanceType`=0 WHERE `entry`=28332; -- 28332 (Generic Trigger LAB (Large AOI))
-- Difficulties
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (31402,32748,19481,61081,96773,96772,32652,32606,73516,73517,34252,35498,28990,28997,31581,31582,37941,35495,33963,35607,29535,50152,50153,50150,29538,50144,29537,36776,50142,50148,50147,31756,23033,35826,31085,31081,31080,174271,50171,50163,29523,29494,28994,28992,35500,50174,32265,35497,50158,50156,50157,29497,50160,31580,47581,29496,28991,31579,35494,35594,37942,33964,32747,29528,28958,32749,30094,51512,29703,29491,32744,32745,32322,32743,29548,29527,32425,47579,28995,34330,32466,30885,28956,36774,31768,29715,32337,20102,29499,29529,28993,31758,32516,69973,32428,32339,32746,29702,31757,32336,69971,29495,28160,31755,23472,25058,29802,32328,30095,29547,69321,69318,15732,32342,32470,15730,40212,35496));
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29778 AND `DifficultyID`=0); -- Scout Nisstina
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (32600,32596,32598,32597,32601)); -- Dalaran Visitor
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32709 AND `DifficultyID`=0); -- Hunaka Greenhoof
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32697 AND `DifficultyID`=0); -- Dak'hal the Black
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29668,29673)); -- Arathi Basin Portal
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29669,29674)); -- Alterac Valley Portal
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29670,29675)); -- Eye of the Storm Portal
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (34952,34953)); -- Isle of Conquest Portal
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32631 AND `DifficultyID`=0); -- Alfred Copperworth
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32737 AND `DifficultyID`=0); -- Archmage John Nicholas
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32741 AND `DifficultyID`=0); -- Conjurer Weinhaus
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32734 AND `DifficultyID`=0); -- Arcanist Ginsberg
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32735 AND `DifficultyID`=0); -- Alchemist Burroughs
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32738 AND `DifficultyID`=0); -- Kat Sunflower
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32724 AND `DifficultyID`=0); -- Warmage Mumplina
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32722 AND `DifficultyID`=0); -- Warmage Lukems
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32287 AND `DifficultyID`=0); -- Archmage Alvareaux
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32843 AND `DifficultyID`=0); -- Tabea
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32844 AND `DifficultyID`=0); -- Apollo
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=16128 AND `DifficultyID`=0); -- Rhonin
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30117 AND `DifficultyID`=0); -- Archmage Modera
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30115 AND `DifficultyID`=0); -- Vereesa Windrunner
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=52649 WHERE (`Entry`=30116 AND `DifficultyID`=0); -- Archmage Aethas Sunreaver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32733 AND `DifficultyID`=0); -- Joboba Mezbreaker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32728 AND `DifficultyID`=0); -- Illusionist Karina
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28699 AND `DifficultyID`=0); -- Charles Worth
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28726 AND `DifficultyID`=0); -- Dominique Stefano
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29510 AND `DifficultyID`=0); -- Linna Bruder
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29508 AND `DifficultyID`=0); -- Andellion
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29509 AND `DifficultyID`=0); -- Namha Moonwater
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28700 AND `DifficultyID`=0); -- Diane Cannings
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28696 AND `DifficultyID`=0); -- Derik Marks
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29507 AND `DifficultyID`=0); -- Manfred Staller
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32651 AND `DifficultyID`=0); -- Wounded Dalaran Shield Guard
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29640 AND `DifficultyID`=0); -- Josie Birch
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28706 AND `DifficultyID`=0); -- Olisarra the Kind
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32653 AND `DifficultyID`=0); -- Wounded Dalaran Serpent
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32650 AND `DifficultyID`=0); -- Wounded Dalaran Protector
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29511 AND `DifficultyID`=0); -- Lalla Brightweave
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29628 AND `DifficultyID`=0); -- Angelique Butler
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29512 AND `DifficultyID`=0); -- Ainderu Summerleaf
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28718 AND `DifficultyID`=0); -- Ranid Glowergold
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32684 AND `DifficultyID`=0); -- Mona Everspring
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32677 AND `DifficultyID`=0); -- Whirt the All-Knowing
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32515 AND `DifficultyID`=0); -- Braeg Stoutbeard
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28721 AND `DifficultyID`=0); -- Tiffany Cartier
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32172 AND `DifficultyID`=0); -- Harold Winston
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28722 AND `DifficultyID`=0); -- Bryan Landers
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29514 AND `DifficultyID`=0); -- Findle Whistlesteam
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28697 AND `DifficultyID`=0); -- Timofey Oshenko
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29929 AND `DifficultyID`=0); -- Mechano-Hog
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712, `VerifiedBuild`=52649 WHERE (`Entry`=40160 AND `DifficultyID`=0); -- Frozo the Renowned
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29513 AND `DifficultyID`=0); -- Didi the Wrench
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28725 AND `DifficultyID`=0); -- Patricia Egan
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28698 AND `DifficultyID`=0); -- Jedidiah Handers
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28728 AND `DifficultyID`=0); -- Dorian Fines
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32706 AND `DifficultyID`=0); -- Saedelin Whitedawn
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=93432 AND `DifficultyID`=0); -- Nethaera's Light
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28703 AND `DifficultyID`=0); -- Linzy Blackbolt
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=27870 AND `DifficultyID`=0); -- Wild Flower
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=26043 AND `DifficultyID`=0); -- Steam Burst
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29506 AND `DifficultyID`=0); -- Orland Schaeffer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28694 AND `DifficultyID`=0); -- Alard Schmied
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32451 AND `DifficultyID`=0); -- Dalaran Citizen
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28716 AND `DifficultyID`=0); -- Palja Amboss
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28675 AND `DifficultyID`=0); -- Teller Rames
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29282 AND `DifficultyID`=0); -- Paymaster Alstein
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28676 AND `DifficultyID`=0); -- Teller Althiellis
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28677 AND `DifficultyID`=0); -- Teller Hanners
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29672,29667)); -- Warsong Gulch Portal
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29657 AND `DifficultyID`=0); -- High Arcanist Savor
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=50149 AND `DifficultyID`=0); -- Vinsun
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29665 AND `DifficultyID`=0); -- Pazik "The Pick" Prylock
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=37780 AND `DifficultyID`=0); -- Dark Ranger Vorel
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32249 AND `DifficultyID`=0); -- Worg Pup
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268697600, `VerifiedBuild`=52649 WHERE (`Entry`=32664 AND `DifficultyID`=0); -- Segacedi
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32170 AND `DifficultyID`=0); -- Magister Surdiel
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31886 AND `DifficultyID`=0); -- Nargut
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32252 AND `DifficultyID`=0); -- Wanathan
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31557 AND `DifficultyID`=0); -- Uda the Beast
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32251 AND `DifficultyID`=0); -- Shokavis
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=36670 AND `DifficultyID`=0); -- Magister Hathorel
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32420 AND `DifficultyID`=0); -- Mimbihi
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32415 AND `DifficultyID`=0); -- Hamaka
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31885 AND `DifficultyID`=0); -- Rhukah
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32253 AND `DifficultyID`=0); -- Kyunghee
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32419 AND `DifficultyID`=0); -- Umbiwa
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32412 AND `DifficultyID`=0); -- Mato
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32418 AND `DifficultyID`=0); -- Abohba
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29631 AND `DifficultyID`=0); -- Awilo Lon'gomba
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31031 AND `DifficultyID`=0); -- Misensi
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32692 AND `DifficultyID`=0); -- Arcanist Alec
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32687 AND `DifficultyID`=0); -- Linda Ann Kastinglow
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31238 AND `DifficultyID`=0); -- Hira Snowdawn
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28674 AND `DifficultyID`=0); -- Aludane Whitecloud
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32732 AND `DifficultyID`=0); -- Dorfus Alphamage
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32730 AND `DifficultyID`=0); -- Goldlilly Gleamingfell
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31439 AND `DifficultyID`=0); -- Archmage Timear
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29325 AND `DifficultyID`=0); -- Torgo the Younger
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29660 AND `DifficultyID`=0); -- Grand Marauder Sai
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32169 AND `DifficultyID`=0); -- Arcanist Braedin
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32424 AND `DifficultyID`=0); -- Laire Brewgold
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30608 AND `DifficultyID`=0); -- Paymaster Amadi
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30606 AND `DifficultyID`=0); -- Paymaster Chang
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30607 AND `DifficultyID`=0); -- Teller Plushner
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30604 AND `DifficultyID`=0); -- Teller Almeida
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30605 AND `DifficultyID`=0); -- Teller Gee
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32426 AND `DifficultyID`=0); -- Coira Longrifle
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28686 AND `DifficultyID`=0); -- Caliel Brightwillow
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=20735 AND `DifficultyID`=0); -- Archmage Lan'dalock
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28692 AND `DifficultyID`=0); -- "Red" Jack Findle
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=37776 AND `DifficultyID`=0); -- Apprentice Nelphi
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=196, `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=37859 AND `DifficultyID`=0); -- Ignis the Furnace Master Image
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32715 AND `DifficultyID`=0); -- Sorrow
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28691 AND `DifficultyID`=0); -- Susana Averoy
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=50155 AND `DifficultyID`=0); -- Naseev
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=31517 AND `DifficultyID`=0); -- Dalaran Fountain Invis Stalker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28705 AND `DifficultyID`=0); -- Katherine Lee
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31032 AND `DifficultyID`=0); -- Derek Odds
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32416 AND `DifficultyID`=0); -- Stefen Cotter
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28682 AND `DifficultyID`=0); -- Inzi Charmlight
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30490 AND `DifficultyID`=0); -- Rin Duoctane
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29530 AND `DifficultyID`=0); -- Binzik Goldbook
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32450 AND `DifficultyID`=0); -- Badluck
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=35790 AND `DifficultyID`=0); -- Usuri Brightcoin
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28715 AND `DifficultyID`=0); -- Endora Moorehead
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28742 AND `DifficultyID`=0); -- Marcia Chase
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32514 AND `DifficultyID`=0); -- Vanessa Sellers
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29636 AND `DifficultyID`=0); -- Hagatha Moorehead
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32421 AND `DifficultyID`=0); -- Marcella Bloom
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=36669 AND `DifficultyID`=0); -- Arcanist Tybalin
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32413 AND `DifficultyID`=0); -- Isirami Fairwind
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=15760 AND `DifficultyID`=0); -- Winter Reveler
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29505 AND `DifficultyID`=0); -- Imindril Spearsong
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31236 AND `DifficultyID`=0); -- Dappled Stag
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32702 AND `DifficultyID`=0); -- Drog Skullbreaker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28776 AND `DifficultyID`=0); -- Elizabeth Ross
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31796 AND `DifficultyID`=0); -- Cosmetic Worg Pup
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28774 AND `DifficultyID`=0); -- Andrew Matthews
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29532 AND `DifficultyID`=0); -- Ajay Green
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32693 AND `DifficultyID`=0); -- Sabriana Sorrowgaze
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31742 AND `DifficultyID`=0); -- Cosmetic Prairie Dog
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31795 AND `DifficultyID`=0); -- Cosmetic Smolderweb Hatchling
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33031 AND `DifficultyID`=0); -- Sebastian Bower
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32690 AND `DifficultyID`=0); -- Bitty Frostflinger
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28708 AND `DifficultyID`=0); -- Kizi Copperclip
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32691 AND `DifficultyID`=0); -- Magus Fansy Goodbringer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32679 AND `DifficultyID`=0); -- Darthalia Ebonscorch
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31740 AND `DifficultyID`=0); -- Cosmetic Turtle
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31233 AND `DifficultyID`=0); -- Sinewy Wolf
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29478 AND `DifficultyID`=0); -- Jepetto Joybuzz
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31741 AND `DifficultyID`=0); -- Cosmetic Rabbit
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32689 AND `DifficultyID`=0); -- Adorean Lew
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29476 AND `DifficultyID`=0); -- Dagna Flintlock
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31852 AND `DifficultyID`=0); -- Wooly Mammoth
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33027 AND `DifficultyID`=0); -- Jessica Sellers
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32686 AND `DifficultyID`=0); -- Tomas Riogain
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=36851 AND `DifficultyID`=0); -- Aquanos
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28704 AND `DifficultyID`=0); -- Dorothy Egan
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29716 AND `DifficultyID`=0); -- Clockwork Assistant
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28723 AND `DifficultyID`=0); -- Larana Drome
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29766 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Water
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28702 AND `DifficultyID`=0); -- Professor Pallin
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28690 AND `DifficultyID`=0); -- Tassia Whisperglen
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32685 AND `DifficultyID`=0); -- Kitz Proudbreeze
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32216 AND `DifficultyID`=0); -- Mei Francis
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31735 AND `DifficultyID`=0); -- Cosmetic Pig
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29764 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Earth
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32683 AND `DifficultyID`=0); -- Grezla the Hag
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31732 AND `DifficultyID`=0); -- Cosmetic Rat
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29765 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Fire
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=36856 AND `DifficultyID`=0); -- Shandy Glossgleam
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32680 AND `DifficultyID`=0); -- Fabioso the Fabulous
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31733 AND `DifficultyID`=0); -- Cosmetic Cockroach
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32681 AND `DifficultyID`=0); -- The Magnificent Merleaux
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31730 AND `DifficultyID`=0); -- Cosmetic Frog
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29763 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Air
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32678 AND `DifficultyID`=0); -- Emeline Fizzlefry
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=31719 AND `DifficultyID`=0); -- Cosmetic Frenzy
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28951 AND `DifficultyID`=0); -- Breanni
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31728 AND `DifficultyID`=0); -- Cosmetic Cat Set 1/2
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=31769 AND `DifficultyID`=0); -- Stabled Hunter Pet
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32676 AND `DifficultyID`=0); -- Grindle Firespark
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31729 AND `DifficultyID`=0); -- Cosmetic Cat Set 2/2
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32726 AND `DifficultyID`=0); -- The Chooch
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32727 AND `DifficultyID`=0); -- Natalie Tootiblare
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32675 AND `DifficultyID`=0); -- Babagahnoosh the Grumpy
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29261 AND `DifficultyID`=0); -- Windle Sparkshine
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32668 AND `DifficultyID`=0); -- Emi
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32669 AND `DifficultyID`=0); -- Colin
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28687 AND `DifficultyID`=0); -- Amisi Azuregaze
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31136 AND `DifficultyID`=0); -- High Warlord Uro
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32731 AND `DifficultyID`=0); -- Metopious Loreseeker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28685 AND `DifficultyID`=0); -- Narisa Redgold
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32729 AND `DifficultyID`=0); -- Lofwyr Le'Fleur
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31714 AND `DifficultyID`=0); -- Cosmetic Ribbon Snake
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28701 AND `DifficultyID`=0); -- Timothy Jones
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32411 AND `DifficultyID`=0); -- Afsaneh Asrar
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30137 AND `DifficultyID`=0); -- Shifty Vickers
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32207 AND `DifficultyID`=0); -- Armored Brown Bear
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29641 AND `DifficultyID`=0); -- Theresa Wolf
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31710 AND `DifficultyID`=0); -- Cosmetic Black Kingsnake
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31711 AND `DifficultyID`=0); -- Cosmetic Brown Snake
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=34244 AND `DifficultyID`=0); -- Jean Pierre Poulain
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29782 AND `DifficultyID`=0); -- Cosmetic Mechanical Sheep
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31709 AND `DifficultyID`=0); -- Cosmetic Albino Snake
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29780 AND `DifficultyID`=0); -- Cosmetic Mechanical Chicken
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28727 AND `DifficultyID`=0); -- Edward Egan
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=34984 AND `DifficultyID`=0); -- World Trigger (Not Floating)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=29812 AND `DifficultyID`=0); -- [DND] Dalaran Toy Store Plane String Bunny
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29781 AND `DifficultyID`=0); -- Cosmetic Mechanical Squirrel
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28693 AND `DifficultyID`=0); -- Enchanter Nalthanis
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32403 AND `DifficultyID`=0); -- Sandra Bartan
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33422 AND `DifficultyID`=0); -- Unbound Seer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32334 AND `DifficultyID`=0); -- Nixi Fireclaw
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29777 AND `DifficultyID`=0); -- Cosmetic Mechanical Gorilla
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29493 AND `DifficultyID`=0); -- Jarold Puller
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29784 AND `DifficultyID`=0); -- Cosmetic Clockwork Robot (Blue)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29785 AND `DifficultyID`=0); -- Cosmetic Clockwork Robot (Red)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29049 AND `DifficultyID`=0); -- Arille Azuregaze
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=29807 AND `DifficultyID`=0); -- [DND] Dalaran Toy Store Plane String Hook
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28714 AND `DifficultyID`=0); -- Ildine Sorrowspear
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29783 AND `DifficultyID`=0); -- Cosmetic Clockwork Robot
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31228 AND `DifficultyID`=0); -- Grove Walker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30104 AND `DifficultyID`=0); -- Adamman the Trader
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33026 AND `DifficultyID`=0); -- Sarah Brady
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=52649 WHERE (`Entry`=32441 AND `DifficultyID`=0); -- Underbelly Croc
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31229 AND `DifficultyID`=0); -- Ancient Watcher
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=31400 AND `DifficultyID`=0); -- Azure Front Channel Stalker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32688 AND `DifficultyID`=0); -- Archmage Tenaj
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30352 AND `DifficultyID`=0); -- Skybreaker Marine
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=27047 AND `DifficultyID`=0); -- Invisible Stalker (Floating Only)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368, `VerifiedBuild`=52649 WHERE (`Entry`=31689 AND `DifficultyID`=0); -- Gnome Diver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30726 AND `DifficultyID`=0); -- Archivist Betha
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=31643 AND `DifficultyID`=0); -- Dalaran Well Teleport Bunny
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28707 AND `DifficultyID`=0); -- Angelo Pescatore
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32435 AND `DifficultyID`=0); -- Vern
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33778 AND `DifficultyID`=0); -- Tournament Hippogryph
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28989 AND `DifficultyID`=0); -- Aemara
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=25171 AND `DifficultyID`=0); -- Invisible Stalker (Scale x0.5)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30755 AND `DifficultyID`=0); -- Kor'kron Reaver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29254 AND `DifficultyID`=0); -- Silver Covenant Guardian Mage
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29714 AND `DifficultyID`=0); -- Lucian Trias
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=28332 AND `DifficultyID`=0); -- Generic Trigger LAB (Large AOI)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29156 AND `DifficultyID`=0); -- Archmage Celindra
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29255 AND `DifficultyID`=0); -- Sunreaver Guardian Mage
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`!=0 AND `Entry` IN (29778,32600,32596,32598,32597,32601,32709,32697,29668,29673,29669,29674,29670,29675,34952,34953,32631,32737,32741,32734,32735,32738,32724,32722,32287,32843,32844,16128,30117,30115,30116,32733,32728,28699,28726,29510,29508,29509,28700,28696,29507,32651,29640,28706,32653,32650,29511,29628,29512,28718,32684,32677,32515,28721,32172,28722,29514,28697,29929,40160,29513,28725,28698,28728,32706,93432,28703,27870,26043,29506,28694,32451,28716,28675,29282,28676,28677,29672,29667,29657,50149,29665,37780,32249,32664,32170,31886,32252,31557,32251,36670,32420,32415,31885,32253,32419,32412,32418,29631,31031,32692,32687,31238,28674,32732,32730,31439,29325,29660,32169,32424,30608,30606,30607,30604,30605,32426,28686,20735,28692,37776,37859,32715,28691,50155,31517,28705,31032,32416,28682,30490,29530,32450,35790,28715,28742,32514,29636,32421,36669,32413,15760,29505,31236,32702,28776,31796,28774,29532,32693,31742,31795,33031,32690,28708,32691,32679,31740,31233,29478,31741,32689,29476,31852,33027,32686,36851,28704,29716,28723,29766,28702,28690,32685,32216,31735,29764,32683,31732,29765,36856,32680,31733,32681,31730,29763,32678,31719,28951,31728,31769,32676,31729,32726,32727,32675,29261,32668,32669,28687,31136,32731,28685,32729,31714,28701,32411,30137,32207,29641,31710,31711,34244,29782,31709,29780,28727,34984,29812,29781,28693,32403,33422,32334,29777,29493,29784,29785,29049,29807,28714,29783,31228,30104,33026,32441,31229,31400,32688,30352,27047,31689,30726,31643,28707,32435,33778,28989,25171,30755,29254,29714,28332,29156,29255,31402,32748,19481,61081,96773,96772,32652,32606,73516,73517,34252,35498,28990,28997,31581,31582,37941,35495,33963,35607,29535,50152,50153,50150,29538,50144,29537,36776,50142,50148,50147,31756,23033,35826,31085,31081,31080,174271,50171,50163,29523,29494,28994,28992,35500,50174,32265,35497,50158,50156,50157,29497,50160,31580,47581,29496,28991,31579,35494,35594,37942,33964,32747,29528,28958,32749,30094,51512,29703,29491,32744,32745,32322,32743,29548,29527,32425,47579,28995,34330,32466,30885,28956,36774,31768,29715,32337,20102,29499,29529,28993,31758,32516,69973,32428,32339,32746,29702,31757,32336,69971,29495,28160,31755,23472,25058,29802,32328,30095,29547,69321,69318,15732,32342,32470,15730,40212,35496));
DELETE FROM `creature_questitem` WHERE `CreatureEntry`=36776 AND `DifficultyID`=1;
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=52649 WHERE `DisplayID` IN (25195, 26525, 17476, 28183, 28181, 26495, 26484, 26499, 29743, 28205, 28119, 28174, 28177, 28173, 28172, 19284, 28178, 27944, 27949, 27886, 28317, 52602, 16024, 26771, 28222, 26770, 28171, 28166, 23337, 24916, 25615, 25649, 26377, 26336, 26335, 25616, 25612, 26337, 28124, 26398, 25622, 28125, 5966, 28123, 26378, 26376, 28152, 28145, 28000, 25645, 27799, 25646, 26374, 25613, 25871, 46947, 51414, 31713, 25648, 25614, 25651, 28189, 61133, 25619, 24897, 24898, 24895, 24890, 23501, 26338, 25611, 29145, 29833, 25876, 25637, 25881, 25596, 26103, 25597, 25598, 26503, 26494, 27560, 27557, 30841, 26072, 26413, 29831, 28986, 26445, 26496, 36907, 36906, 36904, 36898, 26444, 26417, 30686, 36900, 26443, 30439, 9563, 12200, 36899, 27801, 26501, 29744, 36905, 36903, 26074, 18793, 18785, 837, 26073, 18805, 18804, 22003, 27853, 27616, 27852, 28680, 27961, 27957, 27019, 27854, 27960, 21270, 27955, 27959, 26394, 27448, 30042, 28162, 28155, 27585, 27524, 27587, 25595, 21272, 28170, 28168, 27215, 27592, 26138, 27217, 26502, 26414, 27800, 27963, 27161, 27159, 27160, 27157, 27158, 27965, 27465, 25604, 27216, 36893, 19744, 36756, 26321, 25609, 26309, 25878, 30764, 29834, 36894, 30807, 17200, 29835, 28191, 25608, 36882, 36879, 36881, 36883, 26312, 25621, 27449, 36880, 27958, 25602, 27556, 27068, 26372, 35705, 29921, 25636, 26311, 25655, 27999, 26397, 25877, 27962, 28755, 27559, 27956, 29832, 30842, 28987, 26339, 28204, 10957, 23167, 28201, 25674, 27719, 25673, 19339, 26373, 28163, 24607, 28160, 28161, 28147, 27883, 24235, 18800, 26396, 28159, 27244, 25807, 28433, 28154, 30415, 25620, 26442, 25647, 28207, 26521, 26759, 25618, 25607, 28153, 27822, 37403, 27680, 26437, 26518, 25879, 28150, 28199, 26519, 30358, 28148, 3233, 28202, 28149, 26517, 28146, 17170, 27918, 28194, 25791, 11709, 26330, 26997, 28144, 5555, 28164, 28165, 28143, 26395, 26078, 28208, 35704, 25594, 27972, 25605, 27398, 27509, 26070, 25806, 30310, 28169, 20833, 18801, 25603, 26441, 28167, 26440, 2954, 26075, 27954, 19342, 26779, 27821, 27782, 1206, 2957, 29132, 26526, 26313, 2955, 802, 27334, 7920, 25650, 28006, 26465, 26532, 25610, 27952, 28618, 28203, 26438, 2710, 27914, 26464, 26310, 25166, 27912, 26524, 26307, 26530, 26531, 25882, 26570, 25635, 26547, 26998, 16925, 26557, 27766, 1988, 26766, 28432, 833, 27211, 47456, 47453, 8811, 17612, 28156, 27331, 27657, 27287, 13349, 20763, 27930, 22471, 25875, 17188, 27329, 29076, 26068, 27915, 25947, 29836, 26071);
UPDATE `creature_model_info` SET `BoundingRadius`=0.425056040287017822, `CombatReach`=0.300000011920928955, `VerifiedBuild`=52649 WHERE `DisplayID`=27718;
UPDATE `creature_model_info` SET `BoundingRadius`=0.25, `CombatReach`=0.25, `VerifiedBuild`=52649 WHERE `DisplayID`=16259;
-- Gameobject templates
UPDATE `gameobject_template` SET `VerifiedBuild`=52649 WHERE `entry` IN (194019, 191665, 191959, 193174, 192197, 193578, 191997, 191684, 192872, 201936, 192843, 193786, 192070, 194939, 278457, 191939, 191915, 191928, 192097, 191733, 192095, 191901, 191903, 200297, 191440, 193785, 192207, 191918, 191912, 193932, 193627, 192083, 191462, 191466, 191889, 191894, 191475, 191029, 193929, 192099, 192109, 192856, 192498, 192697, 193089, 191768, 192113, 194942, 193902, 192219, 192216, 192893, 191676, 191929, 191988, 191895, 191941, 192093, 178435, 180797, 195427, 193787, 193180, 194940, 191940, 193071, 192221, 191951, 192089, 191913, 191934, 193918, 192823, 191677, 194018, 192854, 208317, 192117, 194943, 193898, 192214, 193173, 191916, 192088, 191910, 193924, 193624, 192090, 191946, 191980, 191899, 191468, 191482, 201301, 192839, 191230, 178429, 191009, 193935, 194147, 191935, 191998, 193930, 193928, 193951, 178434, 193949, 191680, 193019, 192069, 192628, 193178, 193177, 191948, 192205, 191909, 193912, 191897, 191904, 191479, 180798, 191943, 201935, 200296, 192211, 192200, 191735, 191919, 191931, 193085, 191983, 191465, 191900, 191896, 191478, 180799, 201300, 192713, 192847, 192004, 191681, 191965, 192210, 192199, 193175, 191953, 180844, 191932, 193931, 191993, 191992, 191473, 191469, 192827, 192845, 178746, 191886, 193179, 193897, 192208, 193936, 208316, 193927, 192851, 193082, 193911, 191892, 192084, 192818, 192651, 192086, 201934, 192887, 192852, 195428, 192112, 192116, 192218, 192059, 192010, 191911, 191994, 191995, 193914, 191472, 191891, 192098, 192828, 192840, 266869, 191955, 192002, 192202, 214500, 193626, 192096, 191687, 193919, 191974, 191463, 191481, 193189, 187567, 194021, 193205, 192848, 193782, 195533, 191958, 194941, 192212, 190960, 193921, 191927, 278574, 191986, 191461, 191683, 191471, 193926, 192853, 192824, 192233, 195532, 193783, 193088, 191949, 194945, 191966, 193899, 191734, 193987, 192091, 191678, 193081, 191991, 191893, 191476, 191229, 191682, 192227, 194020, 184633, 192115, 192209, 192213, 192103, 191674, 193915, 191984, 191981, 193913, 191888, 191467, 192085, 191679, 192068, 187194, 192228, 192846, 192855, 192629, 192003, 193781, 193901, 192223, 191942, 193922, 192844, 192841, 191444, 193202, 192820, 193942, 194938, 192892, 193900, 193086, 192196, 192094, 193083, 191887, 192836, 192850, 191956, 192882, 193904, 194011, 192849, 194944, 193903, 193934, 191675, 191917, 187299, 191732, 191987, 191947, 191999, 191890, 191474, 191688, 201299, 192092, 192838, 191030, 192110, 192234, 188215, 193784, 194937, 193896, 193176, 192204, 191924, 191975, 193422, 192111, 202443, 192230, 191731, 192118, 192119, 192222, 193625, 191990, 193172, 191902, 191464, 191477, 191445, 191954, 192825, 191952, 179976, 192087, 192229, 194012, 191950, 192102, 192224, 192217, 192201, 192203, 193925, 191925, 191933, 193916, 193084, 193910, 191989, 193920, 193423, 191957, 193214, 192232, 191769, 191964, 194946, 193402, 192215, 192206, 193923, 191926, 191686, 193080, 193917, 191898, 191480, 194115, 193909, 180796, 191741, 201855, 202616, 192225, 191960, 192114, 192220, 193087, 191914, 193933, 191930, 193950, 192198, 191470, 193190, 191945, 192067, 191028, 193610, 192231);
UPDATE `gameobject_template` SET `ContentTuningId`=196, `VerifiedBuild`=52649 WHERE `entry`=192869; -- LAVA BLAST - by Pyroco
UPDATE `gameobject_template_addon` SET `WorldEffectID`=2773 WHERE `entry`=266869; -- Fishing Bobber
UPDATE `gameobject_template_addon` SET `flags`=262144, `WorldEffectID`=8830 WHERE `entry`=208317; -- Warchief's Command Board
UPDATE `gameobject_template_addon` SET `flags`=262144, `WorldEffectID`=8830 WHERE `entry`=208316; -- Hero's Call Board
UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry`=192820; -- Tower
UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry` IN (192234, 192232, 192230, 192227); -- Argent Vanguard Tower
UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry` IN (192233, 192231, 192228, 192229); -- Argent Vanguard Support
UPDATE `gameobject_template_addon` SET `WorldEffectID`=16227 WHERE `entry` IN (191030, 191028, 191029); -- Barbershop Chair
UPDATE `gameobject_questitem` SET `VerifiedBuild`=52649 WHERE (`Idx`=0 AND `GameObjectEntry` IN (192827,192818,192828,192825,192824,192823));
@@ -1 +0,0 @@
ALTER TABLE `creature_text` MODIFY COLUMN `Language` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `Type`;
@@ -1,46 +0,0 @@
SET @CGUID := 7000524;
DELETE FROM `phase_name` WHERE `ID`=12612;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12612, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater, Hurricane and Elementals at Port Fogtide Bridge');
DELETE FROM `phase_area` WHERE `PhaseId`=12612;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9579, 12612, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater, Hurricane and Elementals at Port Fogtide Bridge - Tidecross'),
(9578, 12612, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater, Hurricane and Elementals at Port Fogtide Bridge - Port Fogtide'),
(9622, 12612, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater, Hurricane and Elementals at Port Fogtide Bridge - Krakens Reach');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12612));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12612, 0, 0, 0, 47, 0, 54721, 74, 0, '', 0, 'Player has I\'m Too Old for This Ship (54721) in state complete, incomplete, rewarded'),
(26, 12612, 0, 0, 0, 47, 0, 54726, 74, 0, '', 1, 'Player doesn\'t have Frame Work (54726) in state complete, incomplete, rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 148879, 1643, 9042, 9579, '0', 12612, 0, 0, 0, 3372.8203125, -408.057281494140625, 11.97694587707519531, 5.568043231964111328, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Bound Earth (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+1, 148870, 1643, 9042, 9579, '0', 12612, 0, 0, 0, 3370.701416015625, -410.111114501953125, 11.97694587707519531, 5.603581905364990234, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Dorian Atwater (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+2, 148879, 1643, 9042, 9579, '0', 12612, 0, 0, 0, 3368.6796875, -412.024322509765625, 11.97694587707519531, 5.571819782257080078, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Bound Earth (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+3, 150706, 1643, 9042, 9579, '0', 12612, 0, 0, 0, 3366.2978515625, -416.62152099609375, 11.97694587707519531, 5.707256317138671875, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Hurricane (Area: Tidecross - Difficulty: 0) CreateObject1 (Auras: 291989 - Carrying Toolbox)
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+3;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+3, 0, 0, 0, 0, 0, 1, 0, 418, 0, 0, 0, 0, '291989'); -- Hurricane - 291989 - Carrying Toolbox
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800, `VehicleId`=6542 WHERE `entry`=150706; -- Hurricane
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=148879; -- Bound Earth
UPDATE `creature_template` SET `faction`=2992, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=148870; -- Dorian Atwater
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=0x10000000, `VerifiedBuild`=54762 WHERE (`Entry`=148870 AND `DifficultyID`=0); -- 148870 (Dorian Atwater) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=0x10000000, `VerifiedBuild`=54762 WHERE (`Entry`=148879 AND `DifficultyID`=0); -- 148879 (Bound Earth) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=0x10000000, `VerifiedBuild`=54762 WHERE (`Entry`=150706 AND `DifficultyID`=0); -- 150706 (Hurricane) - CanSwim
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x80 WHERE `entry`=149374;
UPDATE `creature` SET `PhaseId`=12612 WHERE `guid`=7000412;
-- FX Stalker with guid 7000412 smart ai
SET @ENTRY := -7000412;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 149374;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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, '', 25, 0, 100, 0, 0, 0, 0, 0, 11, 291988, 0, 0, 0, 0, 0, 19, 150706, 10, 0, 0, 0, 0, 0, 'On reset - Self: Cast spell 291988 on Closest alive creature Hurricane (150706) in 10 yards');
@@ -1,75 +0,0 @@
-- Creature templates
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31393; -- Crystal Wyrm
UPDATE `creature_template` SET `unit_flags3`=67108864 WHERE `entry`=31404; -- Azure Manabeast
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32375; -- Warmage Yurias
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32369; -- Warmage Sarina
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32372; -- Warmage Ilsudria
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32371; -- Warmage Halister
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31139; -- Pustulent Horror
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=32602; -- Dalaran Visitor
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=30281; -- Silver Covenant Hippogryph
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=35984; -- Sunreaver Dragonhawk
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=30861; -- Unbound Ancient
-- Difficulties
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `VerifiedBuild`=52649 WHERE (`Entry`=33498 AND `DifficultyID`=0); -- 33498 (Maloric) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `LootID`=33499, `VerifiedBuild`=52649 WHERE (`Entry`=33499 AND `DifficultyID`=0); -- 33499 (Skeletal Woodcutter) -
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (31393,31401,27306,31139,32325,32324,32321,30281,35984));
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31404 AND `DifficultyID`=0); -- 31404 (Azure Manabeast) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=31403 AND `DifficultyID`=0); -- 31403 (Azure Spellweaver)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`Entry`=31402 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32375 AND `DifficultyID`=0); -- 32375 (Warmage Yurias) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32373 AND `DifficultyID`=0); -- 32373 (Gatekeeper Melindra) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32369 AND `DifficultyID`=0); -- 32369 (Warmage Sarina) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32374 AND `DifficultyID`=0); -- 32374 (Librarian Belleford) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32372 AND `DifficultyID`=0); -- 32372 (Warmage Ilsudria) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32371 AND `DifficultyID`=0); -- 32371 (Warmage Halister) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32717 AND `DifficultyID`=0); -- 32717 (Drool) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry`=32441 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=106887 AND `DifficultyID`=0); -- 106887 (Cravitz Lorent) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32700 AND `DifficultyID`=0); -- 32700 (Halga Steelbarrow) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`Entry`=34244 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32602 AND `DifficultyID`=0); -- 32602 (Dalaran Visitor) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=24, `LevelScalingDeltaMax`=24, `ContentTuningID`=371, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=66618 AND `DifficultyID`=0); -- 66618 (Stitch) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=24, `LevelScalingDeltaMax`=24, `ContentTuningID`=371, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=66616 AND `DifficultyID`=0); -- 66616 (Mort) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31231 AND `DifficultyID`=0); -- 31231 (Lost Shandaral Spirit) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=24, `LevelScalingDeltaMax`=24, `ContentTuningID`=371, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=66619 AND `DifficultyID`=0); -- 66619 (Spooky Strangler) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `VerifiedBuild`=52649 WHERE (`Entry`=66636 AND `DifficultyID`=0); -- 66636 (Nearly Headless Jacob) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=881, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30271 AND `DifficultyID`=0); -- 30271 (Galendror Whitewing) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30241 AND `DifficultyID`=0); -- 30241 (Lanudal Silverhart) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30257 AND `DifficultyID`=0); -- 30257 (Scout Yribria) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30261 AND `DifficultyID`=0); -- 30261 (Scout Captain Daelin) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30255 AND `DifficultyID`=0); -- 30255 (Aniduria) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30244 AND `DifficultyID`=0); -- 30244 (Miura Brightweaver) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30263 AND `DifficultyID`=0); -- 30263 (Silver Covenant Horseman) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30238 AND `DifficultyID`=0); -- 30238 (Silver Covenant Scout) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30865 AND `DifficultyID`=0); -- 30865 (Shandaral Warrior Spirit) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31123 AND `DifficultyID`=0); -- 31123 (Shandaral Spirit Wolf) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30864 AND `DifficultyID`=0); -- 30864 (Shandaral Hunter Spirit) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30868 AND `DifficultyID`=0); -- 30868 (Unbound Corrupter) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30254 AND `DifficultyID`=0); -- 30254 (Marisalira) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=881, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30269 AND `DifficultyID`=0); -- 30269 (Skymaster Baeric) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30239 AND `DifficultyID`=0); -- 30239 (Alanura Firecloud) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `DamageModifier`=4.6, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30259 AND `DifficultyID`=0); -- 30259 (Scout Captain Elsia) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30256 AND `DifficultyID`=0); -- 30256 (Scout Ordimbral) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30253 AND `DifficultyID`=0); -- 30253 (Felindel Sunhammer) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30856 AND `DifficultyID`=0); -- 30856 (Unbound Trickster) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30265 AND `DifficultyID`=0); -- 30265 (Sunreaver Hawkrider) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30863 AND `DifficultyID`=0); -- 30863 (Shandaral Druid Spirit) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30233 AND `DifficultyID`=0); -- 30233 (Sunreaver Scout) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30862 AND `DifficultyID`=0); -- 30862 (Unbound Ent) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30860 AND `DifficultyID`=0); -- 30860 (Unbound Dryad) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31041 AND `DifficultyID`=0); -- 31041 (Dispirited Ent) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30861 AND `DifficultyID`=0); -- 30861 (Unbound Ancient) - CanSwim
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (33499,33498,30271,30269,30265,30263,30261,30259,30257,30256,30255,30254,30253,30244,30241,30239,30238,30233,66636,66619,66618,66616,106887,61143,35984,32717,32700,32602,32375,32374,32373,32372,32371,32369,32325,32324,32321,31404,31403,31401,31393,31231,31139,31123,31041,30868,30865,30864,30863,30862,30861,30860,30856,30281,27306,15214));
DELETE FROM `creature_questitem` WHERE `CreatureEntry`=33499 AND `DifficultyID`=1;
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=52649 WHERE `DisplayID` IN (28643, 11078, 24176, 24910, 27586, 27519, 25250, 27947, 27948, 27946, 27945, 27807, 28193, 30311, 69759, 23515, 23521, 1037, 193, 27720, 27882, 27923, 23517, 27929, 27919, 2541, 1004, 28200, 45628, 45629, 27518, 45630, 45260, 26911, 22474, 26891, 26900, 26908, 26898, 26896, 26888, 26886, 26887, 26885, 27368, 27366, 27364, 27367, 27482, 27365, 9590, 26879, 26897, 26910, 29695, 26892, 26907, 26899, 26889, 27358, 26878, 26877, 27360, 26880, 10621, 27572, 27451, 27478);
-- Gameobject templates
UPDATE `gameobject_template` SET `VerifiedBuild`=52649 WHERE `entry` IN (194394, 194393, 209869, 192911, 192912, 209868, 207493, 192909, 192908, 192910, 192062, 192891, 189980, 192061, 194540, 192709, 194213, 192894, 192063);
UPDATE `gameobject_questitem` SET `VerifiedBuild`=52649 WHERE (`Idx`=0 AND `GameObjectEntry` IN (194213,192911,192909,192910,192912,192908));
@@ -1,27 +0,0 @@
SET @CGUID := 7000528;
DELETE FROM `phase_name` WHERE `ID`=12615;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12615, 'Cosmetic: Lumberjack Queue in Algerson Lumberyard Office');
DELETE FROM `phase_area` WHERE `PhaseId`=12615;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9334, 12615, 'Cosmetic: Lumberjack Queue in Algerson Lumberyard Office');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12615));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12615, 0, 0, 0, 47, 0, 54726, 74, 0, '', 1, 'Player doesn\'t have Frame Work (54726) in state complete, incomplete, rewarded');
UPDATE `creature_equip_template` SET `VerifiedBuild`=54762 WHERE (`CreatureID`=129627 AND `ID`=1);
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+4;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 129627, 1643, 8567, 9334, '0', 12615, 0, 80752, 1, 1300.78125, -120.265632629394531, 10.92565155029296875, 4.596895217895507812, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+1, 129627, 1643, 8567, 9334, '0', 12615, 0, 80752, 1, 1300.579833984375, -124.720489501953125, 11.46352577209472656, 4.483132839202880859, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+2, 129627, 1643, 8567, 9334, '0', 12615, 0, 80751, 1, 1295.6927490234375, -127.276039123535156, 11.46352577209472656, 2.59120345115661621, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+3, 129627, 1643, 8567, 9334, '0', 12615, 0, 80752, 1, 1299.0504150390625, -127.0625, 11.46352577209472656, 3.303844690322875976, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+4, 129627, 1643, 8567, 9334, '0', 12615, 0, 80752, 1, 1300.2222900390625, -117.357643127441406, 10.85943508148193359, 4.828445911407470703, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=129627 AND `DifficultyID`=0); -- 129627 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=129627; -- Algerson Lumberjack
@@ -1,68 +0,0 @@
SET @CGUID := 7000533;
DELETE FROM `phase_name` WHERE `ID`=12624;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12624, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater and Lumberjacks in Algerson Lumberyard Office');
DELETE FROM `phase_area` WHERE `PhaseId`=12624;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9334, 12624, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater and Lumberjacks in Algerson Lumberyard Office');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12624));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12624, 0, 0, 0, 47, 0, 54726, 74, 0, '', 0, 'Player have Frame Work (54726) in state complete, incomplete, rewarded');
DELETE FROM `creature_equip_template` WHERE (`ID`=1 AND `CreatureID` IN (149019,149020,149021,149022));
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(149019, 1, 109579, 0, 0, 0, 0, 0, 0, 0, 0, 54762), -- Algerson Lumberjack
(149020, 1, 109579, 0, 0, 0, 0, 0, 0, 0, 0, 54762), -- Algerson Lumberjack
(149021, 1, 109579, 0, 0, 0, 0, 0, 0, 0, 0, 54762), -- Algerson Lumberjack
(149022, 1, 109579, 0, 0, 0, 0, 0, 0, 0, 0, 54762); -- Algerson Lumberjack
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+4;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 149019, 1643, 8567, 9334, '0', 12624, 0, 0, 1, 1291.76220703125, -132.538192749023437, 11.58151435852050781, 0.166917353868484497, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+1, 149020, 1643, 8567, 9334, '0', 12624, 0, 0, 1, 1303.2274169921875, -125.753471374511718, 11.46352577209472656, 3.386868715286254882, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+2, 149021, 1643, 8567, 9334, '0', 12624, 0, 0, 1, 1297.2603759765625, -130.052078247070312, 11.46352577209472656, 0.365938574075698852, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+3, 149022, 1643, 8567, 9334, '0', 12624, 0, 0, 1, 1298.8819580078125, -130.274307250976562, 11.46352577209472656, 2.196896314620971679, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+4, 148870, 1643, 8567, 9334, '0', 12624, 0, 0, 0, 1294.998291015625, -126.805557250976562, 11.46352577209472656, 2.681195974349975585, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Dorian Atwater (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+4;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 0, 0, 0, 720, 0, 0, 0, 0, ''), -- Algerson Lumberjack
(@CGUID+1, 0, 0, 0, 0, 0, 1, 0, 731, 0, 0, 0, 0, ''); -- Algerson Lumberjack
DELETE FROM `creature_template_addon` WHERE `entry` IN (149019, 149021, 149022);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(149019, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 149019 (Algerson Lumberjack)
(149021, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 149021 (Algerson Lumberjack)
(149022, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- 149022 (Algerson Lumberjack)
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149019 AND `DifficultyID`=0); -- 149019 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149020 AND `DifficultyID`=0); -- 149020 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149021 AND `DifficultyID`=0); -- 149021 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149022 AND `DifficultyID`=0); -- 149022 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template` SET `faction`=2909, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry` IN (149020, 149019, 149021, 149022); -- Algerson Lumberjack
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (91494, 91495);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(91494, 0.6987152099609375, 1.5, 0, 54762),
(91495, 0.347222000360488891, 1.5, 0, 54762);
UPDATE `creature_model_info` SET `VerifiedBuild`=54762 WHERE `DisplayID` IN (78480, 80857, 33719, 32646, 707, 79015, 80750, 30256, 88594, 64814, 79804, 47165, 42744, 61206, 47166, 78835, 64329, 80777, 80754, 80753, 80854, 80752, 83295, 61205, 80746, 79871, 80751);
-- Algerson Lumberjack smart ai
SET @ENTRY := 149021;
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`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 5000, 6000, 5000, 6000, 10, 274, 273, 1, 6, 603, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 6 seconds (OOC) - Self: Play random emote: 274, 273, 1, 6, 603,');
-- Algerson Lumberjack smart ai
SET @ENTRY := 149022;
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`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 3000, 4000, 5000, 6000, 10, 274, 273, 1, 6, 603, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 6 seconds (OOC) - Self: Play random emote: 274, 273, 1, 6, 603,');
@@ -1 +0,0 @@
UPDATE `creature` SET `equipment_id`=1 WHERE `id` IN(148911, 148912);
@@ -1,68 +0,0 @@
SET @CGUID := 7000538;
SET @OGUID := 7000195;
SET @NPCTEXTID := 570039;
DELETE FROM `phase_name` WHERE `ID`=12625;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12625, 'Cosmetic: Kul Tiran Unlock Questline - Sal Atwater, Hurricane and Elementals waiting in Evergreen Grove');
DELETE FROM `phase_area` WHERE `PhaseId`=12625;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9358, 12625, 'Cosmetic: Kul Tiran Unlock Questline - Sal Atwater, Hurricane and Elementals waiting in Evergreen Grove');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12625));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12625, 0, 0, 0, 47, 0, 54727, 74, 0, '', 0, 'Player have Team Carry (54727) in state complete, incomplete, rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 148873, 1643, 8567, 9358, '0', 12625, 0, 0, 0, 1703.421875, 11.39236164093017578, 67.9531402587890625, 3.668842315673828125, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Sal Atwater (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@CGUID+1, 150582, 1643, 8567, 9358, '0', 12625, 0, 0, 0, 1699.8941650390625, 11.83333301544189453, 67.43441009521484375, 3.680095195770263671, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Hurricane (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@CGUID+2, 148879, 1643, 8567, 9358, '0', 12625, 0, 0, 0, 1704.3819580078125, 9.237847328186035156, 68.13062286376953125, 3.399919509887695312, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Bound Earth (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@CGUID+3, 148879, 1643, 8567, 9358, '0', 12625, 0, 0, 0, 1700.4600830078125, 15.23090267181396484, 67.465240478515625, 4.043456077575683593, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Bound Earth (Area: Evergreen Grove - Difficulty: 0) CreateObject1
DELETE FROM `gameobject` WHERE `guid`=@OGUID+0;
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, 316864, 1643, 8567, 9358, '0', 12625, 0, 1706.0260009765625, 15.69965267181396484, 68.4251251220703125, 3.711865663528442382, 0.083636283874511718, 0.024515151977539062, -0.95597171783447265, 0.280217915773391723, 120, 255, 1, 54762); -- [DNT] Wagon (Area: Evergreen Grove - Difficulty: 0) CreateObject1
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=148873 AND `MenuID`=23726);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(148873, 23726, 54762); -- Sal Atwater
DELETE FROM `npc_text` WHERE `ID`=@NPCTEXTID+0;
INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES
(@NPCTEXTID+0, 1, 0, 0, 0, 0, 0, 0, 0, 167458, 0, 0, 0, 0, 0, 0, 0, 54762); -- 148873 (Sal Atwater)
DELETE FROM `gossip_menu` WHERE (`MenuID`=23726 AND `TextID`=@NPCTEXTID+0);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(23726, @NPCTEXTID+0, 54762); -- 148873 (Sal Atwater)
UPDATE `creature_model_info` SET `VerifiedBuild`=54762 WHERE `DisplayID` IN (81321, 81372, 79558, 79559, 79557, 86806, 86803, 45092, 79058, 82954, 82955, 80778, 79059, 40713, 47105, 16213, 87370, 86287, 82693, 85230, 80747);
UPDATE `creature_model_info` SET `BoundingRadius`=0.347222000360488891, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=90149;
UPDATE `creature_model_info` SET `BoundingRadius`=0.808565735816955566, `VerifiedBuild`=54762 WHERE `DisplayID`=86805;
UPDATE `creature_model_info` SET `BoundingRadius`=0.433400630950927734, `CombatReach`=1, `VerifiedBuild`=54762 WHERE `DisplayID` IN (70446, 70449);
UPDATE `creature_model_info` SET `BoundingRadius`=1.83896946907043457, `CombatReach`=1.25, `VerifiedBuild`=54762 WHERE `DisplayID`=106962;
UPDATE `creature_model_info` SET `BoundingRadius`=0.425056040287017822, `CombatReach`=0.300000011920928955, `VerifiedBuild`=54762 WHERE `DisplayID`=35424;
UPDATE `creature_model_info` SET `BoundingRadius`=0.6987152099609375, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=85232;
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=148873 AND `DifficultyID`=0); -- 148873 (Sal Atwater) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=150582 AND `DifficultyID`=0); -- 150582 (Hurricane) - CanSwim
UPDATE `creature_template` SET `faction`=2992, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=148873; -- Sal Atwater
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=150582; -- Hurricane
DELETE FROM `gameobject_template` WHERE `entry` IN (317053 /*[DNT] Witch Energy*/, 316866 /*[DNT] Log Pile 01*/, 316865 /*[DNT] Log Pile 02*/, 316864 /*[DNT] Wagon*/, 316821 /*Heavy Lumber*/);
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
(317053, 5, 49332, '[DNT] Witch Energy', '', '', '', 0.5, 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, 54762), -- [DNT] Witch Energy
(316866, 5, 46177, '[DNT] Log Pile 01', '', '', '', 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, 0, 0, 54762), -- [DNT] Log Pile 01
(316865, 5, 45298, '[DNT] Log Pile 02', '', '', '', 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, 0, 0, 54762), -- [DNT] Log Pile 02
(316864, 5, 44710, '[DNT] Wagon', '', '', '', 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, 0, 0, 54762), -- [DNT] Wagon
(316821, 10, 45298, 'Heavy Lumber', 'questinteract', 'Collecting', '', 1, 1922, 0, 0, 3000, 0, 0, 0, 0, 0, 0, 288971, 0, 0, 1, 19676, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 674, 54762); -- Heavy Lumber
UPDATE `gameobject_template` SET `VerifiedBuild`=54762 WHERE `entry` IN (278399, 295815, 295816, 295778, 275074, 294921, 35591, 276621, 288480, 288195, 281420, 287404, 276616, 295467, 295115, 295460, 295114, 295113, 295021, 294244, 294243, 294242, 294241, 294240, 303084, 295720, 295719, 295718, 295717, 295401, 295111, 295110, 294253, 294245, 294239, 295487, 295462, 295402, 295112, 294936, 294924, 294835, 294248, 294247, 294246, 294238, 294237, 295772, 295754, 295753, 295471, 295771, 295755, 294959, 294937, 294926, 297905, 295777, 295764, 295473, 295774, 295766, 295758, 295470, 292547, 294947, 295763, 295098, 295096, 295776, 295768, 295760, 295773, 295765, 295757, 303085, 301133, 295461, 295770, 295762, 294946, 294927, 325418, 252245, 293838, 281464, 276236, 281909, 294556, 302839, 281609, 292873, 303145, 297937, 295775, 295767, 295759, 295756, 301132, 295028, 295097, 295769, 295761);
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54762 WHERE `entry`=280603; -- Ritual Effigy
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54762 WHERE `entry`=281230; -- Formal Invitation
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54762 WHERE `entry`=288641; -- WANTED: Gryphon 'Nappers
UPDATE `gameobject_questitem` SET `VerifiedBuild`=54762 WHERE (`GameObjectEntry`=281909 AND `Idx`=0);
@@ -1,22 +0,0 @@
SET @CGUID := 7000542;
DELETE FROM `phase_name` WHERE `ID`=12864;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12864, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea frightened');
DELETE FROM `phase_area` WHERE `PhaseId`=12864;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12864, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea frightened - Bleak Hills Mine'),
(9432, 12864, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea frightened - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12864));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12864, 0, 0, 0, 47, 0, 54729, 8, 0, '', 0, 'Player have The Bleak Hills (54729) in state incomplete');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 150884, 1643, 8721, 9500, '0', 12864, 0, 0, 0, 102.875, 3401.12841796875, 210.9712371826171875, 2.603888750076293945, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Chelsea Wright (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid`=@CGUID+0;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 0, 1, 0, 431, 0, 0, 0, 0, ''); -- Chelsea Wright
@@ -1,19 +0,0 @@
SET @CGUID := 7000543;
DELETE FROM `phase_name` WHERE `ID` IN(12865, 12867);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12865, 'Cosmetic: Kul Tiran Unlock Questline - Wicker Beast in front of Chelsea'),
(12867, 'Cosmetic: Kul Tiran Unlock Questline - Unused');
DELETE FROM `phase_area` WHERE `PhaseId`=12865;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12865, 'Cosmetic: Kul Tiran Unlock Questline - Wicker Beast in front of Chelsea - Bleak Hills Mine'),
(9432, 12865, 'Cosmetic: Kul Tiran Unlock Questline - Wicker Beast in front of Chelsea - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12865));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12865, 0, 0, 0, 47, 0, 54729, 8, 0, '', 0, 'Player have The Bleak Hills (54729) in state incomplete');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 150885, 1643, 8721, 9500, '0', 12865, 0, 0, 0, 98.34722137451171875, 3404.9609375, 208.9343109130859375, 5.546810626983642578, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Wicker Beast (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
@@ -1,22 +0,0 @@
SET @CGUID := 7000544;
DELETE FROM `phase_name` WHERE `ID`=12866;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12866, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea calm');
DELETE FROM `phase_area` WHERE `PhaseId`=12866;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12866, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea calm - Bleak Hills Mine'),
(9432, 12866, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea calm - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12866));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12866, 0, 0, 0, 47, 0, 54729, 66, 0, '', 0, 'Player have The Bleak Hills (54729) in state complete, rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 150884, 1643, 8721, 9500, '0', 12866, 0, 0, 0, 102.875, 3401.12841796875, 210.9712371826171875, 2.603888750076293945, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Chelsea Wright (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=150884 AND `DifficultyID`=0); -- 150884 (Chelsea Wright) - CanSwim
UPDATE `creature_template` SET `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=150884; -- Chelsea Wright
@@ -1,26 +0,0 @@
SET @CGUID := 7000545;
DELETE FROM `phase_name` WHERE `ID`=12868;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12868, 'Cosmetic: Kul Tiran Unlock Questline - Fled Wicker Beast with Keys');
DELETE FROM `phase_area` WHERE `PhaseId`=12868;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12868, 'Cosmetic: Kul Tiran Unlock Questline - Fled Wicker Beast with Keys - Bleak Hills Mine'),
(9432, 12868, 'Cosmetic: Kul Tiran Unlock Questline - Fled Wicker Beast with Keys - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12868));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12868, 0, 0, 0, 47, 0, 54729, 66, 0, '', 0, 'Player have The Bleak Hills (54729) in state complete, rewarded'),
(26, 12868, 0, 0, 0, 47, 0, 54732, 74, 0, '', 1, 'Player doesn\'t have Drop It! (54732) in state incomplete, complete, rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 150885, 1643, 8721, 9500, '0', 12868, 0, 0, 0, 96.92534637451171875, 3346.322021484375, 221.391387939453125, 2.496227741241455078, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Wicker Beast (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1 (Auras: 292403 - [DNT] Bang Keys)
DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+0);
INSERT INTO `creature_addon` (`guid`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '292403'); -- 150885 (Wicker Beast) - [DNT] Bang Keys
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=150885 AND `DifficultyID`=0); -- 150885 (Wicker Beast) - CanSwim
UPDATE `creature_template` SET `faction`=190, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=150885; -- Wicker Beast
@@ -1,83 +0,0 @@
SET @CGUID := 7000546;
SET @OGUID := 7000196;
DELETE FROM `phase_name` WHERE `ID`=12875;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12875, 'Cosmetic: Kul Tiran Unlock Questline - Princess Ritual Circle');
DELETE FROM `phase_area` WHERE `PhaseId`=12875;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12875, 'Cosmetic: Kul Tiran Unlock Questline - Princess Ritual Circle - Bleak Hills Mine'),
(9432, 12875, 'Cosmetic: Kul Tiran Unlock Questline - Princess Ritual Circle - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12875));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12875, 0, 0, 0, 47, 0, 54729, 66, 0, '', 0, 'Player have The Bleak Hills (54729) in state complete, rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 122675, 1643, 8721, 9500, '0', 12875, 0, 0, 0, 158.14410400390625, 3203.5703125, 283.26190185546875, 1.059980154037475585, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Mayor Striggs (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@CGUID+1, 122674, 1643, 8721, 9500, '0', 12875, 0, 0, 0, 159.8194427490234375, 3206.41748046875, 283.436004638671875, 4.174034595489501953, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Trunksy (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@CGUID+2, 122676, 1643, 8721, 9500, '0', 12875, 0, 0, 0, 157.78472900390625, 3205.729248046875, 283.305145263671875, 6.135634422302246093, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Mr. Munchykins (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@CGUID+3, 150931, 1643, 8721, 9500, '0', 12875, 0, 0, 0, 160.609375, 3203.78564453125, 283.396942138671875, 4.181849002838134765, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- Princess (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1 (Auras: 35356 - Spawn Feign Death, 167641 - Blood Splatter)
DELETE FROM `creature_template_addon` WHERE `entry` IN (150931);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(150931, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '35356 167641'); -- 150931 (Princess) - Spawn Feign Death, Blood Splatter
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=122674 AND `DifficultyID`=0); -- 122674 (Trunksy) - Sessile, Floating - CannotTurn
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=122675 AND `DifficultyID`=0); -- 122675 (Mayor Striggs) - Sessile, Floating - CannotTurn
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=122676 AND `DifficultyID`=0); -- 122676 (Mr. Munchykins) - Sessile, Floating - CannotTurn
UPDATE `creature_template_difficulty` SET `ContentTuningID`=674, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=150931 AND `DifficultyID`=0); -- 150931 (Princess) - CanSwim
UPDATE `creature_template` SET `faction`=2908, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=150931; -- Princess
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=122676; -- Mr. Munchykins
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=122674; -- Trunksy
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=122675; -- Mayor Striggs
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, 270959, 1643, 8721, 9500, '0', 12875, 0, 158.1961822509765625, 3205.5625, 283.238739013671875, 0, 0, 0, 0, 1, 120, 255, 1, 54847), -- Tea Cup (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+1, 270959, 1643, 8721, 9500, '0', 12875, 0, 159.513885498046875, 3205.887939453125, 283.318511962890625, 0.070231571793556213, 0, 0, 0.035108566284179687, 0.999383509159088134, 120, 255, 1, 54847), -- Tea Cup (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+2, 270959, 1643, 8721, 9500, '0', 12875, 0, 160.9635467529296875, 3205.267333984375, 283.359893798828125, 0, 0, 0, 0, 1, 120, 255, 1, 54847), -- Tea Cup (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+3, 270959, 1643, 8721, 9500, '0', 12875, 0, 158.4461822509765625, 3204.0947265625, 283.2071533203125, 6.05180215835571289, 0, 0, -0.1154336929321289, 0.99331521987915039, 120, 255, 1, 54847), -- Tea Cup (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+4, 270959, 1643, 8721, 9500, '0', 12875, 0, 159.69097900390625, 3202.924560546875, 283.237945556640625, 0, 0, 0, 0, 1, 120, 255, 1, 54847), -- Tea Cup (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+5, 270961, 1643, 8721, 9500, '0', 12875, 0, 158.548614501953125, 3205.1572265625, 283.295440673828125, 2.537331819534301757, -0.01258182525634765, -0.01857185363769531, 0.95450592041015625, 0.297346949577331542, 120, 255, 1, 54847); -- Summoning Circle (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (270961 /*Summoning Circle*/, 270959 /*Tea Cup*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(270961, 0, 16, 0, 0), -- Summoning Circle
(270959, 0, 16, 0, 0); -- Tea Cup
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=270959; -- Tea Cup
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=270961; -- Summoning Circle
--
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (76045, 90959);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(76045, 1, 0, 0, 54847),
(90959, 0.208000004291534423, 1.5, 0, 54847);
UPDATE `creature_model_info` SET `VerifiedBuild`=54847 WHERE `DisplayID` IN (85031, 80768, 80734, 80767, 85177, 81872, 85178, 83050, 81868, 4602, 58145, 85311, 76674, 11686, 58170, 76677, 84850, 16358, 16356, 62863, 81890, 81079, 84041, 90950, 21342, 34168, 83309, 82393, 27823, 26774, 21072, 82382);
UPDATE `creature_model_info` SET `BoundingRadius`=0.579470038414001464, `VerifiedBuild`=54847 WHERE `DisplayID`=62862;
UPDATE `creature_model_info` SET `BoundingRadius`=0.829031646251678466, `CombatReach`=1.5, `VerifiedBuild`=54847 WHERE `DisplayID`=79807;
UPDATE `creature_model_info` SET `BoundingRadius`=1.847487092018127441, `VerifiedBuild`=54847 WHERE `DisplayID`=80962;
UPDATE `creature_model_info` SET `BoundingRadius`=1.288943290710449218, `CombatReach`=0.60000002384185791, `VerifiedBuild`=54847 WHERE `DisplayID`=35688;
DELETE FROM `gameobject_template` WHERE `entry` IN (322651 /*Storage Crate*/, 322641 /*[DNT] Dog House*/, 322642 /*[DNT] Scattered Hay*/, 322640 /*[DNT] Dog Ball*/, 322654 /*[DNT] Ore*/);
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
(322651, 2, 47100, 'Storage Crate', '', '', '', 2, 1634, 21951, 0, 0, 0, 0, 0, 0, 0, 0, 68034, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 674, 54847), -- Storage Crate
(322641, 5, 15511, '[DNT] Dog House', '', '', '', 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, 0, 0, 54847), -- [DNT] Dog House
(322642, 5, 51280, '[DNT] Scattered Hay', '', '', '', 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, 0, 0, 54847), -- [DNT] Scattered Hay
(322640, 5, 32607, '[DNT] Dog Ball', '', '', '', 0.5, 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, 54847), -- [DNT] Dog Ball
(322654, 5, 43646, '[DNT] Ore', '', '', '', 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, 0, 0, 54847); -- [DNT] Ore
UPDATE `gameobject_template` SET `ContentTuningId`=467, `VerifiedBuild`=54847 WHERE `entry`=289331; -- Perfect Telescope Location
UPDATE `gameobject_template` SET `VerifiedBuild`=54847 WHERE `entry` IN (276617, 276622, 284422, 278399, 276618, 325418, 281079, 288175, 288174, 288170, 288166, 288164, 288162, 288161, 278848, 288490, 288489, 293438, 281137, 277419, 276239, 276236, 288198, 322639, 281356, 281174, 276616, 322643, 278475, 276238, 276619, 294125, 288491, 288488);
UPDATE `gameobject_template` SET `ContentTuningId`=805, `VerifiedBuild`=54847 WHERE `entry`=297947; -- Falconer's Whistle
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=298858; -- Wanted Poster
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=281326; -- Falcon Cage
UPDATE `gameobject_template` SET `Data8`=103828, `Data10`=30091, `VerifiedBuild`=54847 WHERE `entry`=287255; -- Anvil
UPDATE `gameobject_template` SET `Data19`=2, `ContentTuningId`=705, `VerifiedBuild`=54847 WHERE `entry`=297825; -- Web-Covered Chest
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=280802; -- Silver Nugget
UPDATE `gameobject_template` SET `Data8`=103829, `Data10`=30092, `VerifiedBuild`=54847 WHERE `entry`=290464; -- Forge
@@ -1,74 +0,0 @@
SET @CGUID := 7000550;
DELETE FROM `phase_name` WHERE `ID`=12870;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12870, 'Cosmetic: Kul Tiran Unlock Questline - Wicker Beast in Wicker Hovel');
DELETE FROM `phase_area` WHERE `PhaseId`=12870;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12870, 'Cosmetic: Kul Tiran Unlock Questline - Wicker Beast in Wicker Hovel - Bleak Hills Mine'),
(9432, 12870, 'Cosmetic: Kul Tiran Unlock Questline - Wicker Beast in Wicker Hovel - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12870));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12870, 0, 0, 0, 47, 0, 55136, 74, 0, '', 1, 'Player doesn\'t have Her Dog Days Are Over (55136) in state incomplete, complete, rewarded'),
(26, 12870, 0, 0, 0, 48, 0, 388746, 0, 1, '', 0, 'Player has quest objective 388746 == 1 (but hasn\'t rewarded quest yet)');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 150885, 1643, 8721, 9500, '0', 12870, 0, 0, 0, 161.9340362548828125, 3202.85498046875, 283.35394287109375, 2.528188228607177734, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- Wicker Beast (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
--
UPDATE `creature_model_info` SET `VerifiedBuild`=54847 WHERE `DisplayID` IN (85028, 85029, 106962, 85408, 4259, 85407, 85410, 30244, 84293, 84296, 84295, 85409, 4601, 79540, 80653, 88527, 85965, 80444, 79523, 73274, 77269, 79522, 40025, 40021, 79552, 70445, 64016, 70443, 40020, 70451, 79806, 80955, 79808, 80953, 70442, 2177, 81082, 79366, 70440, 82000, 86952, 81965, 79375, 79195, 81994, 85629, 40093, 51294, 36620, 82001, 87979, 88292, 80054, 45149, 76994, 72014, 64184, 76995, 75365, 78631, 70448, 32187, 82797, 84086, 78046, 81745, 84087, 79313, 82959, 63016, 76875, 90896, 79001, 78999, 78468, 78216, 78214, 84085, 78210, 77046, 78211, 236, 82795, 76855, 78215, 78964, 77048, 79496, 78467, 38857, 78196, 79952, 78195, 82546, 78212, 82579, 88481, 76857, 238, 88616, 82936, 36957, 36956, 85649, 87370, 82947, 79280, 60901, 79246, 9829, 36595, 976, 15468, 38497, 6533, 81928, 81866, 77489, 90148, 80753, 79557, 91494, 91495, 90814, 8550, 90149, 86806, 86805, 86803, 80754, 45092, 80752, 82954, 80854, 82955, 40713, 80778, 79871, 85189, 85188, 88594, 80983, 87918, 64329, 82019, 82239, 81199, 79558, 70449, 62722, 79559, 82950, 79211, 30256, 81753, 42408, 85214, 45491, 82543, 82540, 78472, 78990, 78963, 84804, 82544, 79900, 78965, 78962, 77498, 76548, 79560, 81746, 82796, 83812, 76552, 78992, 78469, 79382, 78471, 17188, 79380, 82539, 82937, 81747, 88482, 75339, 82612, 77053, 81743, 85213, 78475, 82538, 75340, 78994, 80845, 82541, 78993, 80846, 77043, 82545, 39726, 78835, 237, 78967, 45490, 81957, 42744, 70446, 76880, 4626, 229, 76870, 6302, 76889, 79058, 76856, 79059, 81084, 33719, 32646, 88290, 8014, 45494, 86197, 81078, 4260, 30263, 84294);
UPDATE `creature_model_info` SET `BoundingRadius`=0.665383040904998779, `CombatReach`=0.800000011920928955, `VerifiedBuild`=54847 WHERE `DisplayID` IN (70663, 71224);
UPDATE `creature_model_info` SET `BoundingRadius`=0.5, `CombatReach`=1.5, `VerifiedBuild`=54847 WHERE `DisplayID` IN (81966, 81964);
UPDATE `creature_model_info` SET `BoundingRadius`=1.847487092018127441, `VerifiedBuild`=54847 WHERE `DisplayID`=32546;
UPDATE `creature_model_info` SET `BoundingRadius`=0.938482880592346191, `CombatReach`=1, `VerifiedBuild`=54847 WHERE `DisplayID`=78242;
UPDATE `creature_model_info` SET `BoundingRadius`=1, `VerifiedBuild`=54847 WHERE `DisplayID`=82537;
UPDATE `creature_model_info` SET `BoundingRadius`=1.594119191169738769, `CombatReach`=1.760000109672546386, `VerifiedBuild`=54847 WHERE `DisplayID`=79267;
UPDATE `creature_model_info` SET `BoundingRadius`=0.642672121524810791, `CombatReach`=1.5, `VerifiedBuild`=54847 WHERE `DisplayID`=765;
UPDATE `creature_model_info` SET `BoundingRadius`=1.32942509651184082, `CombatReach`=1.60000002384185791, `VerifiedBuild`=54847 WHERE `DisplayID`=81194;
UPDATE `creature_model_info` SET `BoundingRadius`=0.908434152603149414, `CombatReach`=1.5, `VerifiedBuild`=54847 WHERE `DisplayID`=87960;
UPDATE `creature_model_info` SET `BoundingRadius`=0.6987152099609375, `CombatReach`=1.5, `VerifiedBuild`=54847 WHERE `DisplayID`=87959;
UPDATE `creature_model_info` SET `BoundingRadius`=1.594113588333129882, `CombatReach`=1, `VerifiedBuild`=54847 WHERE `DisplayID`=79800;
DELETE FROM `gameobject_template` WHERE `entry` IN (322638 /*Gnawed Bone*/, 322637 /*Squeaky Toy*/, 322636 /*Worn Collar*/, 322620 /*Storeroom Keys*/);
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
(322638, 3, 26528, 'Gnawed Bone', 'questinteract', 'Collecting', '', 2, 2160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95371, 1, 0, 0, 0, 674, 54847), -- Gnawed Bone
(322637, 3, 36950, 'Squeaky Toy', 'questinteract', 'Collecting', '', 1, 2160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95370, 1, 0, 0, 0, 674, 54847), -- Squeaky Toy
(322636, 3, 52309, 'Worn Collar', 'questinteract', 'Collecting', '', 2, 2160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95369, 1, 0, 0, 0, 674, 54847), -- Worn Collar
(322620, 3, 42973, 'Storeroom Keys', 'questinteract', 'Collecting', '', 1.5, 2160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95364, 1, 0, 0, 0, 674, 54847); -- Storeroom Keys
UPDATE `gameobject_template` SET `VerifiedBuild`=54847 WHERE `entry` IN (287329, 277273, 296271, 276258, 276257, 276251, 279586, 279587, 292912, 279594, 292913, 295192, 295190, 295188, 295170, 295169, 295168, 295167, 295166, 295165, 295164, 295163, 281014, 295183, 278778, 295293, 295210, 295220, 295295, 295292, 295209, 295207, 295294, 295208, 295299, 295297, 295296, 295216, 295215, 295214, 295213, 295298, 295212, 295211, 295303, 295302, 295301, 295300, 295225, 295224, 295223, 295222, 277514, 279319, 279318, 273955, 295178, 276256, 297132, 295179, 295316, 295317, 276733, 297139, 295794, 295793, 295792, 295791, 317053, 316866, 316865, 316864, 294921, 35591, 275074, 281464, 281420, 294927, 281909, 288480, 288195, 277717, 278402, 277427, 277386, 281609, 295314, 294556, 295313, 287404, 295277, 295276, 295273, 295272, 294477, 294476, 294475, 292547, 295802, 295274, 295226, 295275, 295227, 295247, 303145, 295801, 295206, 295321, 295271, 295270, 295246, 295221, 289310, 282250, 281718, 272201, 272200, 295269, 295266, 295268, 295258, 295260, 296390, 295902, 295901, 295900, 295899, 295898, 295267, 295261, 295259, 295200, 295265, 295264, 295263, 295262, 295219, 295218, 295217, 278252, 309572, 279703, 280693, 302838, 302839, 292873, 297937, 278571, 278406, 278405, 279289, 278528, 291204, 290146, 276240, 290145, 298913, 298459, 297137, 297136, 277595, 276255, 276254, 302779, 298769, 277596, 276403, 276253, 276234, 278432, 297630, 295778, 297903, 297902, 297892, 276874, 276645, 276872, 276871, 276868, 277331, 277330, 277329, 276873, 276867, 375181);
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54847 WHERE `entry`=273270; -- Harbor Seaweed
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54847 WHERE `entry`=273798; -- Jar of Blubber
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54847 WHERE `entry`=273799; -- Bundle of Vellum
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54847 WHERE `entry`=276837; -- Recipe Rock
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=287941; -- Bag of Horse Treats
UPDATE `gameobject_template` SET `ContentTuningId`=705, `VerifiedBuild`=54847 WHERE `entry`=275070; -- Small Treasure Chest
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54847 WHERE `entry`=276838; -- Stirring Bone
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=278813; -- Post
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54847 WHERE `entry`=276270; -- Soup Stone
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=281172; -- Suspicious Pile of Meat
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=277415; -- Drust Rune Trap
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=273956; -- Small Treasure Chest
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276206; -- Bundle of Wicker
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276205; -- Bones
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276204; -- Fruit
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276203; -- Herbs
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276202; -- Grain
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276201; -- Scrolls
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276200; -- Entrails
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276247; -- Child-sized Backpack
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=77845, `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=278516; -- Adventurer's Society Loot Stash
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276869; -- Wrapped Supplies
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276870; -- Cask of Salted Fish
DELETE FROM `gameobject_questitem` WHERE (`Idx`=0 AND `GameObjectEntry` IN (322638,322637,322636,322620));
INSERT INTO `gameobject_questitem` (`GameObjectEntry`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(322638, 0, 167174, 54847), -- Gnawed Bone
(322637, 0, 167173, 54847), -- Squeaky Toy
(322636, 0, 167172, 54847), -- Worn Collar
(322620, 0, 167168, 54847); -- Storeroom Keys
UPDATE `gameobject_questitem` SET `VerifiedBuild`=54847 WHERE (`Idx`=0 AND `GameObjectEntry` IN (276258,276257,273270,273798,273799,276838,276270,281909,277427,276255,276254,276253,281137,284422,280802));
@@ -1,29 +0,0 @@
SET @CGUID := 7000551;
DELETE FROM `phase_name` WHERE `ID`=12886;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12886, 'Cosmetic: Kul Tiran Unlock Questline - Princess in front of Chelsea in Bleak Hills Mine');
DELETE FROM `phase_area` WHERE `PhaseId`=12886;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12886, 'Cosmetic: Kul Tiran Unlock Questline - Princess in front of Chelsea - Bleak Hills Mine'),
(9432, 12886, 'Cosmetic: Kul Tiran Unlock Questline - Princess in front of Chelsea - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12886));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12886, 0, 0, 0, 47, 0, 55136, 64, 0, '', 0, 'Player have Her Dog Days Are Over (55136) in state rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 150957, 1643, 8721, 9432, '0', 12886, 0, 0, 0, 98.34722137451171875, 3404.9609375, 208.9343109130859375, 5.546810626983642578, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- Princess (Area: Watchman's Rise - Difficulty: 0) CreateObject1
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=150957; -- Princess
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=150957 AND `DifficultyID`=0); -- 150957 (Princess) - CanSwim
--
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (322636 /*Worn Collar*/, 322637 /*Squeaky Toy*/, 322638 /*Gnawed Bone*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(322636, 0, 2113540, 0, 0), -- Worn Collar
(322637, 0, 2113540, 0, 0), -- Squeaky Toy
(322638, 0, 2113540, 0, 0); -- Gnawed Bone
@@ -1,32 +0,0 @@
SET @CGUID := 7000552;
DELETE FROM `phase_name` WHERE `ID`=12884;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12884, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea Wright petting Princess in Bleak Hills Mine');
DELETE FROM `phase_area` WHERE `PhaseId`=12884;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12884, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea Wright petting Princess - Bleak Hills Mine'),
(9432, 12884, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea Wright petting Princess - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12884));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12884, 0, 0, 0, 47, 0, 54733, 74, 0, '', 0, 'Player have Make it Wright (54733) in state incomplete, complete, rewarded');
-- Princess Ritual Circle
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12875)) AND `ConditionValue1`=54733;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12875, 0, 0, 0, 47, 0, 54733, 74, 0, '', 1, 'Player doesn\'t have Make it Wright (54733) in state incomplete, complete, rewarded');
-- Chelsea calm
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12866)) AND `ConditionValue1`=54733;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12866, 0, 0, 0, 47, 0, 54733, 74, 0, '', 1, 'Player doesn\'t have Make it Wright (54733) in state incomplete, complete, rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 150884, 1643, 8721, 9432, '0', 12884, 0, 0, 0, 99.08159637451171875, 3403.7197265625, 209.405242919921875, 1.96906137466430664, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- Chelsea Wright (Area: Watchman's Rise - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+0);
INSERT INTO `creature_addon` (`guid`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 1, 0, 0, 11679, 0, 0, 0, ''); -- 150884 (Chelsea Wright)
@@ -1 +0,0 @@
ALTER TABLE `world_safe_locs` ADD `TransportSpawnId` bigint unsigned DEFAULT NULL AFTER `Facing`;
@@ -1,20 +0,0 @@
--
SET @CGUID := 7000553;
DELETE FROM `phase_name` WHERE `ID`=12626;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12626, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater near Haunted Lumber in Evergreen Grove');
DELETE FROM `phase_area` WHERE `PhaseId`=12626;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9358, 12626, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater near Haunted Lumber - Evergreen Grove');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12626));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12626, 0, 0, 0, 47, 0, 54727, 66, 0, '', 0, 'Player have Team Carry (54727) in state complete, rewarded'),
(26, 12626, 0, 0, 0, 47, 0, 54728, 64, 0, '', 1, 'Player doesn\'t have The Lumber is Haunted (54728) in state rewarded'),
(26, 12626, 0, 0, 0, 47, 0, 54729, 64, 0, '', 1, 'Player doesn\'t have The Bleak Hills (54729) in state rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 148870, 1643, 8567, 9358, '0', 12626, 0, 0, 0, 1701.2864990234375, 10.18055534362792968, 67.647979736328125, 0.581830918788909912, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Dorian Atwater (Area: Evergreen Grove - Difficulty: 0) CreateObject1
@@ -1,69 +0,0 @@
--
SET @CGUID := 7000554;
SET @OGUID := 7000202;
DELETE FROM `phase_name` WHERE `ID`=12844;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12844, 'Cosmetic: Kul Tiran Unlock Questline - Lumberjacks and Haunted Lumber in Evergreen Grove');
DELETE FROM `phase_area` WHERE `PhaseId`=12844;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9358, 12844, 'Cosmetic: Kul Tiran Unlock Questline - Lumberjacks and Haunted Lumber - Evergreen Grove');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12844));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12844, 0, 0, 0, 47, 0, 54727, 66, 0, '', 0, 'Player have Team Carry (54727) in state complete, rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 149020, 1643, 8567, 9358, '0', 12844, 0, 0, 1, 1691.9600830078125, 15.6875, 67.2205352783203125, 1.203155398368835449, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@CGUID+1, 149022, 1643, 8567, 9358, '0', 12844, 0, 0, 1, 1707.9166259765625, 3.137152910232543945, 70.6409759521484375, 0.734791696071624755, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@CGUID+2, 149021, 1643, 8567, 9358, '0', 12844, 0, 0, 1, 1706.704833984375, 4.387152671813964843, 69.80371856689453125, 0.570759117603302001, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@CGUID+3, 149019, 1643, 8567, 9358, '0', 12844, 0, 0, 1, 1690.9461669921875, 17.64409828186035156, 67.06375885009765625, 0.871639847755432128, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Algerson Lumberjack (Area: Evergreen Grove - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+3;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Algerson Lumberjack
(@CGUID+1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Algerson Lumberjack
(@CGUID+2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Algerson Lumberjack
(@CGUID+3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- Algerson Lumberjack
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, 316865, 1643, 8567, 9358, '0', 12844, 0, 1711.873291015625, 12.18923664093017578, 69.38278961181640625, 5.295260906219482421, 0.061417579650878906, -0.03307247161865234, -0.47296333312988281, 0.878316462039947509, 120, 255, 1, 54762), -- [DNT] Log Pile 02 (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@OGUID+1, 316865, 1643, 8567, 9358, '0', 12844, 0, 1715.41845703125, 7.71875, 72.98453521728515625, 2.179689884185791015, 0.461495876312255859, 0.884395599365234375, 0.061842918395996093, 0.032271843403577804, 120, 255, 1, 54762), -- [DNT] Log Pile 02 (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@OGUID+2, 316865, 1643, 8567, 9358, '0', 12844, 0, 1694.6180419921875, 20.38541603088378906, 66.80361175537109375, 3.805117130279541015, 0.005684375762939453, -0.01650047302246093, -0.94532585144042968, 0.325659990310668945, 120, 255, 1, 54762), -- [DNT] Log Pile 02 (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@OGUID+3, 317053, 1643, 8567, 9358, '0', 12844, 0, 1712.814208984375, 9.135416984558105468, 72.0547332763671875, 0, 0, 0, 0, 1, 120, 255, 1, 54762), -- [DNT] Witch Energy (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@OGUID+4, 317053, 1643, 8567, 9358, '0', 12844, 0, 1693.74658203125, 19.16840362548828125, 66.79663848876953125, 0, 0, 0, 0, 1, 120, 255, 1, 54762), -- [DNT] Witch Energy (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@OGUID+5, 316866, 1643, 8567, 9358, '0', 12844, 0, 1711.76220703125, 9.321180343627929687, 70.25052642822265625, 5.397867202758789062, 0.161641120910644531, 0.162163734436035156, -0.43224620819091796, 0.87220311164855957, 120, 255, 1, 54762); -- [DNT] Log Pile 01 (Area: Evergreen Grove - Difficulty: 0) CreateObject1
DELETE FROM `creature_template_addon` WHERE `entry` IN (150761);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(150761, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '292170'); -- 150761 (Log Stalker) - [DNT] Log Stalker Aura
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=149025 AND `DifficultyID`=0); -- 149025 (Heavy Lumber) - Sessile, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=149027 AND `DifficultyID`=0); -- 149027 (Lumber Carried) - Sessile, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149032 AND `DifficultyID`=0); -- 149032 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149033 AND `DifficultyID`=0); -- 149033 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149034 AND `DifficultyID`=0); -- 149034 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149035 AND `DifficultyID`=0); -- 149035 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149036 AND `DifficultyID`=0); -- 149036 (Algerson Bodyguard) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=150761 AND `DifficultyID`=0); -- 150761 (Log Stalker) - CanSwim
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=149027; -- Lumber Carried
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=33555200, `unit_flags2`=67110912, `unit_flags3`=16777216 WHERE `entry`=150761; -- Log Stalker
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=256, `unit_flags2`=2048 WHERE `entry`=149036; -- Algerson Bodyguard
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry` IN (149032, 149033, 149034, 149035); -- Algerson Lumberjack
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=149025; -- Heavy Lumber
-- Algerson Lumberjack smart ai
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 149019;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = -(@CGUID+3);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-(@CGUID+3), 0, 0, 0, '', 1, 0, 100, 0, 2000, 6000, 5000, 6000, 10, 274, 273, 1, 6, 603, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 6 seconds (OOC) - Self: Play random emote: 274, 273, 1, 6, 603,');
-- Algerson Lumberjack smart ai
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 149020;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = -(@CGUID+0);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-(@CGUID+0), 0, 0, 0, '', 1, 0, 100, 0, 2000, 6000, 5000, 6000, 10, 274, 273, 1, 6, 603, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 6 seconds (OOC) - Self: Play random emote: 274, 273, 1, 6, 603,');
@@ -1,42 +0,0 @@
SET @CGUID := 7000558;
SET @NPCTEXTID := 570040;
DELETE FROM `phase_name` WHERE `ID`=12634;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12634, 'Cosmetic: Kul Tiran Unlock Questline - Arthur Tradewind Cat Form');
DELETE FROM `phase_area` WHERE `PhaseId`=12634;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9134, 12634, 'Cosmetic: Kul Tiran Unlock Questline - Arthur Tradewind Cat Form - Gol Koval');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12634));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12634, 0, 0, 0, 47, 0, 54727, 64, 0, '', 0, 'Player have Team Carry (54727) in state rewarded'),
(26, 12634, 0, 0, 0, 48, 0, 388208, 0, 1, '', 1, 'Player doesn\'t have quest objective 388208 == 1');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 149293, 1643, 8721, 9134, '0', 12634, 0, 0, 0, -1006.2603759765625, 1755.6302490234375, 124.049346923828125, 4.171336650848388671, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- Arthur Tradewind (Area: Gol Koval - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid`=@CGUID+0;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Arthur Tradewind
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `StaticFlags3`=33554432, `VerifiedBuild`=54847 WHERE (`Entry`=149293 AND `DifficultyID`=0); -- 149293 (Arthur Tradewind) - CanSwim - CannotTurn
UPDATE `creature_template` SET `faction`=3011, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=149293; -- Arthur Tradewind
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=149293 AND `MenuID`=23768);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(149293, 23768, 54847); -- Arthur Tradewind
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+4;
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, 168210, 0, 0, 0, 0, 0, 0, 0, 54847); -- 149293 (Arthur Tradewind)
DELETE FROM `gossip_menu` WHERE (`MenuID`=23768 AND `TextID`=@NPCTEXTID+0);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(23768, @NPCTEXTID+0, 54847); -- 149293 (Arthur Tradewind)
DELETE FROM `gossip_menu_option` WHERE (`MenuID`=23768 AND `OptionID`=0);
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(23768, 50185, 0, 0, 'Can you take me to the High Thornspeaker?', 168211, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 54847);
@@ -1,63 +0,0 @@
SET @CGUID := 7000559;
SET @NPCTEXTID := 570041;
DELETE FROM `phase_name` WHERE `ID`=12645;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12645, 'Cosmetic: See Ulfar in Ulfars Den');
DELETE FROM `phase_area` WHERE `PhaseId`=12645;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9965, 12645, 'Cosmetic: See Ulfar in Ulfars Den');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12645));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12645, 0, 0, 0, 48, 0, 388248, 0, 1, '', 1, 'Player doesn\'t have quest objective 388248 == 1'),
(26, 12645, 0, 0, 1, 47, 0, 54731, 66, 0, '', 0, 'Player have Balance in All Things (54731) in state complete, rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 141159, 1643, 8721, 9965, '0', 12645, 0, 0, 0, -489, 2710.79248046875, 279.670654296875, 5.194651603698730468, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- Ulfar (Area: Ulfar's Den - Difficulty: 0) CreateObject1
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=141159 AND `DifficultyID`=0); -- 141159 (Ulfar) - CanSwim
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=141159 AND `MenuID`=23072) OR (`CreatureID`=149386 AND `MenuID`=23899);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(141159, 23072, 54847), -- Ulfar
(149386, 23899, 54847); -- Ulfar
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+2;
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, 161422, 0, 0, 0, 0, 0, 0, 0, 54847), -- 141159 (Ulfar)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 168297, 0, 0, 0, 0, 0, 0, 0, 54847), -- 141159 (Ulfar)
(@NPCTEXTID+2, 1, 0, 0, 0, 0, 0, 0, 0, 170289, 0, 0, 0, 0, 0, 0, 0, 54847); -- 149386 (Ulfar)
DELETE FROM `gossip_menu` WHERE (`MenuID`=23310 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=23072 AND `TextID`=@NPCTEXTID+1) OR (`MenuID`=23899 AND `TextID`=@NPCTEXTID+2);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(23310, @NPCTEXTID+0, 54847), -- 141159 (Ulfar)
(23072, @NPCTEXTID+1, 54847), -- 141159 (Ulfar)
(23899, @NPCTEXTID+2, 54847); -- 149386 (Ulfar)
DELETE FROM `gossip_menu_option` WHERE (`MenuID`=23072 AND `OptionID` IN (2,6));
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(23072, 49063, 2, 0, 'Are you a druid as well?', 161426, 0, 0, 23310, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 54847),
(23072, 49067, 6, 0, '|cFF0000FF(Quest)|r Tell me how I can help.', 168298, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 54847);
UPDATE `gossip_menu_option` SET `GossipOptionID`=49062, `OptionBroadcastTextID`=25092, `ActionMenuID`=23307, `VerifiedBuild`=54847 WHERE (`MenuID`=23072 AND `OptionID`=1); -- OptionBroadcastTextID: 25092 - 38470 - 47091 - 47632 - 62792 - 65124 - 79414 - 97339 - 153888 - 161428 - 166571 - 176081 - 185133 - 224837
UPDATE `gossip_menu_option` SET `GossipOptionID`=49065, `ActionMenuID`=23311, `VerifiedBuild`=54847 WHERE (`MenuID`=23072 AND `OptionID`=4);
UPDATE `gossip_menu_option` SET `GossipOptionID`=49155, `OptionBroadcastTextID`=61781, `ActionMenuID`=23072, `VerifiedBuild`=54847 WHERE (`MenuID`=23307 AND `OptionID`=0); -- OptionBroadcastTextID: 61781 - 121489 - 152386 - 157767 - 171009
UPDATE `gossip_menu_option` SET `GossipOptionID`=49156, `OptionBroadcastTextID`=61781, `ActionMenuID`=23072, `VerifiedBuild`=54847 WHERE (`MenuID`=23310 AND `OptionID`=0); -- OptionBroadcastTextID: 61781 - 121489 - 152386 - 157767 - 171009
UPDATE `gossip_menu_option` SET `GossipOptionID`=49157, `OptionBroadcastTextID`=61781, `ActionMenuID`=23072, `VerifiedBuild`=54847 WHERE (`MenuID`=23311 AND `OptionID`=0); -- OptionBroadcastTextID: 61781 - 121489 - 152386 - 157767 - 171009
--
DELETE FROM `creature_model_info` WHERE `DisplayID`=90894;
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(90894, 5, 0, 0, 54847);
UPDATE `creature_model_info` SET `BoundingRadius`=1, `CombatReach`=1, `VerifiedBuild`=54847 WHERE `DisplayID`=86573;
UPDATE `creature_model_info` SET `VerifiedBuild`=54847 WHERE `DisplayID` IN (87111, 87519, 87518, 80850, 79761, 79843, 80951, 78516, 80766, 87930, 85030, 83401, 56156, 85176, 83402, 85032, 83399, 52598, 79282, 134, 79676, 87425, 86520, 85390, 86698, 81081, 86525, 81144, 2537, 86519);
UPDATE `creature_model_info` SET `BoundingRadius`=0.866801261901855468, `CombatReach`=2, `VerifiedBuild`=54847 WHERE `DisplayID`=86555;
UPDATE `creature_model_info` SET `BoundingRadius`=0.859295487403869628, `CombatReach`=0.400000005960464477, `VerifiedBuild`=54847 WHERE `DisplayID` IN (80910, 45598, 45906);
UPDATE `creature_model_info` SET `BoundingRadius`=0.25, `CombatReach`=0.25, `VerifiedBuild`=54847 WHERE `DisplayID`=81097;
UPDATE `creature_model_info` SET `BoundingRadius`=2.588892936706542968, `CombatReach`=1.5, `VerifiedBuild`=54847 WHERE `DisplayID`=60055;
UPDATE `creature_model_info` SET `BoundingRadius`=1.881773948669433593, `CombatReach`=2.299999952316284179, `VerifiedBuild`=54847 WHERE `DisplayID`=53283;
UPDATE `creature_model_info` SET `BoundingRadius`=0.434602528810501098, `VerifiedBuild`=54847 WHERE `DisplayID`=52607;
@@ -1,22 +0,0 @@
SET @CGUID := 7000560;
DELETE FROM `phase_name` WHERE `ID`=12644;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12644, 'Cosmetic: Kul Tiran Unlock Questline - Ulfar before Ritual');
DELETE FROM `phase_area` WHERE `PhaseId`=12644;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9965, 12644, 'Cosmetic: Kul Tiran Unlock Questline - Ulfar before Ritual - Ulfars Den');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12644));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12644, 0, 0, 0, 48, 0, 388248, 0, 1, '', 0, 'Player have quest objective 388248 == 1'),
(26, 12644, 0, 0, 0, 48, 0, 388256, 0, 1, '', 1, 'Player doesn\'t have quest objective 388256 == 1');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 149386, 1643, 8721, 9965, '0', 12644, 0, 0, 0, -497.720489501953125, 2720.13720703125, 279.41680908203125, 0.197329580783843994, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- Ulfar (Area: Ulfar's Den - Difficulty: 0) CreateObject1
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=149386 AND `DifficultyID`=0); -- 149386 (Ulfar) - CanSwim
UPDATE `creature_template` SET `faction`=3011, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=149386; -- Ulfar
@@ -1,20 +0,0 @@
SET @CGUID := 7000561;
DELETE FROM `phase_name` WHERE `ID`=12859;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12859, 'Cosmetic: Kul Tiran Unlock Questline - FX Stalker in Ulfars Den');
DELETE FROM `phase_area` WHERE `PhaseId`=12859;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9965, 12859, 'Cosmetic: Kul Tiran Unlock Questline - FX Stalker - Ulfars Den');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12859));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12859, 0, 0, 0, 47, 0, 54731, 8, 0, '', 0, 'Player have Balance in All Things (54731) in state incomplete'),
(26, 12859, 0, 0, 0, 48, 0, 388256, 0, 1, '', 1, 'Player doesn\'t have quest objective 388256 == 1');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 149374, 1643, 8721, 9965, '0', 12859, 0, 0, 0, -488.498260498046875, 2723.900146484375, 279.36395263671875, 0, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- FX Stalker (Area: Ulfar's Den - Difficulty: 0) CreateObject1
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x80 WHERE `entry`=149374;
@@ -1,36 +0,0 @@
SET @CGUID := 7000562;
SET @OGUID := 7000208;
DELETE FROM `phase_name` WHERE `ID`=12858;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12858, 'Cosmetic: Kul Tiran Unlock Questline - Ancient Seedling and Haunted Lumber');
DELETE FROM `phase_area` WHERE `PhaseId`=12858;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9965, 12858, 'Cosmetic: Kul Tiran Unlock Questline - Ancient Seedling and Haunted Lumber - Ulfars Den');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12858));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12858, 0, 0, 0, 48, 0, 388248, 0, 1, '', 0, 'Player have quest objective 388248 == 1'),
(26, 12858, 0, 0, 0, 47, 0, 54731, 66, 0, '', 1, 'Player doesn\'t have Balance in All Things (54731) in state complete, rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 149365, 1643, 8721, 9965, '0', 12858, 0, 0, 0, -488.489593505859375, 2723.890625, 280.480316162109375, 0, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- Ancient Seedling (Area: Ulfar's Den - Difficulty: 0) CreateObject1
DELETE FROM `gameobject` WHERE `guid`=@OGUID+0;
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, 316972, 1643, 8721, 9965, '0', 12858, 0, -488.513885498046875, 2723.861083984375, 279.28173828125, 0, 0, 0, 0, 1, 120, 255, 1, 54847); -- Algerson Lumber Sample (Area: Ulfar's Den - Difficulty: 0) CreateObject1
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=805306624, `VerifiedBuild`=54847 WHERE (`Entry`=149365 AND `DifficultyID`=0); -- 149365 (Ancient Seedling) - Sessile, CanSwim, Floating
UPDATE `creature_template` SET `npcflag`=16777216, `speed_run`=1, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=67110912, `unit_flags3`=16777216 WHERE `entry`=149365; -- Ancient Seedling
DELETE FROM `creature_template_addon` WHERE `entry` IN (149365);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(149365, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- 149365 (Ancient Seedling)
--
DELETE FROM `gameobject_template` WHERE `entry` IN (316972 /*Algerson Lumber Sample*/, 316908 /*Empowered Minor Cairne*/);
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
(316972, 5, 46177, 'Algerson Lumber Sample', '', '', '', 0.400000005960464477, 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, 0, 54847), -- Algerson Lumber Sample
(316908, 10, 49311, 'Empowered Minor Cairne', 'questinteract', 'Filling Vessel', '', 0.400000005960464477, 1690, 0, 0, 3000, 0, 0, 0, 0, 0, 0, 289438, 0, 0, 0, 168177, 0, 0, 0, 0, 0, 1, 0, 67012, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 517, 54847); -- Empowered Minor Cairne
@@ -1,21 +0,0 @@
SET @CGUID := 7000562;
DELETE FROM `phase_name` WHERE `ID`=12646;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12646, 'Cosmetic: Kul Tiran Unlock Questline - FX Stalker Dread Vessel in Ulfars Den');
DELETE FROM `phase_area` WHERE `PhaseId`=12646;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9965, 12646, 'Cosmetic: Kul Tiran Unlock Questline - FX Stalker Dread Vessel - Ulfars Den');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12646));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12646, 0, 0, 0, 48, 0, 388256, 0, 1, '', 0, 'Player have quest objective 388256 == 1');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 149374, 1643, 8721, 9965, '0', 12646, 0, 0, 0, -488.498260498046875, 2723.901123046875, 280.91302490234375, 0, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- FX Stalker (Area: Ulfar's Den - Difficulty: 0) CreateObject1 (Auras: 289631 - [DNT] Drust Vessel FX)
DELETE FROM `creature_addon` WHERE `guid`=@CGUID+0;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '289631'); -- FX Stalker - 289631 - [DNT] Drust Vessel FX
@@ -1,28 +0,0 @@
SET @CGUID := 7000563;
SET @OGUID := 7000209;
DELETE FROM `phase_name` WHERE `ID`=12862;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12862, 'Cosmetic: Kul Tiran Unlock Questline - FX Stalker Pretty Plant and Lumber in Ulfars Den');
DELETE FROM `phase_area` WHERE `PhaseId`=12862;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9965, 12862, 'Cosmetic: Kul Tiran Unlock Questline - FX Stalker Pretty Plant and Lumber - Ulfars Den');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12862));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12862, 0, 0, 0, 47, 0, 54731, 66, 0, '', 0, 'Player have Balance in All Things (54731) in state complete, rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 149374, 1643, 8721, 9965, '0', 12862, 0, 0, 0, -488.498260498046875, 2723.900146484375, 279.36395263671875, 0, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- FX Stalker (Area: Ulfar's Den - Difficulty: 0) CreateObject1 - !!! already present in database !!!
(@CGUID+1, 149365, 1643, 8721, 9965, '0', 12862, 0, 0, 0, -488.489593505859375, 2723.890625, 280.480316162109375, 0, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- Ancient Seedling (Area: Ulfar's Den - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '292381'), -- FX Stalker - [DNT] Pretty Plant
(@CGUID+1, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Ancient Seedling
DELETE FROM `gameobject` WHERE `guid`=@OGUID+0;
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, 316972, 1643, 8721, 9965, '0', 12862, 0, -488.513885498046875, 2723.861083984375, 279.28173828125, 0, 0, 0, 0, 1, 120, 255, 1, 54847); -- Algerson Lumber Sample (Area: Ulfar's Den - Difficulty: 0) CreateObject1 - !!! already present in database !!!
@@ -1,184 +0,0 @@
-- Creature templates
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry` IN (30962, 30662); -- Azure Spellbreaker
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry` IN (30661, 30961); -- Azure Invader
UPDATE `creature_template` SET `unit_flags`=64, `unit_flags3`=524288 WHERE `entry` IN (30892, 30660); -- Portal Guardian
UPDATE `creature_template` SET `unit_flags`=64, `unit_flags3`=524288 WHERE `entry`=30666; -- Azure Captain
UPDATE `creature_template` SET `BaseAttackTime`=1500, `unit_flags3`=67633152 WHERE `entry` IN (30664, 30963); -- Azure Mage Slayer
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry` IN (30663, 30918); -- Azure Binder
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=30665; -- Veteran Mage Hunter
UPDATE `creature_template` SET `speed_walk`=1, `unit_flags`=64, `unit_flags3`=524288 WHERE `entry`=30695; -- Portal Keeper
UPDATE `creature_template` SET `speed_walk`=1, `unit_flags`=64, `unit_flags3`=524288 WHERE `entry`=32191; -- Azure Stalker
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378, `unit_flags`=64, `unit_flags3`=524288 WHERE `entry`=30668; -- Azure Raider
UPDATE `creature_template` SET `speed_walk`=1, `unit_flags`=64, `unit_flags3`=524288 WHERE `entry`=30667; -- Azure Sorcerer
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=32174; -- Teleportation Portal (Elite)
UPDATE `creature_template` SET `unit_flags`=64, `unit_flags3`=524288 WHERE `entry`=30893; -- Portal Keeper
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=30679; -- Teleportation Portal
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=30837; -- Defense System
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=31010; -- Azure Mage Slayer
UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry`=30883; -- Dalaran Prison Event Controller
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=29316; -- Moragg
UPDATE `creature_template` SET `unit_flags`=832, `unit_flags2`=2048 WHERE `entry`=29314; -- Zuramat the Obliterator
UPDATE `creature_template` SET `unit_flags`=832 WHERE `entry`=29315; -- Erekem
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=29312; -- Lavanthor
UPDATE `creature_template` SET `unit_flags`=832, `unit_flags2`=2048 WHERE `entry`=29313; -- Ichoron
UPDATE `creature_template` SET `unit_flags`=832, `unit_flags2`=2048 WHERE `entry`=29266; -- Xevozz
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31011; -- Teleportation Portal (Intro)
UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=16777217 WHERE `entry`=83732; -- First Escaped Prisoner
UPDATE `creature_template` SET `unit_flags`=832 WHERE `entry`=29395; -- Erekem Guard
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=31008; -- Azure Invader
UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=16777217 WHERE `entry`=83733; -- Second Escaped Prisoner
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags3`=524288 WHERE `entry`=29321; -- Ichor Globule
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=29271; -- Ethereal Sphere
UPDATE `creature_template` SET `unit_flags3`=524289 WHERE `entry` IN (29364, 29365); -- Void Sentry
DELETE FROM `creature_template_addon` WHERE `entry` IN (83732,83733);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(83732, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, ''), -- 83732 (First Escaped Prisoner)
(83733, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, ''); -- 83733 (Second Escaped Prisoner)
UPDATE `creature_template_addon` SET `AnimTier`=3 WHERE `entry`=32174; -- 32174 (Teleportation Portal (Elite))
UPDATE `creature_template_addon` SET `AnimTier`=3 WHERE `entry`=30679; -- 30679 (Teleportation Portal)
UPDATE `creature_template_addon` SET `AnimTier`=3 WHERE `entry`=31011; -- 31011 (Teleportation Portal (Intro))
-- Difficulties
UPDATE `creature_template_difficulty` ctd
LEFT JOIN `creature_template_difficulty` ctd2 ON ctd.`Entry`=ctd2.`Entry`
SET
ctd.`DamageModifier`=ctd2.`DamageModifier`,
ctd.`LootID`=ctd2.`LootID`,
ctd.`PickPocketLootID`=ctd2.`PickPocketLootID`,
ctd.`SkinLootID`=ctd2.`SkinLootID`,
ctd.`GoldMin`=ctd2.`GoldMin`,
ctd.`GoldMax`=ctd2.`GoldMax`
WHERE ctd.`Entry` IN (30883,30658,30896,30857,31134,30962,30662,30661,30892,30666,30664,30663,30961,30665,30918,30963,30660,31079,30695,32191,30668,30667,32174,30893,30679,30837,31010,29276,29316,31118,29314,32204,29315,29312,29313,29266,29326,31007,31011,83732,29395,29425,31008,30659,83733,31009)
AND ctd.`DifficultyID`=0 AND ctd2.`DifficultyID`=1 AND ctd2.`Entry` IS NOT NULL;
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID` IN (1,23) AND `Entry` IN (30883,30658,30896,30857,31134,30962,30662,30661,30892,30666,30664,30663,30961,30665,30918,30963,30660,31079,30695,32191,30668,30667,32174,30893,30679,30837,31010,29276,29316,31118,29314,32204,29315,29312,29313,29266,29326,31007,31011,83732,29395,29425,31008,30659,83733,31009));
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=3 WHERE (`Entry`=53488 AND `DifficultyID`=0); -- Summon Enabler Stalker
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=31134 AND `DifficultyID`=0); -- 31134 (Cyanigosa) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30962 AND `DifficultyID`=0); -- 30962 (Azure Spellbreaker) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30662 AND `DifficultyID`=0); -- 30662 (Azure Spellbreaker) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30661 AND `DifficultyID`=0); -- 30661 (Azure Invader) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30892 AND `DifficultyID`=0); -- 30892 (Portal Guardian) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30666 AND `DifficultyID`=0); -- 30666 (Azure Captain) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30664 AND `DifficultyID`=0); -- 30664 (Azure Mage Slayer) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30663 AND `DifficultyID`=0); -- 30663 (Azure Binder) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30961 AND `DifficultyID`=0); -- 30961 (Azure Invader) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30665 AND `DifficultyID`=0); -- 30665 (Veteran Mage Hunter) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30918 AND `DifficultyID`=0); -- 30918 (Azure Binder) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30963 AND `DifficultyID`=0); -- 30963 (Azure Mage Slayer) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30660 AND `DifficultyID`=0); -- 30660 (Portal Guardian) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=31079 AND `DifficultyID`=0); -- 31079 (Azure Saboteur) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30695 AND `DifficultyID`=0); -- 30695 (Portal Keeper) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=32191 AND `DifficultyID`=0); -- 32191 (Azure Stalker) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30668 AND `DifficultyID`=0); -- 30668 (Azure Raider) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30667 AND `DifficultyID`=0); -- 30667 (Azure Sorcerer) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=32174 AND `DifficultyID`=0); -- 32174 (Teleportation Portal (Elite)) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30893 AND `DifficultyID`=0); -- 30893 (Portal Keeper) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=30679 AND `DifficultyID`=0); -- 30679 (Teleportation Portal) - Sessile, Floating - CannotTurn
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=247, `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=30837 AND `DifficultyID`=0); -- 30837 (Defense System) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=31010 AND `DifficultyID`=0); -- 31010 (Azure Mage Slayer) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=29276 AND `DifficultyID`=0); -- 29276 (Ethereal Summon Target) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54847 WHERE (`DifficultyID`=0 AND `Entry` IN (30883,4075,53488,14881,30896,2110,30857));
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=29316 AND `DifficultyID`=0); -- 29316 (Moragg) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=31118 AND `DifficultyID`=0); -- 31118 (Azure Raider) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=29314 AND `DifficultyID`=0); -- 29314 (Zuramat the Obliterator) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=32204 AND `DifficultyID`=0); -- 32204 (Lieutenant Sinclari) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=29315 AND `DifficultyID`=0); -- 29315 (Erekem) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=29312 AND `DifficultyID`=0); -- 29312 (Lavanthor) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=29313 AND `DifficultyID`=0); -- 29313 (Ichoron) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=29266 AND `DifficultyID`=0); -- 29266 (Xevozz) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=29326 AND `DifficultyID`=0); -- 29326 (Ichoron Summon Target) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=0, `VerifiedBuild`=54847 WHERE (`Entry`=31007 AND `DifficultyID`=0); -- 31007 (Azure Binder)
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=31011 AND `DifficultyID`=0); -- 31011 (Teleportation Portal (Intro)) - Sessile, Floating - CannotTurn
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30658 AND `DifficultyID`=0); -- 30658 (Lieutenant Sinclari) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=83732 AND `DifficultyID`=0); -- 83732 (First Escaped Prisoner) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=29395 AND `DifficultyID`=0); -- 29395 (Erekem Guard) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=29425 AND `DifficultyID`=0); -- 29425 (Erekem Controller) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=31008 AND `DifficultyID`=0); -- 31008 (Azure Invader)
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=30659 AND `DifficultyID`=0); -- 30659 (Violet Hold Guard)
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=83733 AND `DifficultyID`=0); -- 83733 (Second Escaped Prisoner) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=0, `VerifiedBuild`=54847 WHERE (`Entry`=31009 AND `DifficultyID`=0); -- 31009 (Azure Spellbreaker)
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=29321 AND `DifficultyID`=0); -- 29321 (Ichor Globule) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=29271 AND `DifficultyID`=0); -- 29271 (Ethereal Sphere)
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `VerifiedBuild`=54847 WHERE (`Entry`=29364 AND `DifficultyID`=0); -- 29364 (Void Sentry)
UPDATE `creature_template_difficulty` SET `ContentTuningID`=247, `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=29365 AND `DifficultyID`=0); -- 29365 (Void Sentry) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34939 WHERE (`Entry`=30667 AND `DifficultyID`=2); -- Azure Sorcerer
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=32155 WHERE (`Entry`=29266 AND `DifficultyID`=2); -- Xevozz
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34922 WHERE (`Entry`=30664 AND `DifficultyID`=2); -- Azure Mage Slayer
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=32297 WHERE (`Entry`=29316 AND `DifficultyID`=2); -- Moragg
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35279 WHERE (`Entry`=30893 AND `DifficultyID`=2); -- Portal Keeper
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35624 WHERE (`Entry`=31118 AND `DifficultyID`=2); -- Azure Raider
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=32284 WHERE (`Entry`=29314 AND `DifficultyID`=2); -- Zuramat the Obliterator
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34901 WHERE (`Entry`=30660 AND `DifficultyID`=2); -- Portal Guardian
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35400 WHERE (`Entry`=31007 AND `DifficultyID`=2); -- Azure Binder
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35299 WHERE (`Entry`=30918 AND `DifficultyID`=2); -- Azure Binder
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34916 WHERE (`Entry`=30663 AND `DifficultyID`=2); -- Azure Binder
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35660 WHERE (`Entry`=31134 AND `DifficultyID`=2); -- Cyanigosa
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34894 WHERE (`Entry`=30659 AND `DifficultyID`=2); -- Violet Hold Guard
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34927 WHERE (`Entry`=30665 AND `DifficultyID`=2); -- Veteran Mage Hunter
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35405 WHERE (`Entry`=31008 AND `DifficultyID`=2); -- Azure Invader
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35016 WHERE (`Entry`=30695 AND `DifficultyID`=2); -- Portal Keeper
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35547 WHERE (`Entry`=31079 AND `DifficultyID`=2); -- Azure Saboteur
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35418 WHERE (`Entry`=31010 AND `DifficultyID`=2); -- Azure Mage Slayer
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35410 WHERE (`Entry`=31009 AND `DifficultyID`=2); -- Azure Spellbreaker
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34944 WHERE (`Entry`=30668 AND `DifficultyID`=2); -- Azure Raider
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35350 WHERE (`Entry`=30961 AND `DifficultyID`=2); -- Azure Invader
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34934 WHERE (`Entry`=30666 AND `DifficultyID`=2); -- Azure Captain
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=36738 WHERE (`Entry`=32204 AND `DifficultyID`=2); -- Lieutenant Sinclari
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34907 WHERE (`Entry`=30661 AND `DifficultyID`=2); -- Azure Invader
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=36710 WHERE (`Entry`=32191 AND `DifficultyID`=2); -- Azure Stalker
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=32280 WHERE (`Entry`=29313 AND `DifficultyID`=2); -- Ichoron
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=32446 WHERE (`Entry`=29395 AND `DifficultyID`=2); -- Erekem Guard
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=32273 WHERE (`Entry`=29312 AND `DifficultyID`=2); -- Lavanthor
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34911 WHERE (`Entry`=30662 AND `DifficultyID`=2); -- Azure Spellbreaker
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35360 WHERE (`Entry`=30963 AND `DifficultyID`=2); -- Azure Mage Slayer
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=32291 WHERE (`Entry`=29315 AND `DifficultyID`=2); -- Erekem
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35273 WHERE (`Entry`=30892 AND `DifficultyID`=2); -- Portal Guardian
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=32386 WHERE (`Entry`=29364 AND `DifficultyID`=2); -- Void Sentry
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35273 WHERE (`Entry`=30892 AND `DifficultyID`=2); -- Portal Guardian
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=32391 WHERE (`Entry`=29365 AND `DifficultyID`=2); -- Void Sentry
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=32310 WHERE (`Entry`=29321 AND `DifficultyID`=2); -- Ichor Globule
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35355 WHERE (`Entry`=30962 AND `DifficultyID`=2); -- Azure Spellbreaker
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=32164 WHERE (`Entry`=29271 AND `DifficultyID`=2); -- Ethereal Sphere
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54847 WHERE (`DifficultyID`=2 AND `Entry` IN (31134,30893,30695,31079,30666,32191,30668,30667,30660,31010,31118,29314,29313,29316,32204,29266,53488,29312,31008));
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `VerifiedBuild`=54847 WHERE (`Entry`=30662 AND `DifficultyID`=2); -- 30662 (Azure Spellbreaker) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `VerifiedBuild`=54847 WHERE (`Entry`=30661 AND `DifficultyID`=2); -- 30661 (Azure Invader) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `VerifiedBuild`=54847 WHERE (`Entry`=30664 AND `DifficultyID`=2); -- 30664 (Azure Mage Slayer) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `VerifiedBuild`=54847 WHERE (`Entry`=30963 AND `DifficultyID`=2); -- 30963 (Azure Mage Slayer) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `VerifiedBuild`=54847 WHERE (`Entry`=30918 AND `DifficultyID`=2); -- 30918 (Azure Binder) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `VerifiedBuild`=54847 WHERE (`Entry`=30663 AND `DifficultyID`=2); -- 30663 (Azure Binder) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `VerifiedBuild`=54847 WHERE (`Entry`=30665 AND `DifficultyID`=2); -- 30665 (Veteran Mage Hunter) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `VerifiedBuild`=54847 WHERE (`Entry`=30961 AND `DifficultyID`=2); -- 30961 (Azure Invader) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=1092, `VerifiedBuild`=54847 WHERE (`Entry`=30892 AND `DifficultyID`=2); -- 30892 (Portal Guardian)
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `VerifiedBuild`=54847 WHERE (`Entry`=29364 AND `DifficultyID`=2); -- 29364 (Void Sentry) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=29365 AND `DifficultyID`=2); -- 29365 (Void Sentry) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=29321 AND `DifficultyID`=2); -- 29321 (Ichor Globule) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `VerifiedBuild`=54847 WHERE (`Entry`=30962 AND `DifficultyID`=2); -- 30962 (Azure Spellbreaker) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1092, `VerifiedBuild`=54847 WHERE (`Entry`=29271 AND `DifficultyID`=2); -- 29271 (Ethereal Sphere) -
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=29395 AND `DifficultyID`=2); -- 29395 (Erekem Guard) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=29315 AND `DifficultyID`=2); -- 29315 (Erekem) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=54847 WHERE (`Entry`=31007 AND `DifficultyID`=2); -- 31007 (Azure Binder) - Sessile
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=54847 WHERE (`Entry`=31009 AND `DifficultyID`=2); -- 31009 (Azure Spellbreaker) - Sessile
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=54847 WHERE (`Entry`=30659 AND `DifficultyID`=2); -- 30659 (Violet Hold Guard) - Sessile
DELETE FROM `creature_questitem` WHERE (`CreatureEntry`=31134 AND `DifficultyID`=2 AND `Idx`=0);
INSERT INTO `creature_questitem` (`CreatureEntry`, `DifficultyID`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(31134, 2, 0, 43823, 54847); -- Cyanigosa
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=54847 WHERE `DisplayID` IN (27340, 14356, 27794, 27792, 27793, 27474, 27220, 27219, 27473, 16946, 24910, 1418, 27217, 27855, 27824, 27488, 27216, 10193, 27487, 27486, 16925, 44816, 25247, 20923, 27393, 27214, 18628, 25226, 27215, 1141, 25250);
UPDATE `creature_model_info` SET `BoundingRadius`=5.418732643127441406, `VerifiedBuild`=54847 WHERE `DisplayID`=20590;
UPDATE `creature_model_info` SET `VerifiedBuild`=54847 WHERE `DisplayID` IN (4606, 2176);
UPDATE `creature_model_info` SET `BoundingRadius`=0.5, `CombatReach`=1, `VerifiedBuild`=54847 WHERE `DisplayID`=28073;
UPDATE `creature_model_info` SET `BoundingRadius`=0.75, `CombatReach`=0.75, `VerifiedBuild`=54847 WHERE `DisplayID`=26208;
UPDATE `creature_model_info` SET `VerifiedBuild`=54847 WHERE `DisplayID`=23767;
UPDATE `creature_template_model` SET `VerifiedBuild`=54847 WHERE (`Idx`=0 AND `CreatureID` IN (30666,40165,31134,31010,32158,18379,31118,31079,32174,54423,29266,59072,356,29315,29425,30661,34337,83733,30837,54879,304,31007,30668,14881,30660,71486,30857,30892,30663,70356,31011,29313,30679,69066,32204,54741,2110,30962,30664,60941,31008,30918,53488,30662,30659,30665,64993,40625,29314,32191,68288,25064,30658,31009,29316,47654,4075,29276,30893,31698,40725,305,83732,29312,30667,35362,30896,56921,14505,29326,30963,28363,29395,30961,30695,65011,30883)) OR (`Idx`=1 AND `CreatureID` IN (40165,29425,83733,30837,14881,30857,53488,30659,30665,4075,29276,40725,83732,30896,29326)) OR (`Idx`=2 AND `CreatureID` IN (30659,30665,4075)) OR (`Idx`=3 AND `CreatureID`=30665);
UPDATE `creature_template_model` SET `VerifiedBuild`=54847 WHERE (`Idx`=0 AND `CreatureID` IN (29321,29271));
UPDATE `creature_template_model` SET `VerifiedBuild`=54847 WHERE (`Idx`=0 AND `CreatureID` IN (29364,308,29365,18362));
-- Gameobject templates
UPDATE `gameobject_template` SET `VerifiedBuild`=54847 WHERE `entry` IN (191606, 191562, 191558, 214500, 191556, 191723, 191559, 191566, 191722, 191560, 191564, 193611, 191565, 191563, 193615, 191557);
UPDATE `gameobject_template_addon` SET `WorldEffectID`=3661 WHERE `entry`=193611; -- Activation Crystal
@@ -1,2 +0,0 @@
-- Sunreaver Dragonhawk (Updated in patch 3.2)
UPDATE `creature` SET `modelid`=0, `id`=35984 WHERE `id`=30290;
File diff suppressed because it is too large Load Diff
@@ -1,128 +0,0 @@
-- Creature templates
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=32625; -- Warsong Gulch Portal
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=32619; -- Arathi Basin Portal
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=32620; -- Eye of the Storm Portal
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=32617; -- Alterac Valley Portal
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=67110912, `unit_flags3`=16777216 WHERE `entry`=107697; -- Controller
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=30872; -- Shadow Revenant
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=27852; -- Wintergrasp Control Arms
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=30877; -- Water Revenant
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry`=30400; -- Goblin Mechanic
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=30875; -- Tempest Revenant
UPDATE `creature_template` SET `unit_flags`=832, `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=26475; -- Magmawyrm
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=27355; -- Rothin the Decaying
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=27362; -- Smoldering Construct
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=32522; -- Cinder Cloud
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=27869; -- Wintergrasp Detection Unit
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=32624; -- Warsong Gulch Portal
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=32618; -- Arathi Basin Portal
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=32616; -- Alterac Valley Portal
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=32294; -- Knight Dameron
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=32621; -- Eye of the Storm Portal
DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (30872,30873,30876,30877,31689);
INSERT INTO `creature_template_movement` (`CreatureId`,`HoverInitiallyEnabled`,`Chase`,`Random`,`InteractionPauseTimer`) VALUES
(30872,1,0,0,NULL),
(30873,1,0,0,NULL),
(30876,1,0,0,NULL),
(30877,1,0,0,NULL),
(31689,1,0,0,NULL);
-- Difficulties
UPDATE `creature_template_difficulty` ctd
LEFT JOIN `creature_template_difficulty` ctd2 ON ctd.`Entry`=ctd2.`Entry`
SET
ctd.`DamageModifier`=ctd2.`DamageModifier`,
ctd.`LootID`=ctd2.`LootID`,
ctd.`PickPocketLootID`=ctd2.`PickPocketLootID`,
ctd.`SkinLootID`=ctd2.`SkinLootID`,
ctd.`GoldMin`=ctd2.`GoldMin`,
ctd.`GoldMax`=ctd2.`GoldMax`
WHERE ctd.`Entry` IN (31053,31151,31107,31102,31101,107697,30870,34300,30845,30872,30842,15214,27852,31842,31054,31051,31109,30846,31841,30560,26607,26606,30875,27450,27418,27449,27355,27369,27358,27362,27363,27869,30873)
AND ctd.`DifficultyID`=0 AND ctd2.`DifficultyID`=1 AND ctd2.`Entry` IS NOT NULL;
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (30499,30489,32621,32294,30488,32616,39172,32618,32624,31053,31151,31107,31102,31101,107697,30870,34300,30845,30872,30842,15214,27852,31842,31054,31051,31109,30846,31841,30560,26607,26606,30875,27450,27418,27449,27355,27369,27358,27362,27363,27869,30873,32625,32619,32620,32617,39173,32296,31091,31106,31052,30869,31153,31108,31036,19871,30876,30849,30877,30400,30739,23472,30848,26475,32522,30847,30740));
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=0 WHERE (`Entry`=22515 AND `DifficultyID`=0); -- World Trigger
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54762 WHERE (`DifficultyID`=0 AND `Entry` IN (32625,32619,32620,32617,39173,32296,31091,31106,31052,30869,31153,31108,31036,19871,30876,30849,30877,30400,30739,23472,30848,26475,32522,30847,30740));
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `VerifiedBuild`=54762 WHERE (`Entry`=31053 AND `DifficultyID`=0); -- 31053 (Primalist Mulfort) -
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=31151 AND `DifficultyID`=0); -- 31151 (Tactical Officer Kilrath) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `VerifiedBuild`=54762 WHERE (`Entry`=31107 AND `DifficultyID`=0); -- 31107 (Lieutenant Murp) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=31102 AND `DifficultyID`=0); -- 31102 (Vieron Blazefeather) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=31101 AND `DifficultyID`=0); -- 31101 (Hoodoo Master Fu'jin) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=107697 AND `DifficultyID`=0); -- 107697 (Controller) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=881, `VerifiedBuild`=54762 WHERE (`Entry`=30870 AND `DifficultyID`=0); -- 30870 (Herzo Safeflight) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `VerifiedBuild`=54762 WHERE (`Entry`=34300 AND `DifficultyID`=0); -- 34300 (Mature Lasher) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `VerifiedBuild`=54762 WHERE (`Entry`=30845 AND `DifficultyID`=0); -- 30845 (Living Lasher) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=30872 AND `DifficultyID`=0); -- 30872 (Shadow Revenant) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `VerifiedBuild`=54762 WHERE (`Entry`=30842 AND `DifficultyID`=0); -- 30842 (Wandering Shadow) -
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=54762 WHERE (`Entry`=15214 AND `DifficultyID`=0); -- 15214 (Invisible Stalker) -
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=27852 AND `DifficultyID`=0); -- 27852 (Wintergrasp Control Arms) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=31842 AND `DifficultyID`=0); -- 31842 (Dwarven Spirit Guide) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=31054 AND `DifficultyID`=0); -- 31054 (Anchorite Tessa) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=31051 AND `DifficultyID`=0); -- 31051 (Sorceress Kaylana) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=31109 AND `DifficultyID`=0); -- 31109 (Senior Demolitionist Legoso) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=30846 AND `DifficultyID`=0); -- 30846 (Glacial Spirit) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=31841 AND `DifficultyID`=0); -- 31841 (Taunka Spirit Guide) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=30560 AND `DifficultyID`=0); -- 30560 (The RP-GG) - Sessile, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=26607 AND `DifficultyID`=0); -- 26607 (Anub'ar Blightbeast) - Floating
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=26606 AND `DifficultyID`=0); -- 26606 (Anub'ar Slayer) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `StaticFlags1`=805306368, `VerifiedBuild`=54762 WHERE (`Entry`=30875 AND `DifficultyID`=0); -- 30875 (Tempest Revenant) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=46, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=27450 AND `DifficultyID`=0); -- 27450 (Neltharion's Flame Control Bunny) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=46, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=27418 AND `DifficultyID`=0); -- 27418 (Rothin's Spell Bunny) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=27449 AND `DifficultyID`=0); -- 27449 (Neltharion's Flame Fire Bunny) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=46, `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=27355 AND `DifficultyID`=0); -- 27355 (Rothin the Decaying) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=46, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=27369 AND `DifficultyID`=0); -- 27369 (Necromantic Rune Bunny) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=46, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=27358 AND `DifficultyID`=0); -- 27358 (Burning Depths Necromancer) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=46, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=27362 AND `DifficultyID`=0); -- 27362 (Smoldering Construct) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=27363 AND `DifficultyID`=0); -- 27363 (Smoldering Geist) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=27869 AND `DifficultyID`=0); -- 27869 (Wintergrasp Detection Unit) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=30873 AND `DifficultyID`=0); -- 30873 (Flame Revenant) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `StaticFlags1`=256, `VerifiedBuild`=54762 WHERE (`Entry`=32624 AND `DifficultyID`=0); -- 32624 (Warsong Gulch Portal) - Sessile
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `StaticFlags1`=256, `VerifiedBuild`=54762 WHERE (`Entry`=32618 AND `DifficultyID`=0); -- 32618 (Arathi Basin Portal) - Sessile
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `VerifiedBuild`=54762 WHERE (`Entry`=39172 AND `DifficultyID`=0); -- 39172 (Marshal Magruder) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `StaticFlags1`=256, `VerifiedBuild`=54762 WHERE (`Entry`=32616 AND `DifficultyID`=0); -- 32616 (Alterac Valley Portal) - Sessile
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=30488 AND `DifficultyID`=0); -- 30488 (Travis Day) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `VerifiedBuild`=54762 WHERE (`Entry`=32294 AND `DifficultyID`=0); -- 32294 (Knight Dameron) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `StaticFlags1`=256, `VerifiedBuild`=54762 WHERE (`Entry`=32621 AND `DifficultyID`=0); -- 32621 (Eye of the Storm Portal) - Sessile
UPDATE `creature_template_difficulty` SET `ContentTuningID`=772, `VerifiedBuild`=54762 WHERE (`Entry`=30489 AND `DifficultyID`=0); -- 30489 (Morgan Day) -
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54762 WHERE (`Entry`=30499 AND `DifficultyID`=0);
DELETE FROM `creature_questitem` WHERE (`CreatureEntry` IN (26606,27362,27363,30842,30845,30846,30847,30872,30873,30875,30876,30877,34300) AND `DifficultyID`=1);
UPDATE `creature_questitem` SET `VerifiedBuild`=54762 WHERE (`CreatureEntry`=34300 AND `DifficultyID`=0 AND `Idx`=1) OR (`CreatureEntry`=34300 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=30872 AND `DifficultyID`=0 AND `Idx`=1) OR (`CreatureEntry`=30872 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=30846 AND `DifficultyID`=0 AND `Idx`=1) OR (`CreatureEntry`=30846 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=30876 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=30877 AND `DifficultyID`=0 AND `Idx`=2) OR (`CreatureEntry`=30877 AND `DifficultyID`=0 AND `Idx`=1) OR (`CreatureEntry`=30877 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=26606 AND `DifficultyID`=0 AND `Idx`=1) OR (`CreatureEntry`=26606 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=30842 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=30875 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=27362 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=30845 AND `DifficultyID`=0 AND `Idx`=1) OR (`CreatureEntry`=30845 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=27363 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=30873 AND `DifficultyID`=0 AND `Idx`=1) OR (`CreatureEntry`=30873 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=30847 AND `DifficultyID`=0 AND `Idx`=0);
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=54762 WHERE `DisplayID` IN (26503, 13464, 27936, 26496, 26501, 26494, 17650, 31347, 27895, 13462, 13468, 16215, 18219, 4577, 39810, 25197, 29170, 29169, 24467, 19962, 24468, 29171, 24466, 21773, 25553, 27937, 27137, 27758, 13455, 27760, 25196, 13456, 13461, 20270, 18052, 17384, 13662, 24074, 24582, 25950, 5450, 27392, 21910, 27759, 24076, 27391, 27934, 27121, 24075, 24073, 23945, 25239, 8716, 24167, 24580, 13069, 24584, 21305, 24590, 25948, 17522, 25949, 1204, 25951, 25680);
UPDATE `creature_model_info` SET `BoundingRadius`=4.572795867919921875, `VerifiedBuild`=54762 WHERE `DisplayID` IN (27390, 26383);
UPDATE `creature_model_info` SET `VerifiedBuild`=54762 WHERE `DisplayID` IN (26502, 26495, 31346, 26484, 27166, 27894, 26499, 3122, 27941, 27940, 27938);
UPDATE `creature_template_model` SET `VerifiedBuild`=54762 WHERE (`Idx`=0 AND `CreatureID` IN (27852,30849,30847,30845,31109,30400,27363,32625,32617,31091,27450,26475,27369,31053,27362,31102,30842,30875,32620,31151,31106,30873,31054,19871,27358,30560,34300,32522,39173,107697,31842,31108,27869,32619,27355,31036,26606,31107,22515,30846,23472,27449,31153,27418,30872,30740,30869,26607,31101,30870,30877,32296,31051,30876,31841,30848,15214,30739,31052)) OR (`Idx`=3 AND `CreatureID` IN (30845,30400,34300,30740,30739)) OR (`Idx`=2 AND `CreatureID` IN (30845,30400,34300,30740,30739)) OR (`Idx`=1 AND `CreatureID` IN (30845,30400,27450,27369,19871,27358,34300,31842,27869,22515,23472,27449,27418,30740,31841,15214,30739));
UPDATE `creature_template_model` SET `VerifiedBuild`=54762 WHERE (`Idx`=0 AND `CreatureID` IN (32616,32618,30499,32621,39172,30488,32294,32624,30489)) OR (`Idx`=3 AND `CreatureID`=30499) OR (`Idx`=2 AND `CreatureID`=30499) OR (`Idx`=1 AND `CreatureID`=30499);
-- Gameobject templates
UPDATE `gameobject_template` SET `VerifiedBuild`=54762 WHERE `entry` IN (192030, 189981, 191857, 192032, 191875, 192031, 190171, 259114, 192029, 193126, 192028, 192951, 192048, 191810, 192235, 191871, 189980, 191805, 190172, 191803, 214528, 192819, 191804, 191870, 191802, 193125, 190763, 191801, 192488, 191869, 191874, 194323, 191799, 194012, 191873, 192501, 190378, 191872, 191797, 190356, 191370, 191800, 191796, 190175, 191855, 191795, 191798, 190377, 190176, 188695, 191808, 190375, 190374, 191806, 190371, 190357, 192033, 190373, 190369, 190221, 191133, 194162, 191807, 190370, 190220, 195013, 194356, 191809, 190376, 190372, 190358, 190219);
UPDATE `gameobject_template_addon` SET `faction`=35, `flags`=8192 WHERE `entry`=214528; -- Instance Portal (Raid 10/25 No Heroic)
UPDATE `gameobject_template_addon` SET `flags`=278528 WHERE `entry`=190176; -- Frost Lotus
UPDATE `gameobject_template_addon` SET `flags`=278528 WHERE `entry`=191133; -- Titanium Vein
UPDATE `gameobject_template_addon` SET `flags`=32 WHERE `entry`=192488; -- Wintergrasp Horde Banner
UPDATE `gameobject_template_addon` SET `flags`=278528 WHERE `entry`=190171; -- Lichbloom
UPDATE `gameobject_template_addon` SET `flags`=278528 WHERE `entry`=190175; -- Frozen Herb
UPDATE `gameobject_template_addon` SET `flags`=278528 WHERE `entry`=190172; -- Icethorn
UPDATE `gameobject_template_addon` SET `faction`=35, `flags`=1048608 WHERE `entry`=190356; -- Shadowsight Tower
UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry` IN (192030, 192031, 192032, 192028, 192033, 192029); -- Goblin Workshop
UPDATE `gameobject_template_addon` SET `flags`=32 WHERE `entry`=192501; -- Wintergrasp Alliance Banner
UPDATE `gameobject_template_addon` SET `faction`=35, `flags`=1048608 WHERE `entry` IN (191798, 191797, 191805); -- Wintergrasp Wall
UPDATE `gameobject_template_addon` SET `faction`=35, `flags`=1048608 WHERE `entry` IN (191799, 191796, 191795, 190376, 190220, 190374, 190372, 190219, 190370, 190371, 190369, 191806, 191807, 191808, 191804, 191809, 191802, 191803, 191800, 191801); -- Wintergrasp Fortress Wall
UPDATE `gameobject_template_addon` SET `faction`=35, `flags`=1048608 WHERE `entry` IN (190378, 190377, 190221, 190373); -- Wintergrasp Fortress Tower
UPDATE `gameobject_template_addon` SET `faction`=35, `flags`=1048608 WHERE `entry`=190375; -- Wintergrasp Fortress Gate
UPDATE `gameobject_template_addon` SET `faction`=35, `flags`=1048608 WHERE `entry`=191810; -- Wintergrasp Fortress Door
UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry`=190358; -- Flamewatch Tower
UPDATE `gameobject_template_addon` SET `faction`=35, `flags`=1048608 WHERE `entry`=190357; -- Winter's Edge Tower
UPDATE `gameobject_template_addon` SET `flags`=32 WHERE `entry`=192487; -- Wintergrasp Alliance Banner
UPDATE `gameobject_template_addon` SET `flags`=32 WHERE `entry`=192502; -- Wintergrasp Horde Banner
UPDATE `page_text` SET `Text`='Day 2147021:\nMy brothers are back! It turns out they were sleeping in other closed off halls.\n\nI\'m a little mad that they left me alone to do all the watching, but I shared my shinier baubles with them anyway because I\'m tired of being alone and attacked all the time.\n -ARCHAVON\n\nDay 2147060:\nThe violent little people have started attacking my brothers, which is sad. They leave me alone mostly now though, which is not sad.\n\nI think they want the shiny baubles I gave away. I feel guilty.\n -ARCHAVON\n', `VerifiedBuild`=54762 WHERE `ID`=3603; -- 3603
UPDATE `page_text` SET `Text`='Day 2145866:\nThe little green people brought a lot of others, pointed them at each other, and then they all started fighting!\n\nI have trimmed my watching responsibilities back to the hall for safety, but I brought a lot of their baubles with me so that it can maybe be less boring this time.\n -ARCHAVON\n\nDay 2146240:\nThings have gotten much worse. I am not sure what the Makers want me to do. I\'m trying to stay in my hall, but the violent people come in after me several times a day. They take my baubles.\n -ARCHAVON\n\n ', `VerifiedBuild`=54762 WHERE `ID`=3602; -- 3602
UPDATE `page_text` SET `Text`='Day 1051213:\nI invented a new game today too, it\'s called \"Kick the Revenant.\" I made it from the front of the keep to the main road today. Before next year, I\'m going to try to land it over the river.\n -ARCHAVON\n\nDay 2145617:\nSome little green people came today. I have added them to my watching responsibilities.\n -ARCHAVON\n\nDay 2145657:\nThe little green people have built extra buildings here now. More buildings seems good. I think I will speak to them this week and thank them.\n -ARCHAVON\n\nDay 2145666:\nI thanked one of the little green people today for the extra buildings. He told me that he\'d be bringing more people for me to watch soon - lots of them.\n\nI\'m excited to have more things to watch.\n -ARCHAVON\n', `VerifiedBuild`=54762 WHERE `ID`=3549; -- 3549
UPDATE `page_text` SET `Text`='Day 10500: \nThe halls are quiet. Empty. \n\nI thought the Makers wanted me to watch the hall, but they never specifically said, \"Archavon, watch the hall...\" Maybe it\'s okay if I watch outside too? It would probably be less boring outside. It\'s decided - I am now responsible for watching the hall AND the outside. I shall take on my new responsibility next month.\n -ARCHAVON\n\nDay 20120:\nThe outside is much more open than the hall. There are convenient cliffs and mountains bordering it. I\'m now confident that the Makers meant for me to watch this too. I hope they don\'t notice that I\'ve only been in the hall for the first decade.\n -ARCHAVON\n', `VerifiedBuild`=54762 WHERE `ID`=3548; -- 3548
UPDATE `page_text` SET `Text`='<It appears Archavon has been keeping a journal. It appears to be written in multiple languages. A tally has been kept on the cover. >\n\nHorde: \n Keep Defended: $4024w\n Keep Captured: $4022w\n\nAlliance:\n Keep Defended: $4025w\n Keep Captured: $4023w\n\nDay 10\nThe Makers are gone. I have been left to watch.\n -ARCHAVON\n', `VerifiedBuild`=54762 WHERE `ID`=3547; -- 3547
File diff suppressed because one or more lines are too long
@@ -1,62 +0,0 @@
-- Creature templates
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=38456; -- Frozen Orb
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=38461; -- Toravon Frozen Orb Stalker
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=34049; -- Tempest Minion
UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=38433; -- Toravon the Ice Watcher
UPDATE `creature_template` SET `speed_run`=1.142857193946838378, `unit_flags3`=16777217 WHERE `entry`=34230; -- Emalon Controller
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=35013; -- Koralon the Flame Watcher
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=32353; -- Archavon Warder
UPDATE `creature_template` SET `unit_flags3`=16777217 WHERE `entry`=36093; -- Vault Stalker
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=33993; -- Emalon the Storm Watcher
-- Difficulties
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=14 AND `Entry` IN (32780));
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1016, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=38461 AND `DifficultyID`=0); -- 38461 (Toravon Frozen Orb Stalker) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=1016, `VerifiedBuild`=54762 WHERE (`Entry`=38456 AND `DifficultyID`=0); -- 38456 (Frozen Orb) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1016, `StaticFlags1`=`StaticFlags1`|268435456, `VerifiedBuild`=54762 WHERE (`Entry`=34049 AND `DifficultyID`=0); -- 34049 (Tempest Minion) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=1016, `VerifiedBuild`=54762 WHERE (`Entry`=31125 AND `DifficultyID`=0); -- 31125 (Archavon the Stone Watcher) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1016, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=38439 AND `DifficultyID`=0); -- 38439 (Toravon Stalker) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=1016, `VerifiedBuild`=54762 WHERE (`Entry`=38433 AND `DifficultyID`=0); -- 38433 (Toravon the Ice Watcher) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1016, `StaticFlags1`=`StaticFlags1`|268435456, `VerifiedBuild`=54762 WHERE (`Entry`=38482 AND `DifficultyID`=0); -- 38482 (Frost Warder) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1016, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=34230 AND `DifficultyID`=0); -- 34230 (Emalon Controller) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1016, `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=35015 AND `DifficultyID`=0); -- 35015 (Burning Breath Koralon Stalker) - Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=1016, `VerifiedBuild`=54762 WHERE (`Entry`=35013 AND `DifficultyID`=0); -- 35013 (Koralon the Flame Watcher) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1016, `VerifiedBuild`=54762 WHERE (`Entry`=32353 AND `DifficultyID`=0); -- 32353 (Archavon Warder) -
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=54762 WHERE (`Entry`=32780 AND `DifficultyID`=0); -- 32780 (Invisible Stalker (All Phases)) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1016, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=36093 AND `DifficultyID`=0); -- 36093 (Vault Stalker) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1016, `StaticFlags1`=`StaticFlags1`|268435456, `VerifiedBuild`=54762 WHERE (`Entry`=35143 AND `DifficultyID`=0); -- 35143 (Flame Warder) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=1016, `VerifiedBuild`=54762 WHERE (`Entry`=33993 AND `DifficultyID`=0); -- 33993 (Emalon the Storm Watcher) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1016, `StaticFlags1`=`StaticFlags1`|268435456, `VerifiedBuild`=54762 WHERE (`Entry`=33998 AND `DifficultyID`=0); -- 33998 (Tempest Minion) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1016, `StaticFlags1`=`StaticFlags1`|268435456, `VerifiedBuild`=54762 WHERE (`Entry`=34015 AND `DifficultyID`=0); -- 34015 (Tempest Warder) - CanSwim
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=40206 WHERE (`Entry`=33998 AND `DifficultyID`=4); -- Tempest Minion
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=37041 WHERE (`Entry`=32353 AND `DifficultyID`=4); -- Archavon Warder
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=48286, `TypeFlags2`=128 WHERE (`Entry`=38433 AND `DifficultyID`=4); -- Toravon the Ice Watcher
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=35642, `TypeFlags2`=128 WHERE (`Entry`=31125 AND `DifficultyID`=4); -- Archavon the Stone Watcher
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=40316 WHERE (`Entry`=34049 AND `DifficultyID`=4); -- Tempest Minion
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=40197, `TypeFlags2`=128 WHERE (`Entry`=33993 AND `DifficultyID`=4); -- Emalon the Storm Watcher
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=48372 WHERE (`Entry`=38482 AND `DifficultyID`=4); -- Frost Warder
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=40244 WHERE (`Entry`=34015 AND `DifficultyID`=4); -- Tempest Warder
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=48331 WHERE (`Entry`=38456 AND `DifficultyID`=4); -- Frozen Orb
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=42555, `TypeFlags2`=128 WHERE (`Entry`=35013 AND `DifficultyID`=4); -- Koralon the Flame Watcher
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=42898 WHERE (`Entry`=35143 AND `DifficultyID`=4); -- Flame Warder
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=1016, `VerifiedBuild`=54762 WHERE (`Entry`=38456 AND `DifficultyID`=4); -- 38456 (Frozen Orb) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1016, `StaticFlags1`=`StaticFlags1`|268435456, `VerifiedBuild`=54762 WHERE (`Entry`=34049 AND `DifficultyID`=4); -- 34049 (Tempest Minion) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=1016, `StaticFlags2`=0, `VerifiedBuild`=54762 WHERE (`Entry`=31125 AND `DifficultyID`=4); -- 31125 (Archavon the Stone Watcher) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=1016, `StaticFlags2`=0, `VerifiedBuild`=54762 WHERE (`Entry`=38433 AND `DifficultyID`=4); -- 38433 (Toravon the Ice Watcher) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1016, `StaticFlags1`=`StaticFlags1`|268435456, `VerifiedBuild`=54762 WHERE (`Entry`=38482 AND `DifficultyID`=4); -- 38482 (Frost Warder) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=1016, `StaticFlags2`=0, `VerifiedBuild`=54762 WHERE (`Entry`=35013 AND `DifficultyID`=4); -- 35013 (Koralon the Flame Watcher) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=1016, `StaticFlags2`=0, `VerifiedBuild`=54762 WHERE (`Entry`=33993 AND `DifficultyID`=4); -- 33993 (Emalon the Storm Watcher) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1016, `VerifiedBuild`=54762 WHERE (`Entry`=32353 AND `DifficultyID`=4); -- 32353 (Archavon Warder) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1016, `StaticFlags1`=`StaticFlags1`|268435456, `VerifiedBuild`=54762 WHERE (`Entry`=34015 AND `DifficultyID`=4); -- 34015 (Tempest Warder) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1016, `StaticFlags1`=`StaticFlags1`|268435456, `VerifiedBuild`=54762 WHERE (`Entry`=35143 AND `DifficultyID`=4); -- 35143 (Flame Warder) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1016, `StaticFlags1`=`StaticFlags1`|268435456, `VerifiedBuild`=54762 WHERE (`Entry`=33998 AND `DifficultyID`=4); -- 33998 (Tempest Minion) - CanSwim
-- Models
UPDATE `creature_model_info` SET `BoundingRadius`=0.400000005960464477, `CombatReach`=0.400000005960464477, `VerifiedBuild`=54762 WHERE `DisplayID`=31096;
UPDATE `creature_model_info` SET `VerifiedBuild`=54762 WHERE `DisplayID` IN (26967, 26693, 11686, 16925);
UPDATE `creature_model_info` SET `BoundingRadius`=7.209354400634765625, `VerifiedBuild`=54762 WHERE `DisplayID`=31089;
UPDATE `creature_model_info` SET `BoundingRadius`=7.463489532470703125, `VerifiedBuild`=54762 WHERE `DisplayID`=29524;
UPDATE `creature_model_info` SET `BoundingRadius`=6.22840118408203125, `VerifiedBuild`=54762 WHERE `DisplayID`=27108;
UPDATE `creature_model_info` SET `BoundingRadius`=4.00119638442993164, `VerifiedBuild`=54762 WHERE `DisplayID`=26384;
UPDATE `creature_template_model` SET `VerifiedBuild`=54762 WHERE (`Idx`=1 AND `CreatureID` IN (38461,34230,32780,38439,35015,36093)) OR (`Idx`=0 AND `CreatureID` IN (38461,34230,34049,38433,32780,38456,38439,32353,35015,33998,34015,38482,36093,35143));
@@ -1,28 +0,0 @@
SET @OGUID := 7000249;
DELETE FROM `phase_name` WHERE `ID`=12885;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12885, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea Wright Ore and dog stuff');
DELETE FROM `phase_area` WHERE `PhaseId`=12885;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12885, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea Wright Ore and dog stuff - Bleak Hills Mine'),
(9432, 12885, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea Wright Ore and dog stuff - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12885));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12885, 0, 0, 0, 47, 0, 54729, 74, 0, '', 0, 'Player have The Bleak Hills (54729) in state incomplete, complete, rewarded'),
(26, 12885, 0, 0, 0, 47, 0, 54733, 64, 0, '', 1, 'Player doesn\'t have Make It Wright (54733) in state rewarded');
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, 322654, 1643, 8721, 9500, '0', 12885, 0, 106.1649322509765625, 3404.674560546875, 211.1198577880859375, 1.868429303169250488, 0, 0, 0.804132461547851562, 0.594450116157531738, 120, 255, 1, 54762), -- [DNT] Ore (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+1, 322641, 1643, 8721, 9500, '0', 12885, 0, 95.90972137451171875, 3333.868896484375, 221.61285400390625, 1.811589360237121582, 0, 0, 0.786915779113769531, 0.617060422897338867, 120, 255, 1, 54904), -- [DNT] Dog House (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+2, 322651, 1643, 8721, 9500, '0', 12885, 0, 105.7899322509765625, 3404.388916015625, 211.005706787109375, 2.607350349426269531, 0, 0, 0.964534759521484375, 0.263955861330032348, 120, 255, 1, 54904), -- Storage Crate (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+3, 322640, 1643, 8721, 9500, '0', 12885, 0, 94.9288177490234375, 3317.744873046875, 229.2803497314453125, 0, 0, 0, 0, 1, 120, 255, 1, 54904), -- [DNT] Dog Ball (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+4, 322639, 1643, 8721, 9500, '0', 12885, 0, 95.001739501953125, 3317.59375, 229.042449951171875, 4.877360820770263671, 0, 0, -0.64644241333007812, 0.762962758541107177, 120, 255, 1, 54904), -- [DNT] Dog Bowl (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+5, 322642, 1643, 8721, 9500, '0', 12885, 0, 95.79166412353515625, 3334.155517578125, 221.59820556640625, 0.04821290448307991, 0, 0, 0.024104118347167968, 0.99970942735671997, 120, 255, 1, 54904); -- [DNT] Scattered Hay (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (322651 /*Storage Crate*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(322651, 0, 4, 0, 0); -- Storage Crate
@@ -1,33 +0,0 @@
SET @CGUID := 7000963;
DELETE FROM `phase_name` WHERE `ID`=12630;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12630, 'Cosmetic: Kul Tiran Unlock Questline - Bound Sky Watchman''s Rise');
DELETE FROM `phase_area` WHERE `PhaseId`=12630;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12630, 'Cosmetic: Kul Tiran Unlock Questline - Bound Sky Watchman''s Rise - Bleak Hills Mine'),
(9432, 12630, 'Cosmetic: Kul Tiran Unlock Questline - Bound Sky Watchman''s Rise - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12630));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12630, 0, 0, 0, 47, 0, 54734, 1, 0, '', 0, 'Player have Summons from Dorian (54734) in state not taken'),
(26, 12630, 0, 0, 0, 47, 0, 54733, 64, 0, '', 0, 'Player have Make It Wright (54733) in state rewarded'),
(26, 12630, 0, 0, 0, 47, 0, 54731, 64, 0, '', 0, 'Player have Balance in All Things (54731) in state rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 149252, 1643, 8721, 9432, '0', 12630, 0, 0, 0, 102.1736068725585937, 3408.8984375, 209.4611358642578125, 5.513571739196777343, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904); -- Bound Sky (Area: Watchman's Rise - Difficulty: 0) CreateObject1
UPDATE `creature_template` SET `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=149252; -- Bound Sky
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=149252 AND `DifficultyID`=0); -- 149252 (Bound Sky) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=149294 AND `DifficultyID`=0); -- 149294 (Arthur Tradewind) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=149309 AND `DifficultyID`=0); -- 149309 (Arthur Tradewind) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=150853 AND `DifficultyID`=0); -- 150853 (Ulfar) - CanSwim
UPDATE `creature_model_info` SET `BoundingRadius`=2.333333253860473632, `VerifiedBuild`=54904 WHERE `DisplayID`=81359;
UPDATE `creature_model_info` SET `BoundingRadius`=0.723333299160003662, `CombatReach`=2.333333253860473632, `VerifiedBuild`=54904 WHERE `DisplayID`=88467;
UPDATE `creature_model_info` SET `BoundingRadius`=2.338504791259765625, `CombatReach`=3.499999761581420898, `VerifiedBuild`=54904 WHERE `DisplayID`=83052;
UPDATE `creature_model_info` SET `BoundingRadius`=0.579470038414001464, `VerifiedBuild`=54904 WHERE `DisplayID`=84893;
UPDATE `creature_model_info` SET `BoundingRadius`=0.685569643974304199, `CombatReach`=2.5, `VerifiedBuild`=54904 WHERE `DisplayID`=66292;
@@ -1,19 +0,0 @@
SET @CGUID := 7000964;
DELETE FROM `phase_name` WHERE `ID`=12649;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12649, 'Cosmetic: Kul Tiran Unlock Questline - Bound Sky Ulfars Den');
DELETE FROM `phase_area` WHERE `PhaseId`=12649;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9965, 12649, 'Cosmetic: Kul Tiran Unlock Questline - Bound Sky - Ulfars Den');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12649));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12649, 0, 0, 0, 47, 0, 54734, 1, 0, '', 0, 'Player have Summons from Dorian (54734) in state not taken'),
(26, 12649, 0, 0, 0, 47, 0, 54733, 64, 0, '', 0, 'Player have Make It Wright (54733) in state rewarded'),
(26, 12649, 0, 0, 0, 47, 0, 54731, 64, 0, '', 0, 'Player have Balance in All Things (54731) in state rewarded');
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 149252, 1643, 8721, 9965, '0', 12649, 0, 0, 0, -480.03125, 2697.6103515625, 282.93701171875, 2.246921777725219726, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904); -- Bound Sky (Area: Ulfar's Den - Difficulty: 0) CreateObject1
@@ -1,4 +0,0 @@
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_pri_sanctuary_trigger', 'spell_pri_sanctuary_absorb');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(585, 'spell_pri_sanctuary_trigger'),
(208771, 'spell_pri_sanctuary_absorb');
@@ -1,697 +0,0 @@
SET @CGUID := 7000965;
SET @OGUID := 7000255;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+193;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -944.03472900390625, 2531.718017578125, 833.1600341796875, 2.822783470153808593, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+1, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -941.84375, 2558.669189453125, 833.98089599609375, 2.369542837142944335, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+2, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -944.8125, 2540.700439453125, 833.1351318359375, 3.442508220672607421, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+3, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -945.43231201171875, 2543.790771484375, 833.1351318359375, 1.694045782089233398, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+4, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -946.6319580078125, 2540.90185546875, 833.1351318359375, 6.210959434509277343, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+5, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -945.982666015625, 2531.24560546875, 833.1600341796875, 0.845595180988311767, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+6, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -940.44097900390625, 2560.201416015625, 833.978759765625, 3.021476507186889648, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+7, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -945.37152099609375, 2533.37841796875, 833.1600341796875, 5.025929450988769531, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+8, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -958.40802001953125, 2562.046875, 833.13507080078125, 2.737042427062988281, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+9, 137651, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -965.94268798828125, 2563.241455078125, 833.6182861328125, 0.240288496017456054, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Priest Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+10, 137651, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -937.4749755859375, 2575.660888671875, 833.15191650390625, 2.888591527938842773, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Priest Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+11, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -945.5399169921875, 2536.921142578125, 833.1351318359375, 1.694045782089233398, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+12, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -957.9757080078125, 2564.71875, 833.13507080078125, 3.704741954803466796, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+13, 137651, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -923.623291015625, 2562.640625, 833.618408203125, 3.230046272277832031, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Priest Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+14, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -943.2882080078125, 2570.9853515625, 833.66754150390625, 4.634091854095458984, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+15, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -962.56768798828125, 2568.46435546875, 833.13507080078125, 4.877518177032470703, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+16, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -945.27777099609375, 2547.682373046875, 833.1351318359375, 1.694045782089233398, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+17, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -930.53125, 2559.717041015625, 833.13507080078125, 0.729537844657897949, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+18, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -948.826416015625, 2565.846435546875, 833.9796142578125, 1.855781197547912597, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+19, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1045.2552490234375, 2584.71533203125, 812.562255859375, 1.592185258865356445, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+20, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -941.1805419921875, 2582.115478515625, 833.13507080078125, 4.559704780578613281, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+21, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1042.1475830078125, 2619.1484375, 810.1707763671875, 2.734555006027221679, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+22, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1048.767333984375, 2594.791748046875, 812.56231689453125, 4.22749948501586914, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+23, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1044.0694580078125, 2589.889892578125, 812.562255859375, 3.503414392471313476, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+24, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -941.45660400390625, 2587.901123046875, 833.13507080078125, 4.590793609619140625, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+25, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -948.359375, 2590.585205078125, 833.1351318359375, 4.773194789886474609, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+26, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1045.9461669921875, 2588.56689453125, 812.562255859375, 3.427168607711791992, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+27, 137651, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1053.07470703125, 2586.951416015625, 812.562255859375, 1.890555620193481445, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Priest Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+28, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -948.3819580078125, 2582.579833984375, 833.1351318359375, 4.789310932159423828, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+29, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1044.439208984375, 2592.107666015625, 812.56231689453125, 3.71709299087524414, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+30, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1048.1614990234375, 2589.35498046875, 812.562255859375, 3.668090343475341796, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+31, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1058.734375, 2581.150146484375, 812.562255859375, 2.477441310882568359, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+32, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -948.484375, 2587.991455078125, 833.13507080078125, 4.780829429626464843, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+33, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -941.47052001953125, 2584.79248046875, 833.13507080078125, 4.580109596252441406, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+34, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1044.65283203125, 2615.025146484375, 810.1707763671875, 2.808823108673095703, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+35, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1042.8663330078125, 2594.329833984375, 812.56231689453125, 3.794920921325683593, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+36, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -948.47918701171875, 2585.302001953125, 833.1351318359375, 4.786039352416992187, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+37, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -941.59552001953125, 2589.9609375, 833.1351318359375, 4.60070657730102539, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+38, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1043.3507080078125, 2617.225830078125, 810.1707763671875, 2.629465103149414062, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+39, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1047.19970703125, 2592.157958984375, 812.56231689453125, 3.90528106689453125, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+40, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1053.5399169921875, 2612.453125, 810.1707763671875, 4.801647663116455078, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+41, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1060.4930419921875, 2584.0791015625, 812.562255859375, 0.331103354692459106, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+42, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1050.4097900390625, 2610.184814453125, 810.1707763671875, 4.696378707885742187, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+43, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1042.2447509765625, 2626.5791015625, 810.1707763671875, 4.602987289428710937, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+44, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1040.9114990234375, 2621.361083984375, 810.1707763671875, 2.926496505737304687, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+45, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1042.0885009765625, 2629.94189453125, 810.1707763671875, 4.509044170379638671, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+46, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1045.5833740234375, 2626.889892578125, 810.1707763671875, 4.688610076904296875, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+47, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1049.921875, 2621.631103515625, 810.1707763671875, 4.688610076904296875, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+48, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1063.7864990234375, 2583.436767578125, 812.562255859375, 0.291409462690353393, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+49, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1037.8785400390625, 2627.396728515625, 810.1707763671875, 2.614302635192871093, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+50, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1039.21533203125, 2625.216064453125, 810.1707763671875, 2.793661355972290039, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+51, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1052.7239990234375, 2619.052978515625, 810.1707763671875, 4.763421058654785156, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+52, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1058.8160400390625, 2588.392333984375, 812.56231689453125, 6.030618667602539062, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+53, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1054.6805419921875, 2616.3447265625, 810.1707763671875, 4.824779987335205078, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+54, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1046.5833740234375, 2621.3212890625, 810.1707763671875, 4.602987289428710937, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+55, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1047.607666015625, 2612.763916015625, 810.1707763671875, 4.605737209320068359, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+56, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1045.2430419921875, 2630.51123046875, 810.1707763671875, 4.682677745819091796, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+57, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1061.1041259765625, 2591.83935546875, 812.56231689453125, 5.74700784683227539, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+58, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1050.954833984375, 2615.434814453125, 810.1707763671875, 4.715447425842285156, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+59, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1048.7691650390625, 2617.515625, 810.1707763671875, 4.653018474578857421, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+60, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1035.376708984375, 2631.493896484375, 810.1707763671875, 2.911333560943603515, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+61, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1045.1597900390625, 2624.1806640625, 810.1707763671875, 4.581586360931396484, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+62, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1036.6475830078125, 2629.30029296875, 810.1707763671875, 2.719393253326416015, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+63, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1063.015625, 2588.708251953125, 812.56231689453125, 6.100924015045166015, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+64, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1050.779541015625, 2612.40283203125, 810.1707763671875, 4.709904670715332031, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+65, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1048.1597900390625, 2629.19970703125, 810.1707763671875, 4.562702178955078125, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+66, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1068.1875, 2611.651123046875, 810.1357421875, 5.113024234771728515, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+67, 133943, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -990.677734375, 2691.999267578125, 809.94561767578125, 5.017427444458007812, 86400, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Minion of Zul (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 269935 - Bound by Shadow, 276032 - Minion of Zul Autoattack Override)
(@CGUID+68, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1049.5816650390625, 2625.252685546875, 810.1707763671875, 4.682677745819091796, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+69, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1053.2691650390625, 2624.302978515625, 810.1707763671875, 4.77001810073852539, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+70, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1050.720458984375, 2629.14501953125, 810.1707763671875, 4.709531307220458984, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+71, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1067.048583984375, 2607.7587890625, 810.12921142578125, 5.013617515563964843, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+72, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1063.9166259765625, 2605.491455078125, 810.13983154296875, 4.868524551391601562, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+73, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1064.2882080078125, 2607.708251953125, 810.14520263671875, 4.869642257690429687, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+74, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1065.8992919921875, 2615.377685546875, 810.16180419921875, 4.695498943328857421, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+75, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1068.48095703125, 2614.647705078125, 810.1441650390625, 4.868524551391601562, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+76, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1054.96875, 2628.37841796875, 810.1707763671875, 4.898334026336669921, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+77, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1056.9947509765625, 2625.212646484375, 810.1707763671875, 4.854987144470214843, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+78, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1068.8524169921875, 2616.864501953125, 810.1495361328125, 4.869642257690429687, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+79, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1043.388916015625, 2632.9609375, 810.1707763671875, 4.548925399780273437, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+80, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1053.8802490234375, 2631.337646484375, 810.1707763671875, 4.958815574645996093, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+81, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1070.888916015625, 2607.677978515625, 810.1251220703125, 1.52931380271911621, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+82, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1055.85595703125, 2621.3203125, 810.1707763671875, 4.84033966064453125, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+83, 133943, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -985.54949951171875, 2688.4140625, 809.945556640625, 5.233925819396972656, 86400, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Minion of Zul (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 269935 - Bound by Shadow, 276032 - Minion of Zul Autoattack Override)
(@CGUID+84, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1049.7413330078125, 2632.40283203125, 810.1707763671875, 4.797552108764648437, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+85, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1053.095458984375, 2621.27001953125, 810.1707763671875, 4.770053386688232421, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+86, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1064.4617919921875, 2610.741455078125, 810.15447998046875, 4.855473995208740234, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+87, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1058.1927490234375, 2629.587646484375, 810.1707763671875, 4.962352275848388671, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+88, 133943, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -980.76177978515625, 2686.755859375, 809.99066162109375, 4.843727588653564453, 86400, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Minion of Zul (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 269935 - Bound by Shadow, 276032 - Minion of Zul Autoattack Override)
(@CGUID+89, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1067.8125, 2624.052978515625, 810.1707763671875, 5.131470203399658203, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+90, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1078.9896240234375, 2612.887939453125, 810.13983154296875, 0.989469826221466064, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+91, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1071.375, 2612.32373046875, 810.134765625, 5.407551765441894531, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+92, 133935, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -959.6875, 2706.197021484375, 809.716064453125, 4.668361663818359375, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Animated Guardian (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+93, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1071.6129150390625, 2616.9150390625, 810.1441650390625, 5.013617515563964843, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+94, 133943, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -996.12457275390625, 2698.301513671875, 809.94561767578125, 0.661960780620574951, 86400, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Minion of Zul (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 269935 - Bound by Shadow, 276032 - Minion of Zul Autoattack Override)
(@CGUID+95, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1072.85595703125, 2624.037353515625, 810.1593017578125, 5.287476539611816406, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+96, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1069.0260009765625, 2619.897705078125, 810.1588134765625, 4.855473995208740234, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+97, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1068.0850830078125, 2627.798583984375, 810.1707763671875, 5.130417823791503906, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+98, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1074.2864990234375, 2619.04248046875, 810.14990234375, 5.33966827392578125, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+99, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1071.1129150390625, 2619.403564453125, 810.14898681640625, 5.25122690200805664, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+100, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1076.34033203125, 2621.123291015625, 810.1551513671875, 5.382352828979492187, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+101, 133943, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -982.6531982421875, 2699.805419921875, 809.9462890625, 3.351772546768188476, 86400, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Minion of Zul (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 269935 - Bound by Shadow, 276032 - Minion of Zul Autoattack Override)
(@CGUID+102, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1073.8350830078125, 2609.559814453125, 810.1304931640625, 1.077456355094909667, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+103, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1069.939208984375, 2625.348876953125, 810.1707763671875, 5.20259857177734375, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+104, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1066.9410400390625, 2621.416748046875, 810.1707763671875, 5.178107261657714843, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+105, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1077.6978759765625, 2617.202392578125, 810.14788818359375, 5.459810256958007812, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+106, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1072.751708984375, 2620.807373046875, 810.15264892578125, 5.113024234771728515, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+107, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1073.62158203125, 2613.8291015625, 810.13897705078125, 5.428458213806152343, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+108, 133935, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -930.68927001953125, 2706.22314453125, 809.71917724609375, 4.775103092193603515, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Animated Guardian (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+109, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1073.9149169921875, 2616.825439453125, 810.1451416015625, 5.372008800506591796, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+110, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1076.3992919921875, 2611.17626953125, 810.135009765625, 0.983282744884490966, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+111, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1070.279541015625, 2621.7275390625, 810.15771484375, 5.261078834533691406, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+112, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1077.96533203125, 2619.140625, 810.1519775390625, 5.476634979248046875, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+113, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1074.4375, 2627.240478515625, 810.16656494140625, 5.277400493621826171, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+114, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1081.6910400390625, 2620.05029296875, 810.15570068359375, 5.527834892272949218, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+115, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1035.935791015625, 2679.197021484375, 813.8499755859375, 2.568140029907226562, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+116, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1078.576416015625, 2626.17529296875, 810.16650390625, 5.37277078628540039, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+117, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1048.732666015625, 2663.185791015625, 810.1707763671875, 4.253280162811279296, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+118, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1030.7882080078125, 2684.45751953125, 813.849609375, 2.685811758041381835, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+119, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1079.6649169921875, 2623.216064453125, 810.16107177734375, 5.437875747680664062, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+120, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1043.810791015625, 2664.329833984375, 810.1707763671875, 4.025574207305908203, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+121, 133935, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1012.76739501953125, 2698.08154296875, 809.99530029296875, 0.675892174243927001, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Animated Guardian (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+122, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1090.8941650390625, 2619.819580078125, 810.1607666015625, 0.881225109100341796, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+123, 133943, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -981.3590087890625, 2704.012451171875, 809.945556640625, 5.3167724609375, 86400, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Minion of Zul (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 269935 - Bound by Shadow, 276032 - Minion of Zul Autoattack Override)
(@CGUID+124, 133943, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -988.8885498046875, 2712.16015625, 809.94561767578125, 6.269046783447265625, 86400, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Minion of Zul (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 269935 - Bound by Shadow, 276032 - Minion of Zul Autoattack Override)
(@CGUID+125, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1082.888916015625, 2624.42529296875, 810.1646728515625, 5.474312782287597656, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+126, 133943, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -982.7510986328125, 2705.015380859375, 809.945556640625, 5.443915367126464843, 86400, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Minion of Zul (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 269935 - Bound by Shadow, 276032 - Minion of Zul Autoattack Override)
(@CGUID+127, 137650, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1075.4166259765625, 2623.982666015625, 810.160400390625, 5.343303680419921875, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+128, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1086.96533203125, 2617.16845703125, 810.152587890625, 1.086696505546569824, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+129, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1034.142333984375, 2681.0234375, 813.84979248046875, 2.388781547546386718, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+130, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1057.857666015625, 2668.030517578125, 810.1707763671875, 4.501191139221191406, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+131, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1084.579833984375, 2615.798583984375, 810.1485595703125, 1.064578890800476074, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+132, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1088.890625, 2618.568603515625, 810.1563720703125, 0.983282744884490966, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+133, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1032.517333984375, 2682.604248046875, 813.849609375, 2.493871450424194335, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+134, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1059.4879150390625, 2672.38720703125, 810.1707763671875, 4.501191139221191406, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+135, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1048.0711669921875, 2687.78125, 813.8497314453125, 6.047887325286865234, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+136, 133935, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1023.50872802734375, 2710.885498046875, 810.002197265625, 0.675892174243927001, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Animated Guardian (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+137, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1095.185791015625, 2650.875, 810.1707763671875, 5.962779521942138671, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+138, 137478, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1107.46875, 2734.8603515625, 813.489013671875, 1.989097952842712402, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Queen Wasi (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+139, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1045.5885009765625, 2690.5087890625, 813.8497314453125, 5.596029281616210937, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+140, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1043.1597900390625, 2693.3046875, 813.849609375, 5.501855850219726562, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+141, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1084.8663330078125, 2660.564208984375, 810.1707763671875, 5.714869022369384765, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+142, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1085.467041015625, 2665.579833984375, 810.1707763671875, 5.487162590026855468, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+143, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1040.657958984375, 2696.155517578125, 813.849609375, 5.508043289184570312, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+144, 137652, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1090.6754150390625, 2652.01904296875, 810.1707763671875, 5.962779521942138671, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Untainted Guard Spirit (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 270691 - Friendly Troll Spirit Spawn)
(@CGUID+145, 137474, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1107.2708740234375, 2737.362060546875, 813.489013671875, 5.126218795776367187, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- King Timalji (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+146, 137473, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1133.84375, 2732.0546875, 813.489013671875, 0.037781734019517898, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Guard Captain Atu (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 42459 - Dual Wield)
(@CGUID+147, 136256, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -832.484375, 2786.694580078125, 773.6920166015625, 3.79013681411743164, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Coffin (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+148, 137485, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1135.638916015625, 2756.014892578125, 813.489013671875, 3.07689070701599121, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Bloodsworn Agent (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 42459 - Dual Wield)
(@CGUID+149, 137969, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -831.6475830078125, 2789.74658203125, 773.35711669921875, 4.836662769317626953, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Interment Construct (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+150, 136256, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -850.29864501953125, 2786.013916015625, 773.6920166015625, 3.433708667755126953, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Coffin (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+151, 134251, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1134.0399169921875, 2739.694580078125, 813.48974609375, 0.210642188787460327, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Seneschal M'bara (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+152, 79417, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1121.7379150390625, 2746.440185546875, 813.3909912109375, 0, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Invisible Stalker (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+153, 137485, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1135.7083740234375, 2757.5703125, 813.489013671875, 3.435297727584838867, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Bloodsworn Agent (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 42459 - Dual Wield)
(@CGUID+154, 137487, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1106.170166015625, 2756.119873046875, 813.489013671875, 0, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Skeletal Hunting Raptor (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+155, 137486, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1105.890625, 2757.17626953125, 813.489013671875, 3.291857719421386718, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Queen Patlaa (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+156, 134739, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -969.03643798828125, 2823.564208984375, 775.95745849609375, 3.145365715026855468, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Purification Construct (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+157, 137485, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1135.6302490234375, 2755.234375, 813.489013671875, 2.877234458923339843, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Bloodsworn Agent (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 42459 - Dual Wield)
(@CGUID+158, 134331, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1134.84033203125, 2735.80029296875, 813.489013671875, 0.055697351694107055, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- King Rahu'ai (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+159, 137484, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1135.298583984375, 2757.078125, 813.489013671875, 0.186452701687812805, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- King A'akul (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+160, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -840.194580078125, 2833.947998046875, 773.3519287109375, 3.968789100646972656, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+161, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -840.245849609375, 2852.3310546875, 773.351806640625, 5.877839565277099609, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+162, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -798.74822998046875, 2855.63037109375, 773.35186767578125, 5.542315483093261718, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+163, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -837.2315673828125, 2839.42236328125, 773.351806640625, 2.067578077316284179, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+164, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -848.604248046875, 2820.932861328125, 773.38458251953125, 1.384819626808166503, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+165, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -841.31048583984375, 2836.343017578125, 773.351806640625, 3.925760984420776367, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+166, 136256, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -783.3992919921875, 2833.880126953125, 773.6920166015625, 5.810433864593505859, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Coffin (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+167, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -823.399169921875, 2848.107177734375, 773.351806640625, 5.356040000915527343, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+168, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -788.11651611328125, 2829.005615234375, 773.35186767578125, 2.262636661529541015, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+169, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -793.96710205078125, 2847.607421875, 773.35186767578125, 1.952226042747497558, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+170, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -813.794677734375, 2853.243408203125, 773.351806640625, 3.403700113296508789, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+171, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -833.9298095703125, 2844.968505859375, 773.351806640625, 1.35204780101776123, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+172, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -845.09417724609375, 2820.61474609375, 773.37005615234375, 0.397684454917907714, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+173, 134993, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -813.09552001953125, 2816.1650390625, 775.0115966796875, 2.351068973541259765, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Mchimba the Embalmer (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+174, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -796.16656494140625, 2839.987548828125, 773.35186767578125, 4.995737552642822265, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+175, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -843.216796875, 2854.85546875, 775.1488037109375, 5.572754859924316406, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+176, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -833.654541015625, 2837.346435546875, 773.351806640625, 2.40901041030883789, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+177, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -815.9873046875, 2849.459716796875, 773.351806640625, 6.068692684173583984, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+178, 137989, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -800.8822021484375, 2827.01416015625, 773.3519287109375, 3.89269256591796875, 86400, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 54847), -- Embalming Fluid (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+179, 137485, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -1135.85595703125, 2759.15625, 813.489013671875, 3.582254648208618164, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Bloodsworn Agent (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 42459 - Dual Wield)
(@CGUID+180, 135167, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -799.28302001953125, 2912.8203125, 796.24676513671875, 0.20116773247718811, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Spectral Berserker (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 271570 - Transform: Invisible Stalker)
(@CGUID+181, 135192, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -857.09027099609375, 2916.545166015625, 795.95050048828125, 4.771107196807861328, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Honored Raptor (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 271570 - Transform: Invisible Stalker)
(@CGUID+182, 135204, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -801.34893798828125, 2905.7822265625, 796.24688720703125, 0.37156262993812561, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Spectral Hex Priest (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 271570 - Transform: Invisible Stalker)
(@CGUID+183, 135239, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -837.640625, 2915.842041015625, 795.950439453125, 0, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Spectral Witch Doctor (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 271570 - Transform: Invisible Stalker)
(@CGUID+184, 136256, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -783.12677001953125, 2852.502685546875, 773.6920166015625, 3.348135948181152343, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Coffin (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+185, 135192, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -856.20660400390625, 2907.78466796875, 795.950439453125, 1.642197251319885253, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Honored Raptor (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 271570 - Transform: Invisible Stalker)
(@CGUID+186, 135475, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1123.092041015625, 2889.876708984375, 775.63800048828125, 1.096770644187927246, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Kula the Butcher (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 271570 - Transform: Invisible Stalker, 42459 - Dual Wield)
(@CGUID+187, 135204, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -801.72393798828125, 2918.80029296875, 796.24688720703125, 6.206296443939208984, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Spectral Hex Priest (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 271570 - Transform: Invisible Stalker)
(@CGUID+188, 135470, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1124.21533203125, 2935.11376953125, 775.6282958984375, 5.472095966339111328, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Aka'ali the Conqueror (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+189, 137969, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -784.08856201171875, 2853.459228515625, 773.35711669921875, 6.217722415924072265, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Interment Construct (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@CGUID+190, 135167, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -837.82464599609375, 2907.77001953125, 795.950439453125, 0.865029871463775634, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Spectral Berserker (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 271570 - Transform: Invisible Stalker)
(@CGUID+191, 135235, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -860.0242919921875, 2916.411376953125, 796.54095458984375, 0.297151237726211547, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Spectral Beastmaster (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 271570 - Transform: Invisible Stalker)
(@CGUID+192, 135472, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 0, -1135.079833984375, 2911.82373046875, 775.660888671875, 6.269727706909179687, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Zanazal the Wise (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 271570 - Transform: Invisible Stalker)
(@CGUID+193, 136160, 1762, 9526, 9526, '23,8,2', '0', 0, 0, 1, -945.482666015625, 3164.830810546875, 780.2994384765625, 4.704408168792724609, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- King Dazar (Area: Kings' Rest - Difficulty: Heroic) CreateObject1 (Auras: 269055 - Dazar Pre-fight Visual)
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+193;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+8, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+12, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+14, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+15, 0, 0, 0, 0, 0, 1, 0, 569, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+18, 0, 0, 0, 0, 0, 1, 0, 569, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+19, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+20, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+21, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+22, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+23, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+24, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+25, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+26, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+28, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+29, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+30, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+31, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+32, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+33, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+34, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+35, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+36, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+37, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+38, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+39, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+40, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+41, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+42, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+43, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+44, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+45, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+46, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+47, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+48, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+49, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+50, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+51, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+52, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+53, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+54, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+55, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+56, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+57, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+58, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+59, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+60, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+61, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+62, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+63, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+64, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+65, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+66, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+68, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+69, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+70, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+71, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+72, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+73, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+74, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+75, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+76, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+77, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+78, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+79, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+80, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+81, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+82, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+84, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+85, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+86, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+87, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+89, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+90, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+91, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+93, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+95, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+96, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+97, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+98, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+99, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+100, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+102, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+103, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+104, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+105, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+106, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+107, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+109, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+110, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+111, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+112, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+113, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+114, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+115, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+116, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+117, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+118, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+119, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+120, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+122, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+125, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+127, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'), -- Untainted Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+128, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+129, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+130, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+131, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+132, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+133, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+134, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+135, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+137, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+139, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+140, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+141, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+142, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+143, 0, 0, 0, 0, 0, 1, 0, 717, 0, 0, 0, 0, '270691'), -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
(@CGUID+144, 0, 0, 0, 0, 0, 1, 0, 718, 0, 0, 0, 0, '270691'); -- Untainted Guard Spirit - 270691 - Friendly Troll Spirit Spawn
-- GameObjects
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60;
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, 296959, 1762, 9526, 9526, '23,8,2', '0', 0, -948.50177001953125, 2567.953125, 834.15966796875, 4.895322322845458984, 0.189019680023193359, 0.037981986999511718, -0.64168548583984375, 0.742339968681335449, 86400, 255, 1, 54847), -- Ancient Trinket (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+1, 290700, 1762, 9526, 9526, '23,8,2', '0', 0, -962.42022705078125, 2561.0556640625, 835.08978271484375, 0.523597896099090576, 0, 0, 0.258818626403808593, 0.965925931930541992, 86400, 255, 1, 54847), -- Worn Prayer Book (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+2, 290699, 1762, 9526, 9526, '23,8,2', '0', 0, -943.9571533203125, 2568.87353515625, 833.90069580078125, 1.22955632209777832, -0.1042485237121582, 0.066698074340820312, 0.576740264892578125, 0.807498812675476074, 86400, 255, 1, 54847), -- Doodad_Zandalari_FlavorDoodads_017 (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+3, 290698, 1762, 9526, 9526, '23,8,2', '0', 0, -943.26739501953125, 2560.68896484375, 834.45745849609375, 5.410523891448974609, 0.159891605377197265, 0.434438705444335937, -0.35625553131103515, 0.811652421951293945, 86400, 255, 1, 54847), -- Tablet (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+4, 252247, 1762, 9526, 9526, '23,8,2', '0', 0, -945.795166015625, 2522.8203125, 835.39044189453125, 1.516869664192199707, 0, 0, 0.687786102294921875, 0.725913405418395996, 86400, 255, 1, 54847), -- Instance Portal (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+5, 288466, 1762, 9526, 9526, '23,8,2', '0', 0, -1049.499755859375, 2573.83056640625, 814.9539794921875, 1.812696337699890136, 0, 0, 0.787257194519042968, 0.616624772548675537, 86400, 255, 1, 54847), -- Serpentine Seal (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+6, 290690, 1762, 9526, 9526, '23,8,2', '0', 0, -1043.58837890625, 2585.045654296875, 812.416259765625, 4.938657760620117187, 0, 0, -0.62275886535644531, 0.782413840293884277, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+7, 292840, 1762, 9526, 9526, '23,8,2', '0', 0, -1059.8748779296875, 2581.077880859375, 812.416259765625, 4.938657760620117187, 0, 0, -0.62275886535644531, 0.782413840293884277, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+8, 282652, 1762, 9526, 9526, '23,8,2', '0', 0, -945.00933837890625, 2667.2353515625, 812.4388427734375, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54847), -- Kings' Rest - Entryway Door (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+9, 287391, 1762, 9526, 9526, '23,8,2', '0', 0, -1047.99755859375, 2675.12255859375, 813.6484375, 4.206246376037597656, 0, 0, -0.86162853240966796, 0.50753939151763916, 86400, 255, 0, 54847), -- Boss 1 Door 1 (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+10, 287390, 1762, 9526, 9526, '23,8,2', '0', 0, -1028.04443359375, 2697.00048828125, 813.676025390625, 0.663225173950195312, 0, 0, 0.325568199157714843, 0.945518553256988525, 86400, 255, 0, 54847), -- Tomb Door (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+11, 290688, 1762, 9526, 9526, '23,8,2', '0', 0, -1016.22265625, 2699.9453125, 809.81292724609375, 3.804197072982788085, 0, 0, -0.94561958312988281, 0.325274676084518432, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+12, 289347, 1762, 9526, 9526, '23,8,2', '0', 0, -1066.8729248046875, 2642.761474609375, 810.79876708984375, 1.823868632316589355, 0, 0, 0.790689468383789062, 0.612217426300048828, 86400, 255, 1, 54847), -- Liquid Gold Pool (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+13, 290687, 1762, 9526, 9526, '23,8,2', '0', 0, -889.922119140625, 2702.498291015625, 809.81292724609375, 0, 0, 0, 0, 1, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+14, 296960, 1762, 9526, 9526, '23,8,2', '0', 0, -1046.94970703125, 2733.6875, 810.88067626953125, 5.651650428771972656, -0.0247507095336914, 0.052821159362792968, -0.30840015411376953, 0.949466526508331298, 86400, 255, 1, 54847), -- Ancient Trinket (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+15, 297157, 1762, 9526, 9526, '23,8,2', '0', 0, -1108.09619140625, 2695.991455078125, 820.1597900390625, 3.118540048599243164, 0.09043741226196289, -0.00111103057861328, 0.995835304260253906, 0.011484993621706962, 86400, 255, 1, 54847), -- Vault (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+16, 278814, 1762, 9526, 9526, '23,8,2', '0', 0, -847.7703857421875, 2415.89013671875, 678.25006103515625, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 86400, 255, 1, 54847), -- Doodad_8DU_CityofGold_WaterfallStairs01 (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+17, 293693, 1762, 9526, 9526, '23,8,2', '0', 0, -889.922119140625, 2712.2353515625, 809.81292724609375, 0, 0, 0, 0, 1, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+18, 297156, 1762, 9526, 9526, '23,8,2', '0', 0, -1132.8414306640625, 2695.42626953125, 820.5330810546875, 0.034154761582612991, 0.001474380493164062, -0.09043216705322265, 0.017000198364257812, 0.995756387710571289, 86400, 255, 1, 54847), -- Vault (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+19, 290689, 1762, 9526, 9526, '23,8,2', '0', 0, -1043.4267578125, 2734.840576171875, 809.81292724609375, 3.804197072982788085, 0, 0, -0.94561958312988281, 0.325274676084518432, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+20, 297155, 1762, 9526, 9526, '23,8,2', '0', 0, -1133.0750732421875, 2704.33544921875, 820.3310546875, 0.027649985626339912, 0.001180171966552734, -0.09043598175048828, 0.013761520385742187, 0.995806455612182617, 86400, 255, 1, 54847), -- Vault (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+21, 290684, 1762, 9526, 9526, '23,8,2', '0', 0, -1098.56103515625, 2735.51904296875, 814.64862060546875, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54847), -- Doodad_8DU_CityofGold_Sarcophagus006 (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+22, 297154, 1762, 9526, 9526, '23,8,2', '0', 0, -1107.964111328125, 2704.528076171875, 820.1728515625, 3.128493547439575195, 0.090441703796386718, -0.00065326690673828, 0.995880126953125, 0.006528194528073072, 86400, 255, 1, 54847), -- Vault (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+23, 292839, 1762, 9526, 9526, '23,8,2', '0', 0, -1049.6185302734375, 2742.776123046875, 809.81292724609375, 3.804197072982788085, 0, 0, -0.94561958312988281, 0.325274676084518432, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+24, 287393, 1762, 9526, 9526, '23,8,2', '0', 0, -1120.573974609375, 2715.253173828125, 815.07647705078125, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 86400, 255, 0, 54847), -- Doodad_8DU_CityofGold_Gate001 (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+25, 297153, 1762, 9526, 9526, '23,8,2', '0', 0, -1133.37109375, 2695.50341796875, 817.924072265625, 0.05874967947602272, 0.0050811767578125, -0.17292213439941406, 0.028927803039550781, 0.984497487545013427, 86400, 255, 1, 54847), -- Tiki Pepe (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+26, 292838, 1762, 9526, 9526, '23,8,2', '0', 0, -1022.3153076171875, 2707.753662109375, 809.81292724609375, 3.804197072982788085, 0, 0, -0.94561958312988281, 0.325274676084518432, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+27, 287392, 1762, 9526, 9526, '23,8,2', '0', 0, -1097.36376953125, 2662.560302734375, 813.6572265625, 5.705415725708007812, 0, 0, -0.28488349914550781, 0.958562135696411132, 86400, 255, 1, 54847), -- Kings' Rest - Boss 1 - Post Door (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+28, 289643, 1762, 9526, 9526, '23,8,2', '0', 0, -850.652587890625, 2781.932861328125, 774.33135986328125, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 86400, 255, 1, 54847), -- Coffin (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+29, 289642, 1762, 9526, 9526, '23,8,2', '0', 0, -832.06097412109375, 2781.932861328125, 774.33135986328125, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 86400, 255, 1, 54847), -- Coffin (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+30, 292841, 1762, 9526, 9526, '23,8,2', '0', 0, -963.7064208984375, 2818.81884765625, 775.84954833984375, 6.277570247650146484, 0, 0, -0.0028076171875, 0.999996066093444824, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+31, 290683, 1762, 9526, 9526, '23,8,2', '0', 0, -1098.56103515625, 2756.8388671875, 814.64862060546875, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54847), -- Doodad_8DU_CityofGold_Sarcophagus005 (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+32, 290682, 1762, 9526, 9526, '23,8,2', '0', 0, -1135.70263671875, 2742.336669921875, 813.3485107421875, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+33, 290681, 1762, 9526, 9526, '23,8,2', '0', 0, -1105.5498046875, 2749.875244140625, 813.3485107421875, 0, 0, 0, 0, 1, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+34, 290693, 1762, 9526, 9526, '23,8,2', '0', 0, -1135.70263671875, 2749.896240234375, 813.3485107421875, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+35, 290685, 1762, 9526, 9526, '23,8,2', '0', 0, -1142.72802734375, 2735.521728515625, 814.64862060546875, 0, 0, 0, 0, 1, 86400, 255, 1, 54847), -- Doodad_8DU_CityofGold_Sarcophagus007 (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+36, 287395, 1762, 9526, 9526, '23,8,2', '0', 0, -865.35614013671875, 2823.8193359375, 773.23809814453125, 0, 0, 0, 0, 1, 86400, 255, 0, 54847), -- Gate (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+37, 290692, 1762, 9526, 9526, '23,8,2', '0', 0, -1105.5498046875, 2742.480712890625, 813.3485107421875, 0, 0, 0, 0, 1, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+38, 287394, 1762, 9526, 9526, '23,8,2', '0', 0, -1120.8062744140625, 2777.142578125, 815.39202880859375, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 86400, 255, 1, 54847), -- Gate (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+39, 288467, 1762, 9526, 9526, '23,8,2', '0', 0, -843.0262451171875, 2845.6689453125, 772.914794921875, 2.356189966201782226, 0, 0, 0.923878669738769531, 0.38268551230430603, 86400, 255, 0, 54847), -- Doodad_8DU_CityofGold_GoldLiquid001 (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+40, 287396, 1762, 9526, 9526, '23,8,2', '0', 0, -821.2733154296875, 2867.095458984375, 773.50262451171875, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 86400, 255, 1, 54847), -- Gate (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+41, 290691, 1762, 9526, 9526, '23,8,2', '0', 0, -963.64990234375, 2828.87939453125, 775.84954833984375, 6.277570247650146484, 0, 0, -0.0028076171875, 0.999996066093444824, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+42, 289640, 1762, 9526, 9526, '23,8,2', '0', 0, -779.310302734375, 2834.558837890625, 774.33135986328125, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54847), -- Coffin (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+43, 290686, 1762, 9526, 9526, '23,8,2', '0', 0, -1142.72802734375, 2756.841552734375, 814.64862060546875, 0, 0, 0, 0, 1, 86400, 255, 1, 54847), -- Doodad_8DU_CityofGold_Sarcophagus008 (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+44, 287503, 1762, 9526, 9526, '23,8,2', '0', 0, -1069.628662109375, 2911.192626953125, 775.6812744140625, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 0, 54847), -- Gate (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+45, 287397, 1762, 9526, 9526, '23,8,2', '0', 0, -945.02783203125, 3111.5546875, 779.56878662109375, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 86400, 255, 1, 54847), -- Gate (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+46, 290701, 1762, 9526, 9526, '23,8,2', '0', 0, -821.2193603515625, 2891.329345703125, 776.56640625, 1.551803946495056152, -0.1033024787902832, 0.101439476013183593, 0.693262100219726562, 0.705993115901947021, 86400, 255, 1, 54847), -- Tablet (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+47, 289641, 1762, 9526, 9526, '23,8,2', '0', 0, -779.310302734375, 2853.150634765625, 774.33135986328125, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54847), -- Coffin (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+48, 282651, 1762, 9526, 9526, '23,8,2', '0', 0, -890.413818359375, 2911.51953125, 798.2532958984375, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 86400, 255, 1, 54847), -- Door (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+49, 282650, 1762, 9526, 9526, '23,8,2', '0', 0, -999.647705078125, 2911.51953125, 798.2532958984375, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 86400, 255, 0, 54847), -- Doodad_8DU_CityofGold_Door001 (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+50, 296961, 1762, 9526, 9526, '23,8,2', '0', 0, -876.52081298828125, 2895.6103515625, 828.03106689453125, 1.668980598449707031, -0.66526031494140625, 0.066414833068847656, 0.711600303649902343, 0.215969398617744445, 86400, 255, 1, 54847), -- Ancient Trinket (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+51, 290695, 1762, 9526, 9526, '23,8,2', '0', 0, -1126.51318359375, 2884.5390625, 775.625732421875, 4.183174610137939453, 0, 0, -0.86742591857910156, 0.497566372156143188, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+52, 289644, 1762, 9526, 9526, '23,8,2', '0', 0, -945.02783203125, 3152.648193359375, 781.33306884765625, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 86400, 255, 0, 54847), -- Kings' Rest - Boss 4 - Dazar Gate (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+53, 287118, 1762, 9526, 9526, '23,8,2', '0', 0, -945.039306640625, 2925.853759765625, 794.63360595703125, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54847), -- Bridge (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+54, 287117, 1762, 9526, 9526, '23,8,2', '0', 0, -945.111083984375, 2995.37841796875, 841.71942138671875, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 0, 54847), -- Waterfall (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+55, 289527, 1762, 9526, 9526, '23,8,2', '0', 0, -944.9449462890625, 2921.4736328125, 797.9287109375, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 86400, 255, 1, 54847), -- Gate (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+56, 290694, 1762, 9526, 9526, '23,8,2', '0', 0, -1142.5347900390625, 2911.3408203125, 775.625732421875, 3.135416269302368164, 0, 0, 0.999995231628417968, 0.003088161814957857, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+57, 290696, 1762, 9526, 9526, '23,8,2', '0', 0, -1126.418212890625, 2938.157958984375, 775.625732421875, 2.088776588439941406, 0, 0, 0.864617347717285156, 0.502430915832519531, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+58, 296962, 1762, 9526, 9526, '23,8,2', '0', 0, -937.94097900390625, 3083.7275390625, 791.98583984375, 1.020166754722595214, -0.0773324966430664, 0.104043006896972656, 0.486017227172851562, 0.864281177520751953, 86400, 255, 1, 54847), -- Ancient Trinket (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+59, 292842, 1762, 9526, 9526, '23,8,2', '0', 0, -939.44317626953125, 3098.534912109375, 780.1424560546875, 1.56517958641052246, 0, 0, 0.705118179321289062, 0.709089815616607666, 86400, 255, 1, 54847), -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
(@OGUID+60, 290697, 1762, 9526, 9526, '23,8,2', '0', 0, -950.8167724609375, 3098.598876953125, 780.1424560546875, 1.56517958641052246, 0, 0, 0.705118179321289062, 0.709089815616607666, 86400, 255, 1, 54847); -- Placard (Area: Kings' Rest - Difficulty: Heroic) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+60;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+1, 0, 0, 1, -0.00000004371138828, 0, 0), -- Worn Prayer Book
(@OGUID+2, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_Zandalari_FlavorDoodads_017
(@OGUID+3, 0, 0, 1, -0.00000004371138828, 0, 0), -- Tablet
(@OGUID+5, 0, 0, 1, -0.00000004371138828, 2100, 0), -- Serpentine Seal
(@OGUID+6, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+7, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+8, 0, 0, 1, -0.00000004371138828, 0, 0), -- Kings' Rest - Entryway Door
(@OGUID+9, 0, 0, 1, -0.00000004371138828, 0, 0), -- Boss 1 Door 1
(@OGUID+10, 0, 0, 1, -0.00000004371138828, 0, 0), -- Tomb Door
(@OGUID+11, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+12, 0, 0, 1, -0.00000004371138828, 0, 0), -- Liquid Gold Pool
(@OGUID+13, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+15, 0, 0, 1, -0.00000004371138828, 0, 0), -- Vault
(@OGUID+16, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_8DU_CityofGold_WaterfallStairs01
(@OGUID+17, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+18, 0, 0, 1, -0.00000004371138828, 0, 0), -- Vault
(@OGUID+19, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+20, 0, 0, 1, -0.00000004371138828, 0, 0), -- Vault
(@OGUID+21, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_8DU_CityofGold_Sarcophagus006
(@OGUID+22, 0, 0, 1, -0.00000004371138828, 0, 0), -- Vault
(@OGUID+23, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+24, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_8DU_CityofGold_Gate001
(@OGUID+25, 0, 0, 1, -0.00000004371138828, 0, 0), -- Tiki Pepe
(@OGUID+26, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+27, 0, 0, 1, -0.00000004371138828, 0, 0), -- Kings' Rest - Boss 1 - Post Door
(@OGUID+28, 0, 0, 1, -0.00000004371138828, 0, 0), -- Coffin
(@OGUID+29, 0, 0, 1, -0.00000004371138828, 0, 0), -- Coffin
(@OGUID+30, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+31, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_8DU_CityofGold_Sarcophagus005
(@OGUID+32, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+33, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+34, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+35, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_8DU_CityofGold_Sarcophagus007
(@OGUID+36, 0, 0, 1, -0.00000004371138828, 0, 0), -- Gate
(@OGUID+37, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+38, 0, 0, 1, -0.00000004371138828, 0, 0), -- Gate
(@OGUID+39, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_8DU_CityofGold_GoldLiquid001
(@OGUID+40, 0, 0, 1, -0.00000004371138828, 0, 0), -- Gate
(@OGUID+41, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+42, 0, 0, 1, -0.00000004371138828, 0, 0), -- Coffin
(@OGUID+43, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_8DU_CityofGold_Sarcophagus008
(@OGUID+44, 0, 0, 1, -0.00000004371138828, 0, 0), -- Gate
(@OGUID+45, 0, 0, 1, -0.00000004371138828, 0, 0), -- Gate
(@OGUID+46, 0, 0, 1, -0.00000004371138828, 0, 0), -- Tablet
(@OGUID+47, 0, 0, 1, -0.00000004371138828, 0, 0), -- Coffin
(@OGUID+48, 0, 0, 1, -0.00000004371138828, 0, 0), -- Door
(@OGUID+49, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_8DU_CityofGold_Door001
(@OGUID+51, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+52, 0, 0, 1, -0.00000004371138828, 0, 0), -- Kings' Rest - Boss 4 - Dazar Gate
(@OGUID+53, 0, 0, 1, -0.00000004371138828, 0, 0), -- Bridge
(@OGUID+54, 0, 0, 1, -0.00000004371138828, 0, 13792), -- Waterfall
(@OGUID+55, 0, 0, 1, -0.00000004371138828, 0, 0), -- Gate
(@OGUID+56, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+57, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+59, 0, 0, 1, -0.00000004371138828, 0, 0), -- Placard
(@OGUID+60, 0, 0, 1, -0.00000004371138828, 0, 0); -- Placard
-- Template
UPDATE `creature_template` SET `unit_flags`=33554496, `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=136160; -- King Dazar
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=135472; -- Zanazal the Wise
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=135470; -- Aka'ali the Conqueror
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=134993; -- Mchimba the Embalmer
UPDATE `creature_template` SET `unit_flags3`=67108865 WHERE `entry`=137487; -- Skeletal Hunting Raptor
UPDATE `creature_template` SET `unit_flags3`=16777216, `flags_extra` = 128 WHERE `entry`=79417; -- Invisible Stalker
UPDATE `creature_template` SET `unit_flags3`=16777217, `flags_extra` = 128 WHERE `entry`=136256; -- Coffin
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=133943; -- Minion of Zul
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=137650; -- Untainted Spirit
UPDATE `gameobject_template` SET `VerifiedBuild`=54847 WHERE `entry` IN (292842, 290697, 290696, 290694, 287117, 290701, 282650, 289527, 290695, 287118, 282651, 287397, 287503, 289644, 290691, 290686, 288467, 287396, 290693, 292841, 287395, 287394, 290682, 290685, 290681, 290683, 290692, 297155, 290684, 297156, 287393, 297154, 292839, 297157, 290689, 278814, 292838, 293693, 287392, 290688, 290687, 289347, 287390, 287391, 292840, 288466, 290690, 282652, 252247, 290700, 290699, 290698);
UPDATE `gameobject_template` SET `ContentTuningId`=1242, `VerifiedBuild`=54847 WHERE `entry` IN (296962, 296961, 296960, 296959); -- Ancient Trinket
UPDATE `gameobject_template` SET `ContentTuningId`=1252, `VerifiedBuild`=54847 WHERE `entry` IN (289641, 289640, 289642, 289643); -- Coffin
UPDATE `gameobject_template` SET `ContentTuningId`=1252, `VerifiedBuild`=54847 WHERE `entry`=297153; -- Tiki Pepe
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (136160 /*136160 (King Dazar) - Dazar Pre-fight Visual*/, 135472 /*135472 (Zanazal the Wise) - Transform: Invisible Stalker*/, 135235 /*135235 (Spectral Beastmaster) - Transform: Invisible Stalker*/, 135470 /*135470 (Aka'ali the Conqueror)*/, 135475 /*135475 (Kula the Butcher) - Transform: Invisible Stalker, Dual Wield*/, 135239 /*135239 (Spectral Witch Doctor) - Transform: Invisible Stalker*/, 135204 /*135204 (Spectral Hex Priest) - Transform: Invisible Stalker*/, 135192 /*135192 (Honored Raptor) - Transform: Invisible Stalker*/, 135167 /*135167 (Spectral Berserker) - Transform: Invisible Stalker*/, 134993 /*134993 (Mchimba the Embalmer)*/, 137484 /*137484 (King A'akul)*/, 134331 /*134331 (King Rahu'ai)*/, 137486 /*137486 (Queen Patlaa)*/, 137487 /*137487 (Skeletal Hunting Raptor)*/, 134251 /*134251 (Seneschal M'bara)*/, 137485 /*137485 (Bloodsworn Agent) - Dual Wield*/, 137473 /*137473 (Guard Captain Atu) - Dual Wield*/, 137474 /*137474 (King Timalji)*/, 137478 /*137478 (Queen Wasi)*/, 133943 /*133943 (Minion of Zul) - Bound by Shadow, Minion of Zul Autoattack Override*/, 137652 /*137652 (Untainted Guard Spirit) - Friendly Troll Spirit Spawn*/, 137651 /*137651 (Untainted Priest Spirit) - Friendly Troll Spirit Spawn*/, 137650 /*137650 (Untainted Spirit) - Friendly Troll Spirit Spawn*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(136160, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, '269055'), -- 136160 (King Dazar) - Dazar Pre-fight Visual
(135472, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '271570'), -- 135472 (Zanazal the Wise) - Transform: Invisible Stalker
(135235, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '271570'), -- 135235 (Spectral Beastmaster) - Transform: Invisible Stalker
(135470, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, ''), -- 135470 (Aka'ali the Conqueror)
(135475, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '271570 42459'), -- 135475 (Kula the Butcher) - Transform: Invisible Stalker, Dual Wield
(135239, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '271570'), -- 135239 (Spectral Witch Doctor) - Transform: Invisible Stalker
(135204, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '271570'), -- 135204 (Spectral Hex Priest) - Transform: Invisible Stalker
(135192, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '271570'), -- 135192 (Honored Raptor) - Transform: Invisible Stalker
(135167, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '271570'), -- 135167 (Spectral Berserker) - Transform: Invisible Stalker
(137484, 0, 0, 0, 0, 0, 1, 0, 0, 15151, 0, 0, 0, ''), -- 137484 (King A'akul)
(134331, 0, 0, 0, 0, 0, 1, 0, 0, 15151, 0, 0, 0, ''), -- 134331 (King Rahu'ai)
(137486, 0, 0, 0, 0, 0, 1, 0, 0, 15151, 0, 0, 0, ''), -- 137486 (Queen Patlaa)
(137487, 0, 0, 0, 0, 0, 1, 0, 0, 15649, 0, 0, 0, ''), -- 137487 (Skeletal Hunting Raptor)
(134251, 0, 0, 0, 0, 0, 1, 0, 0, 15148, 0, 0, 0, ''), -- 134251 (Seneschal M'bara)
(137485, 0, 0, 0, 0, 0, 1, 0, 0, 3998, 0, 0, 0, '42459'), -- 137485 (Bloodsworn Agent) - Dual Wield
(137473, 0, 0, 0, 0, 0, 1, 0, 0, 15151, 0, 0, 0, '42459'), -- 137473 (Guard Captain Atu) - Dual Wield
(137474, 0, 0, 0, 0, 0, 1, 0, 0, 3998, 0, 0, 0, ''), -- 137474 (King Timalji)
(137478, 0, 0, 0, 0, 0, 1, 0, 0, 15148, 0, 0, 0, ''), -- 137478 (Queen Wasi)
(133943, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, '269935 276032'), -- 133943 (Minion of Zul) - Bound by Shadow, Minion of Zul Autoattack Override
(137652, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '270691'), -- 137652 (Untainted Guard Spirit) - Friendly Troll Spirit Spawn
(137651, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '270691'), -- 137651 (Untainted Priest Spirit) - Friendly Troll Spirit Spawn
(137650, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, '270691'); -- 137650 (Untainted Spirit) - Friendly Troll Spirit Spawn
UPDATE `gameobject_template_addon` SET `AIAnimKitID`=13792 WHERE `entry`=287117; -- Waterfall
UPDATE `gameobject_template_addon` SET `flags`=32, `WorldEffectID`=2100 WHERE `entry`=288466; -- Serpentine Seal
-- Difficulty
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (79417,198489));
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=2 AND `Entry` IN (135239,133935,134174,135167,137989,137478,135475,137969,134994,135235,134251,135192,134739,137473,135322,134157,136160,135470,137487,135472,135231,134158,137485,137486,135204,134331,133943,137484,137474,134993));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`) VALUES
(135239, 2, 7, 5, 1, 164836, 2097224, 0), -- Spectral Witch Doctor
(133935, 2, 7, 8.5, 1, 164820, 2097768, 0), -- Animated Guardian
(134174, 2, 7, 7.5, 1, 164824, 2097256, 0), -- Shadow-Borne Witch Doctor
(135167, 2, 7, 6, 1, 164831, 2097256, 0), -- Spectral Berserker
(137989, 2, 7, 3, 1, 164860, 2097256, 0), -- Embalming Fluid
(137478, 2, 7, 8, 1, 164852, 32, 0), -- Queen Wasi
(135475, 2, 7, 18, 1, 164841, 2097256, 128), -- Kula the Butcher
(137969, 2, 7, 10, 1, 164859, 2097768, 0), -- Interment Construct
(134994, 2, 7, 1, 1, 164830, 2097224, 0), -- Spectral Headhunter
(135235, 2, 7, 4.75, 1, 164835, 2097256, 0), -- Spectral Beastmaster
(134251, 2, 7, 5, 1, 164825, 2097224, 0), -- Seneschal M'bara
(135192, 2, 7, 5, 1, 164832, 2097224, 0), -- Honored Raptor
(134739, 2, 7, 12, 1, 164828, 2097768, 0), -- Purification Construct
(137473, 2, 7, 5, 1, 164850, 2097224, 0), -- Guard Captain Atu
(135322, 2, 7, 35, 1, 164838, 2097257, 128), -- The Golden Serpent
(134157, 2, 7, 5, 1, 164822, 2097256, 0), -- Shadow-Borne Warrior
(136160, 2, 7, 39, 1, 164846, 2097256, 128), -- King Dazar
(135470, 2, 7, 18, 1, 164839, 2097256, 128), -- Aka'ali the Conqueror
(137487, 2, 7, 5, 1, 164856, 2097225, 0), -- Skeletal Hunting Raptor
(135472, 2, 7, 18, 1, 164840, 2097256, 128), -- Zanazal the Wise
(135231, 2, 7, 10, 1, 164834, 2097256, 0), -- Spectral Brute
(134158, 2, 7, 8, 1, 164823, 2097256, 0), -- Shadow-Borne Champion
(137485, 2, 7, 5, 1, 164854, 2097256, 0), -- Bloodsworn Agent
(137486, 2, 7, 8, 1, 164855, 32, 0), -- Queen Patlaa
(135204, 2, 7, 4.5, 1, 164833, 2097256, 0), -- Spectral Hex Priest
(134331, 2, 7, 8, 1, 164826, 2097224, 0), -- King Rahu'ai
(133943, 2, 7, 1, 1, 164821, 2097224, 0), -- Minion of Zul
(137484, 2, 7, 13, 1, 164853, 32, 0), -- King A'akul
(137474, 2, 7, 8, 1, 164851, 2097256, 0), -- King Timalji
(134993, 2, 7, 35, 1, 164829, 2097256, 128); -- Mchimba the Embalmer
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=2 AND `Entry` IN (141086,143486,136795,137020,136256,137652,137651,137650));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`, `VerifiedBuild`) VALUES
(141086, 2, 0, 0, 501, 0, 0, 0, 0, 0, 0, 0, 0, 54847), -- 141086 (Untainted Spirit Guide) -
(143486, 2, 0, 0, 501, 536871168, 0, 0, 0, 0, 0, 0, 0, 54847), -- 143486 (Light) - Sessile, Floating
(136795, 2, 0, 0, 501, 536871168, 0, 0, 0, 0, 0, 0, 0, 54847), -- 136795 (Spear Stalker) - Sessile, Floating
(137020, 2, 2, 2, 501, 536870912, 0, 0, 0, 0, 0, 0, 0, 54847), -- 137020 (Shadow of Zul) - Floating
(136256, 2, 0, 0, 501, 536871168, 0, 33554432, 0, 0, 0, 0, 0, 54847), -- 136256 (Coffin) - Sessile, Floating - CannotTurn
(137652, 2, 0, 0, 501, 0, 0, 0, 0, 0, 0, 0, 0, 54847), -- 137652 (Untainted Guard Spirit) -
(137651, 2, 0, 0, 501, 0, 0, 0, 0, 0, 0, 0, 0, 54847), -- 137651 (Untainted Priest Spirit) -
(137650, 2, 0, 0, 501, 0, 0, 0, 0, 0, 0, 0, 0, 54847); -- 137650 (Untainted Spirit) -
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=0 WHERE (`Entry`=137020 AND `DifficultyID`=0); -- Shadow of Zul
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=0 WHERE (`Entry`=141086 AND `DifficultyID`=0); -- Untainted Spirit Guide
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=0 WHERE (`Entry`=69204 AND `DifficultyID`=0); -- Spawn of Horridon
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=0 WHERE (`Entry`=143486 AND `DifficultyID`=0); -- Light
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=0 WHERE (`Entry`=136795 AND `DifficultyID`=0); -- Spear Stalker
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=0 WHERE (`Entry`=137652 AND `DifficultyID`=0); -- Untainted Guard Spirit
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=0 WHERE (`Entry`=136256 AND `DifficultyID`=0); -- Coffin
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=0 WHERE (`Entry`=137650 AND `DifficultyID`=0); -- Untainted Spirit
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=0 WHERE (`Entry`=137651 AND `DifficultyID`=0); -- Untainted Priest Spirit
UPDATE `creature_template_difficulty` SET `ContentTuningID`=482, `StaticFlags3`=262144, `VerifiedBuild`=54847 WHERE (`Entry`=198489 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=0 WHERE (`Entry`=141086 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=0 WHERE (`Entry`=137652 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=0 WHERE (`Entry`=137651 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=0 WHERE (`Entry`=137650 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=0, `StaticFlags1`=536871168 WHERE (`Entry`=143486 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=0, `StaticFlags1`=536871168 WHERE (`Entry`=136795 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=0, `StaticFlags1`=536871168, `StaticFlags3`=33554432 WHERE (`Entry`=136256 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=0, `StaticFlags1`=536870912 WHERE (`Entry`=137020 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=328, `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=79417 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134994 AND `DifficultyID`=2); -- 134994 (Spectral Headhunter) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135231 AND `DifficultyID`=2); -- 135231 (Spectral Brute) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135322 AND `DifficultyID`=2); -- 135322 (The Golden Serpent) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134174 AND `DifficultyID`=2); -- 134174 (Shadow-Borne Witch Doctor) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134157 AND `DifficultyID`=2); -- 134157 (Shadow-Borne Warrior) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134158 AND `DifficultyID`=2); -- 134158 (Shadow-Borne Champion) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=136160 AND `DifficultyID`=2); -- 136160 (King Dazar) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135472 AND `DifficultyID`=2); -- 135472 (Zanazal the Wise) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135470 AND `DifficultyID`=2); -- 135470 (Aka'ali the Conqueror) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135204 AND `DifficultyID`=2); -- 135204 (Spectral Hex Priest) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135475 AND `DifficultyID`=2); -- 135475 (Kula the Butcher) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135167 AND `DifficultyID`=2); -- 135167 (Spectral Berserker) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135239 AND `DifficultyID`=2); -- 135239 (Spectral Witch Doctor) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135235 AND `DifficultyID`=2); -- 135235 (Spectral Beastmaster) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135192 AND `DifficultyID`=2); -- 135192 (Honored Raptor) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134993 AND `DifficultyID`=2); -- 134993 (Mchimba the Embalmer) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=137989 AND `DifficultyID`=2); -- 137989 (Embalming Fluid) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=137487 AND `DifficultyID`=2); -- 137487 (Skeletal Hunting Raptor) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134251 AND `DifficultyID`=2); -- 134251 (Seneschal M'bara) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=137473 AND `DifficultyID`=2); -- 137473 (Guard Captain Atu) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=501, `VerifiedBuild`=54847 WHERE (`Entry`=137486 AND `DifficultyID`=2); -- 137486 (Queen Patlaa) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=137969 AND `DifficultyID`=2); -- 137969 (Interment Construct) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134739 AND `DifficultyID`=2); -- 134739 (Purification Construct) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134331 AND `DifficultyID`=2); -- 134331 (King Rahu'ai) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=501, `VerifiedBuild`=54847 WHERE (`Entry`=137484 AND `DifficultyID`=2); -- 137484 (King A'akul) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=137485 AND `DifficultyID`=2); -- 137485 (Bloodsworn Agent) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=501, `VerifiedBuild`=54847 WHERE (`Entry`=137478 AND `DifficultyID`=2); -- 137478 (Queen Wasi) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=137474 AND `DifficultyID`=2); -- 137474 (King Timalji) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=133935 AND `DifficultyID`=2); -- 133935 (Animated Guardian) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=501, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=133943 AND `DifficultyID`=2); -- 133943 (Minion of Zul) - CanSwim
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `HealthModifier`=17, `ManaModifier`=50, `CreatureDifficultyID`=143459, `TypeFlags`=36 WHERE (`Entry`=137020 AND `DifficultyID`=2); -- Shadow of Zul
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `CreatureDifficultyID`=143232 WHERE (`Entry`=136795 AND `DifficultyID`=2); -- Spear Stalker
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `CreatureDifficultyID`=154784 WHERE (`Entry`=143486 AND `DifficultyID`=2); -- Light
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `CreatureDifficultyID`=148089 WHERE (`Entry`=141086 AND `DifficultyID`=2); -- Untainted Spirit Guide
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `HealthModifier`=15, `CreatureDifficultyID`=144155 WHERE (`Entry`=137652 AND `DifficultyID`=2); -- Untainted Guard Spirit
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `CreatureDifficultyID`=144154 WHERE (`Entry`=137651 AND `DifficultyID`=2); -- Untainted Priest Spirit
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `CreatureDifficultyID`=144153 WHERE (`Entry`=137650 AND `DifficultyID`=2); -- Untainted Spirit
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `CreatureDifficultyID`=142542 WHERE (`Entry`=136256 AND `DifficultyID`=2); -- Coffin
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=23 AND `Entry` IN (137473,134994,135204,134251,137484,137486,133935,134174,135475,135231,134157,135192,137487,133943,135470,134158,135472,134739,136160,137474,135322,135235,134993,137478,135239,137485,134331,135167,137989,137969));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`) VALUES
(137473, 23, 7, 8.125, 1, 147437, 2097224, 0), -- Guard Captain Atu
(134994, 23, 7, 1.625, 1, 147459, 2097224, 0), -- Spectral Headhunter
(135204, 23, 7, 4.5, 1, 147456, 2097256, 0), -- Spectral Hex Priest
(134251, 23, 7, 5, 1, 147464, 2097224, 0), -- Seneschal M'bara
(137484, 23, 7, 13, 1, 147434, 32, 0), -- King A'akul
(137486, 23, 7, 8, 1, 147432, 32, 0), -- Queen Patlaa
(133935, 23, 7, 8.5, 1, 147469, 2097768, 0), -- Animated Guardian
(134174, 23, 7, 7.5, 1, 147465, 2097256, 0), -- Shadow-Borne Witch Doctor
(135475, 23, 7, 18, 1, 147447, 2097256, 128), -- Kula the Butcher
(135231, 23, 7, 10, 1, 147455, 2097256, 0), -- Spectral Brute
(134157, 23, 7, 5, 1, 147467, 2097256, 0), -- Shadow-Borne Warrior
(135192, 23, 7, 5, 1, 147457, 2097224, 0), -- Honored Raptor
(137487, 23, 7, 5, 1, 147431, 2097225, 0), -- Skeletal Hunting Raptor
(133943, 23, 7, 1, 1, 147468, 2097224, 0), -- Minion of Zul
(135470, 23, 7, 18, 1, 147449, 2097256, 128), -- Aka'ali the Conqueror
(134158, 23, 7, 8, 1, 147466, 2097256, 0), -- Shadow-Borne Champion
(135472, 23, 7, 18, 1, 147448, 2097256, 128), -- Zanazal the Wise
(134739, 23, 7, 12, 1, 147461, 2097768, 0), -- Purification Construct
(136160, 23, 7, 39, 1, 147441, 2097256, 128), -- King Dazar
(137474, 23, 7, 8, 1, 147436, 2097256, 0), -- King Timalji
(135322, 23, 7, 35, 1, 147451, 2097257, 128), -- The Golden Serpent
(135235, 23, 7, 4.75, 1, 147454, 2097256, 0), -- Spectral Beastmaster
(134993, 23, 7, 35, 1, 147460, 2097256, 128), -- Mchimba the Embalmer
(137478, 23, 7, 8, 1, 147435, 32, 0), -- Queen Wasi
(135239, 23, 7, 5, 1, 147453, 2097224, 0), -- Spectral Witch Doctor
(137485, 23, 7, 5, 1, 147433, 2097256, 0), -- Bloodsworn Agent
(134331, 23, 7, 8, 1, 147463, 2097224, 0), -- King Rahu'ai
(135167, 23, 7, 6, 1, 147458, 2097256, 0), -- Spectral Berserker
(137989, 23, 7, 3, 1, 147427, 2097256, 0), -- Embalming Fluid
(137969, 23, 7, 10, 1, 147428, 2097768, 0); -- Interment Construct
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=23 AND `Entry` IN (143486,136795,137020,136256,137652,137651,137650));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`, `VerifiedBuild`) VALUES
(143486, 23, 0, 0, 502, 536871168, 0, 0, 0, 0, 0, 0, 0, 54847), -- 143486 (Light) - Sessile, Floating
(136795, 23, 0, 0, 502, 536871168, 0, 0, 0, 0, 0, 0, 0, 54847), -- 136795 (Spear Stalker) - Sessile, Floating
(137020, 23, 2, 2, 502, 536870912, 0, 0, 0, 0, 0, 0, 0, 54847), -- 137020 (Shadow of Zul) - Floating
(136256, 23, 0, 0, 502, 536871168, 0, 33554432, 0, 0, 0, 0, 0, 54847), -- 136256 (Coffin) - Sessile, Floating - CannotTurn
(137652, 23, 0, 0, 502, 0, 0, 0, 0, 0, 0, 0, 0, 54847), -- 137652 (Untainted Guard Spirit) -
(137651, 23, 0, 0, 502, 0, 0, 0, 0, 0, 0, 0, 0, 54847), -- 137651 (Untainted Priest Spirit) -
(137650, 23, 0, 0, 502, 0, 0, 0, 0, 0, 0, 0, 0, 54847); -- 137650 (Untainted Spirit) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135231 AND `DifficultyID`=23); -- 135231 (Spectral Brute) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134994 AND `DifficultyID`=23); -- 134994 (Spectral Headhunter) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135322 AND `DifficultyID`=23); -- 135322 (The Golden Serpent) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134174 AND `DifficultyID`=23); -- 134174 (Shadow-Borne Witch Doctor) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134158 AND `DifficultyID`=23); -- 134158 (Shadow-Borne Champion) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134157 AND `DifficultyID`=23); -- 134157 (Shadow-Borne Warrior) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=136160 AND `DifficultyID`=23); -- 136160 (King Dazar) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135472 AND `DifficultyID`=23); -- 135472 (Zanazal the Wise) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135475 AND `DifficultyID`=23); -- 135475 (Kula the Butcher) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135470 AND `DifficultyID`=23); -- 135470 (Aka'ali the Conqueror) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135192 AND `DifficultyID`=23); -- 135192 (Honored Raptor) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135167 AND `DifficultyID`=23); -- 135167 (Spectral Berserker) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135204 AND `DifficultyID`=23); -- 135204 (Spectral Hex Priest) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135239 AND `DifficultyID`=23); -- 135239 (Spectral Witch Doctor) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=135235 AND `DifficultyID`=23); -- 135235 (Spectral Beastmaster) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134993 AND `DifficultyID`=23); -- 134993 (Mchimba the Embalmer) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=137989 AND `DifficultyID`=23); -- 137989 (Embalming Fluid) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=137969 AND `DifficultyID`=23); -- 137969 (Interment Construct) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=502, `VerifiedBuild`=54847 WHERE (`Entry`=137484 AND `DifficultyID`=23); -- 137484 (King A'akul) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134739 AND `DifficultyID`=23); -- 134739 (Purification Construct) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134331 AND `DifficultyID`=23); -- 134331 (King Rahu'ai) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=134251 AND `DifficultyID`=23); -- 134251 (Seneschal M'bara) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=502, `VerifiedBuild`=54847 WHERE (`Entry`=137486 AND `DifficultyID`=23); -- 137486 (Queen Patlaa) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=137487 AND `DifficultyID`=23); -- 137487 (Skeletal Hunting Raptor) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=137473 AND `DifficultyID`=23); -- 137473 (Guard Captain Atu) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=137485 AND `DifficultyID`=23); -- 137485 (Bloodsworn Agent) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=137474 AND `DifficultyID`=23); -- 137474 (King Timalji) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=502, `VerifiedBuild`=54847 WHERE (`Entry`=137478 AND `DifficultyID`=23); -- 137478 (Queen Wasi) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=133935 AND `DifficultyID`=23); -- 133935 (Animated Guardian) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=502, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=133943 AND `DifficultyID`=23); -- 133943 (Minion of Zul) - CanSwim
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `HealthModifier`=17, `ManaModifier`=50, `CreatureDifficultyID`=143459, `TypeFlags`=36 WHERE (`Entry`=137020 AND `DifficultyID`=23); -- Shadow of Zul
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `CreatureDifficultyID`=154784 WHERE (`Entry`=143486 AND `DifficultyID`=23); -- Light
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `CreatureDifficultyID`=143232 WHERE (`Entry`=136795 AND `DifficultyID`=23); -- Spear Stalker
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `HealthModifier`=15, `CreatureDifficultyID`=144155 WHERE (`Entry`=137652 AND `DifficultyID`=23); -- Untainted Guard Spirit
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `CreatureDifficultyID`=142542 WHERE (`Entry`=136256 AND `DifficultyID`=23); -- Coffin
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `CreatureDifficultyID`=144153 WHERE (`Entry`=137650 AND `DifficultyID`=23); -- Untainted Spirit
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=7, `CreatureDifficultyID`=144154 WHERE (`Entry`=137651 AND `DifficultyID`=23); -- Untainted Priest Spirit
-- Waypoints for CGUID+10
SET @ENTRY := 137651;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Untainted Priest Spirit - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -950.0295, 2577.075, 833.1519, NULL, 0),
(@PATH, 1, -955.2518, 2572.451, 833.1519, NULL, 0),
(@PATH, 2, -956.1302, 2550.737, 833.152, NULL, 0),
(@PATH, 3, -945.3281, 2550.104, 833.1519, NULL, 0),
(@PATH, 4, -937.493, 2552.74, 833.1519, NULL, 0),
(@PATH, 5, -935.8733, 2563.595, 833.1929, NULL, 0),
(@PATH, 6, -934.5261, 2574.898, 833.1519, NULL, 0),
(@PATH, 7, -941.3143, 2576.654, 833.2446, NULL, 0);
UPDATE `creature` SET `position_x`= -950.0295, `position_y`= 2577.075, `position_z`= 833.1519, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+10;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+10;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`, `auras`) VALUES
(@CGUID+10, @PATH, 1, '270691');
@@ -1,15 +0,0 @@
SET @ATIDSPAWN := 68;
SET @ATID := 66;
SET @ATCP := 54;
DELETE FROM `areatrigger_template` WHERE (`Id` = @ATID+0 AND `IsCustom` = 1);
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(@ATID+0, 1, 1, 0);
DELETE FROM `areatrigger_create_properties` WHERE (`Id`= @ATCP+0 AND `IsCustom`=1);
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `ScriptName`, `VerifiedBuild`) VALUES
(@ATCP+0, 1, @ATID+0, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 8, 3, 8, 8, 3, 8, 0, 0, '', 0);
DELETE FROM `areatrigger` WHERE `SpawnId`=@ATIDSPAWN+0;
INSERT INTO `areatrigger` (`SpawnId`, `AreaTriggerCreatePropertiesId`, `IsCustom`, `MapId`, `SpawnDifficulties`, `PosX`, `PosY`, `PosZ`, `Orientation`, `PhaseUseFlags`, `PhaseId`, `PhaseGroup`, `ScriptName`, `Comment`, `VerifiedBuild`) VALUES
(@ATIDSPAWN+0, @ATCP+0, 1, 1643, '0', 1041.622, -596.877, 1.3597, 3.11838, 0, 0, 0, 'at_boralus_get_your_bearings_ferry', 'Boralus - Hub Tour Ferry', 0);
File diff suppressed because one or more lines are too long
@@ -1,81 +0,0 @@
-- Creature templates
UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=1 WHERE `entry`=32448; -- Alexstrasza's Gift
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=32295; -- Alexstrasza the Life-Binder
UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=1 WHERE `entry`=31253; -- Alexstrasza the Life-Binder
UPDATE `creature_template` SET `unit_flags2`=2080, `unit_flags3`=524289 WHERE `entry`=30592; -- Static Field
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=30334; -- Surge of Power
UPDATE `creature_template` SET `unit_flags3`=524289 WHERE `entry`=30282; -- Arcane Overload
UPDATE `creature_template` SET `faction`=35, `unit_flags`=512, `unit_flags3`=1 WHERE `entry`=30248; -- Hover Disk
UPDATE `creature_template` SET `faction`=35, `unit_flags`=512, `unit_flags3`=1 WHERE `entry`=30234; -- Hover Disk
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=30118; -- Portal (Malygos)
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=30090; -- Vortex
UPDATE `creature_template` SET `unit_flags2`=0, `unit_flags3`=524289 WHERE `entry`=30084; -- Power Spark
UPDATE `creature_template` SET `unit_flags`=64, `unit_flags2`=0 WHERE `entry`=28859; -- Malygos
UPDATE `creature_template_addon` SET `AnimTier`=3 WHERE `entry`=32448; -- 32448 (Alexstrasza's Gift) - Alexstrasza's Gift Visual
UPDATE `creature_template_addon` SET `AnimTier`=0 WHERE `entry`=30161; -- 30161 (Wyrmrest Skytalon)
-- Difficulties
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID` IN (1,3) AND `Entry` IN (32448,32295,31253,30592,30334,30282,30249,30248,30245,30234,30161,30118,30090,30084,28859));
DELETE FROM `creature_template_difficulty` WHERE `DifficultyID`=4 AND `Entry` IN (30084);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `VerifiedBuild`=54904 WHERE (`Entry`=32448 AND `DifficultyID`=0); -- 32448 (Alexstrasza's Gift) - Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=1019, `VerifiedBuild`=54904 WHERE (`Entry`=32295 AND `DifficultyID`=0); -- 32295 (Alexstrasza the Life-Binder) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `StaticFlags1`=536870912, `VerifiedBuild`=54904 WHERE (`Entry`=31253 AND `DifficultyID`=0); -- 31253 (Alexstrasza the Life-Binder) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `VerifiedBuild`=54904 WHERE (`Entry`=30592 AND `DifficultyID`=0); -- 30592 (Static Field) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `StaticFlags1`=536870912, `VerifiedBuild`=54904 WHERE (`Entry`=30334 AND `DifficultyID`=0); -- 30334 (Surge of Power) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `StaticFlags1`=536870912, `VerifiedBuild`=54904 WHERE (`Entry`=30282 AND `DifficultyID`=0); -- 30282 (Arcane Overload) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=30249 AND `DifficultyID`=0); -- 30249 (Scion of Eternity) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `VerifiedBuild`=54904 WHERE (`Entry`=30248 AND `DifficultyID`=0); -- 30248 (Hover Disk) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=30245 AND `DifficultyID`=0); -- 30245 (Nexus Lord) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `StaticFlags1`=536870912, `VerifiedBuild`=54904 WHERE (`Entry`=30234 AND `DifficultyID`=0); -- 30234 (Hover Disk) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `StaticFlags1`=0, `VerifiedBuild`=54904 WHERE (`Entry`=30161 AND `DifficultyID`=0); -- 30161 (Wyrmrest Skytalon) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `VerifiedBuild`=54904 WHERE (`Entry`=30118 AND `DifficultyID`=0); -- 30118 (Portal (Malygos)) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `VerifiedBuild`=54904 WHERE (`Entry`=30090 AND `DifficultyID`=0); -- 30090 (Vortex) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `StaticFlags1`=536870912, `VerifiedBuild`=54904 WHERE (`Entry`=30084 AND `DifficultyID`=0); -- 30084 (Power Spark) - Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=1019, `StaticFlags2`=2, `VerifiedBuild`=54904 WHERE (`Entry`=28859 AND `DifficultyID`=0); -- 28859 (Malygos) - Amphibious, Floating
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34067 WHERE (`Entry`=30248 AND `DifficultyID`=4); -- Hover Disk
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34058, `TypeFlags2`=128 WHERE (`Entry`=30245 AND `DifficultyID`=4); -- Nexus Lord
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34035 WHERE (`Entry`=30234 AND `DifficultyID`=4); -- Hover Disk
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=33880 WHERE (`Entry`=30161 AND `DifficultyID`=4); -- Wyrmrest Skytalon
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=31035, `TypeFlags2`=128 WHERE (`Entry`=28859 AND `DifficultyID`=4); -- Malygos
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=34072, `TypeFlags2`=128 WHERE (`Entry`=30249 AND `DifficultyID`=4); -- Scion of Eternity
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54904 WHERE (`DifficultyID`=0 AND `Entry` IN (155076,32548,32534,32520,26175,26127,25721,24770)) OR (`DifficultyID`=4 AND `Entry`=30248);
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=30249 AND `DifficultyID`=4); -- 30249 (Scion of Eternity) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=30245 AND `DifficultyID`=4); -- 30245 (Nexus Lord) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54904 WHERE (`Entry`=30234 AND `DifficultyID`=4); -- 30234 (Hover Disk) - Floating
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=54904 WHERE (`Entry`=30161 AND `DifficultyID`=4); -- 30161 (Wyrmrest Skytalon) -
UPDATE `creature_template_difficulty` SET `StaticFlags2`=2, `VerifiedBuild`=54904 WHERE (`Entry`=28859 AND `DifficultyID`=4); -- 28859 (Malygos) - Amphibious, Floating
DELETE FROM `creature_questitem` WHERE (`CreatureEntry`=28859 AND `DifficultyID` IN (0,1) AND `Idx`=0);
INSERT INTO `creature_questitem` (`CreatureEntry`, `DifficultyID`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(28859, 0, 0, 44650, 54904); -- Malygos
DELETE FROM `creature_questitem` WHERE (`CreatureEntry`=28859 AND `DifficultyID`=4 AND `Idx`=0);
INSERT INTO `creature_questitem` (`CreatureEntry`, `DifficultyID`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(28859, 4, 0, 44651, 54904); -- Malygos
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=54904 WHERE `DisplayID` IN (27569, 27401, 24316, 24317, 24319, 26876, 25835, 14501, 11686, 26753, 26752, 16925);
UPDATE `creature_template_model` SET `VerifiedBuild`=54904 WHERE (`Idx`=0 AND `CreatureID` IN (59072,30090,69066,18362,31253,305,54423,32158,47654,35362,22517,30234,64993,304,68288,56921,71486,308,40625,30245,30118,40725,32295,54741,65011,14505,30161,30282,28363,32448,60941,53488,30592,25064,40165,31698,54879,30249,28859,30248,30084,70356,30334)) OR (`Idx`=1 AND `CreatureID` IN (30090,31253,22517,30245,30118,40725,32448,53488,30592,40165,30249,30334)) OR (`Idx`=3 AND `CreatureID` IN (30245,30249)) OR (`Idx`=2 AND `CreatureID` IN (30245,30249));
UPDATE `creature_template_model` SET `VerifiedBuild`=54904 WHERE (`Idx`=0 AND `CreatureID` IN (32534,26175,32548,155076,32520,356,24770,34337,26127,18379,25721,25414,25421)) OR (`Idx`=1 AND `CreatureID` IN (26175,155076,32520,25414,25421));
-- Gameobject templates
UPDATE `gameobject_template` SET `Data1`=0, `Data10`=1, `Data12`=1, `Data15`=0, `Data25`=1094, `Data30`=88624, `ContentTuningId`=1019, `VerifiedBuild`=54904 WHERE `entry`=193905; -- Alexstrasza's Gift
UPDATE `gameobject_template` SET `Data1`=0, `Data15`=0, `Data25`=1094, `Data30`=26859, `ContentTuningId`=1019, `VerifiedBuild`=54904 WHERE `entry`=194158; -- Heart of Magic
UPDATE `gameobject_template` SET `Data26`=1, `ContentTuningId`=1019, `VerifiedBuild`=54904 WHERE `entry`=193908; -- Exit Portal
UPDATE `gameobject_template` SET `ContentTuningId`=1019, `VerifiedBuild`=54904 WHERE `entry`=193958; -- The Focusing Iris
UPDATE `gameobject_template` SET `VerifiedBuild`=54904 WHERE `entry`=193070;
UPDATE `gameobject_template` SET `VerifiedBuild`=54904 WHERE `entry` IN (214523, 214507, 208632, 188514, 188521, 193602, 188100, 188133);
UPDATE `gameobject_template` SET `Data1`=0, `Data10`=1, `Data12`=1, `Data15`=0, `Data25`=1094, `Data30`=88632, `ContentTuningId`=1019, `VerifiedBuild`=54904 WHERE `entry`=193967; -- Alexstrasza's Gift
UPDATE `gameobject_template` SET `Data1`=0, `Data15`=0, `Data25`=1094, `Data30`=26860, `ContentTuningId`=1019, `VerifiedBuild`=54904 WHERE `entry`=194159; -- Heart of Magic
UPDATE `gameobject_template` SET `ContentTuningId`=1019, `VerifiedBuild`=54904 WHERE `entry`=193960; -- The Focusing Iris
UPDATE `gameobject_template_addon` SET `flags`=16388 WHERE `entry`=194158; -- Heart of Magic
UPDATE `gameobject_template_addon` SET `flags`=2113536 WHERE `entry`=193905; -- Alexstrasza's Gift
UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry`=193070; -- Nexus Raid Platform
UPDATE `gameobject_template_addon` SET `flags`=16388 WHERE `entry`=194159; -- Heart of Magic
UPDATE `gameobject_template_addon` SET `flags`=2113536 WHERE `entry`=193967; -- Alexstrasza's Gift
UPDATE `gameobject_questitem` SET `VerifiedBuild`=54904 WHERE (`GameObjectEntry`=194158 AND `Idx`=0);
UPDATE `gameobject_questitem` SET `VerifiedBuild`=54904 WHERE (`GameObjectEntry`=194159 AND `Idx`=0);
@@ -1,163 +0,0 @@
-- Creature templates
UPDATE `creature_template` SET `speed_walk`=1, `unit_flags2`=2048 WHERE `entry`=28276; -- Greater Ley-Whelp
UPDATE `creature_template` SET `speed_walk`=1.799999952316284179, `speed_run`=0.642857134342193603, `unit_flags3`=524288 WHERE `entry`=28239; -- Arcane Beam
UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=1 WHERE `entry`=28236; -- Azure Ring Captain
UPDATE `creature_template` SET `unit_flags3`=1 WHERE `entry`=28183; -- Centrifuge Core
UPDATE `creature_template` SET `unit_flags3`=524289 WHERE `entry`=28166; -- Unstable Sphere
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=28153; -- Snowflake
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=28012; -- Image of Belgaristrasz
UPDATE `creature_template` SET `speed_walk`=1, `unit_flags3`=524288 WHERE `entry`=27756; -- Ruby Drake
UPDATE `creature_template` SET `speed_walk`=1, `unit_flags3`=524288 WHERE `entry`=27755; -- Amber Drake
UPDATE `creature_template` SET `speed_walk`=1, `unit_flags3`=524288 WHERE `entry`=27692; -- Emerald Drake
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=27656; -- Ley-Guardian Eregos
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=27655; -- Mage-Lord Urom
UPDATE `creature_template` SET `speed_walk`=1, `unit_flags2`=2048 WHERE `entry`=27654; -- Drakos the Interrogator
UPDATE `creature_template` SET `speed_run`=1.142857193946838378 WHERE `entry`=27653; -- Phantasmal Water
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378, `unit_flags3`=0 WHERE `entry`=27642; -- Phantasmal Mammoth
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=27641; -- Centrifuge Construct
UPDATE `creature_template` SET `speed_walk`=1, `unit_flags2`=2048 WHERE `entry`=27638; -- Azure Ring Guardian
UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=27636; -- Azure Ley-Whelp
UPDATE `creature_template` SET `speed_walk`=1 WHERE `entry`=27635; -- Azure Spellbinder
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=27633; -- Azure Inquisitor
UPDATE `creature_template` SET `unit_flags`=64, `unit_flags2`=2048 WHERE `entry`=27447; -- Varos Cloudstrider
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=30879; -- Planar Anomaly
UPDATE `creature_template_addon` SET `AnimTier`=0, `auras`='' WHERE `entry`=27756; -- 27756 (Ruby Drake)
UPDATE `creature_template_addon` SET `AnimTier`=0, `auras`='' WHERE `entry`=27755; -- 27755 (Amber Drake)
UPDATE `creature_template_addon` SET `AnimTier`=0, `auras`='' WHERE `entry`=27692; -- 27692 (Emerald Drake)
UPDATE `creature_template_addon` SET `AnimTier`=3 WHERE `entry`=27656; -- 27656 (Ley-Guardian Eregos)
UPDATE `creature_template_addon` SET `AnimTier`=3, `SheathState`=1 WHERE `entry`=30879; -- 30879 (Planar Anomaly)
-- Difficulties
UPDATE `creature_template_difficulty` ctd
LEFT JOIN `creature_template_difficulty` ctd2 ON ctd.`Entry`=ctd2.`Entry`
SET
ctd.`DamageModifier`=ctd2.`DamageModifier`,
ctd.`LootID`=ctd2.`LootID`,
ctd.`PickPocketLootID`=ctd2.`PickPocketLootID`,
ctd.`SkinLootID`=ctd2.`SkinLootID`,
ctd.`GoldMin`=ctd2.`GoldMin`,
ctd.`GoldMax`=ctd2.`GoldMax`
WHERE ctd.`Entry` IN (32261,28276,28239,28236,28183,28166,28153,28012,27756,27755,27692,27659,27658,27657,27656,27655,27654,27653,27651,27650,27649,27648,27647,27645,27644,27642,27641,27640,27639,27638,27636,27635,27633,27447)
AND ctd.`DifficultyID`=0 AND ctd2.`DifficultyID`=1 AND ctd2.`Entry` IS NOT NULL;
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (32261,28276,28239,28236,28183,28166,28153,28012,27756,27755,27692,27659,27658,27657,27656,27655,27654,27653,27651,27650,27649,27648,27647,27645,27644,27642,27641,27640,27639,27638,27636,27635,27633,27447));
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=2 AND `Entry` IN (28236,27756,27755,27692,22517));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`, `VerifiedBuild`) VALUES
(28236, 2, 0, 0, 1093, 805830656, 0, 0, 0, 0, 0, 0, 0, 54904), -- 28236 (Azure Ring Captain) - CanSwim, Floating
(27756, 2, 0, 0, 1093, 524288, 0, 0, 0, 0, 0, 0, 0, 54904), -- 27756 (Ruby Drake) -
(27755, 2, 0, 0, 1093, 524288, 0, 0, 0, 0, 0, 0, 0, 54904), -- 27755 (Amber Drake) -
(27692, 2, 0, 0, 1093, 524288, 0, 0, 0, 0, 0, 0, 0, 54904), -- 27692 (Emerald Drake) -
(22517, 2, 0, 0, 2672, 536870912, 0, 0, 0, 0, 0, 0, 0, 54904); -- 22517 (World Trigger (Large AOI)) - Floating
DELETE FROM `creature_template_difficulty` WHERE (`Entry`=30161 AND `DifficultyID`=2);
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`) VALUES
(30161, 2, 2, 7.936510086059570312, 1, 33879, 0, 0); -- Wyrmrest Skytalon
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=3 WHERE (`Entry`=22517 AND `DifficultyID`=0); -- World Trigger (Large AOI)
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2671, `VerifiedBuild`=54904 WHERE (`Entry`=22517 AND `DifficultyID`=0); -- 22517 (World Trigger (Large AOI)) - Floating
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54904 WHERE (`Entry`=53488 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=32261 AND `DifficultyID`=0); -- 32261 (Crystal Spider) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `ContentTuningID`=246, `StaticFlags1`=805830656, `VerifiedBuild`=54904 WHERE (`Entry`=28276 AND `DifficultyID`=0); -- 28276 (Greater Ley-Whelp) - Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `VerifiedBuild`=54904 WHERE (`Entry`=28239 AND `DifficultyID`=0); -- 28239 (Arcane Beam) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=805830656, `VerifiedBuild`=54904 WHERE (`Entry`=28236 AND `DifficultyID`=0); -- 28236 (Azure Ring Captain) - Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=805830912, `VerifiedBuild`=54904 WHERE (`Entry`=28183 AND `DifficultyID`=0); -- 28183 (Centrifuge Core) - Sessile, Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=28166 AND `DifficultyID`=0); -- 28166 (Unstable Sphere) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=28153 AND `DifficultyID`=0); -- 28153 (Snowflake) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=28012 AND `DifficultyID`=0); -- 28012 (Image of Belgaristrasz) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=524288, `VerifiedBuild`=54904 WHERE (`Entry`=27756 AND `DifficultyID`=0); -- 27756 (Ruby Drake) - Amphibious
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=524288, `VerifiedBuild`=54904 WHERE (`Entry`=27755 AND `DifficultyID`=0); -- 27755 (Amber Drake) - Amphibious
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=524288, `VerifiedBuild`=54904 WHERE (`Entry`=27692 AND `DifficultyID`=0); -- 27692 (Emerald Drake) - Amphibious
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27659 AND `DifficultyID`=0); -- 27659 (Eternos) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27658 AND `DifficultyID`=0); -- 27658 (Belgaristrasz) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27657 AND `DifficultyID`=0); -- 27657 (Verdisa) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=246, `StaticFlags1`=805830656, `StaticFlags2`=0, `VerifiedBuild`=54904 WHERE (`Entry`=27656 AND `DifficultyID`=0); -- 27656 (Ley-Guardian Eregos) - Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27655 AND `DifficultyID`=0); -- 27655 (Mage-Lord Urom) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27654 AND `DifficultyID`=0); -- 27654 (Drakos the Interrogator) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27653 AND `DifficultyID`=0); -- 27653 (Phantasmal Water) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27651 AND `DifficultyID`=0); -- 27651 (Phantasmal Fire) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `LevelScalingDeltaMax`=-1, `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27650 AND `DifficultyID`=0); -- 27650 (Phantasmal Air) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `LevelScalingDeltaMax`=-1, `ContentTuningID`=246, `VerifiedBuild`=54904 WHERE (`Entry`=27649 AND `DifficultyID`=0); -- 27649 (Phantasmal Murloc) - Amphibious
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `ContentTuningID`=246, `VerifiedBuild`=54904 WHERE (`Entry`=27648 AND `DifficultyID`=0); -- 27648 (Phantasmal Naga) - Amphibious
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27647 AND `DifficultyID`=0); -- 27647 (Phantasmal Ogre) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `LevelScalingDeltaMax`=-1, `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27645 AND `DifficultyID`=0); -- 27645 (Phantasmal Cloudscraper) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27644 AND `DifficultyID`=0); -- 27644 (Phantasmal Wolf) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27642 AND `DifficultyID`=0); -- 27642 (Phantasmal Mammoth) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27641 AND `DifficultyID`=0); -- 27641 (Centrifuge Construct) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27640 AND `DifficultyID`=0); -- 27640 (Ring-Lord Conjurer) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `LevelScalingDeltaMax`=-1, `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27639 AND `DifficultyID`=0); -- 27639 (Ring-Lord Sorceress) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `ContentTuningID`=246, `StaticFlags1`=805830656, `VerifiedBuild`=54904 WHERE (`Entry`=27638 AND `DifficultyID`=0); -- 27638 (Azure Ring Guardian) - Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27636 AND `DifficultyID`=0); -- 27636 (Azure Ley-Whelp) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27635 AND `DifficultyID`=0); -- 27635 (Azure Spellbinder) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27633 AND `DifficultyID`=0); -- 27633 (Azure Inquisitor) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=246, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27447 AND `DifficultyID`=0); -- 27447 (Varos Cloudstrider) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=246, `StaticFlags1`=536870912, `VerifiedBuild`=54904 WHERE (`Entry`=30879 AND `DifficultyID`=0); -- 30879 (Planar Anomaly) - Floating
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28472 WHERE (`Entry`=27653 AND `DifficultyID`=2); -- Phantasmal Water
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=29821 WHERE (`Entry`=28276 AND `DifficultyID`=2); -- Greater Ley-Whelp
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28438 WHERE (`Entry`=27645 AND `DifficultyID`=2); -- Phantasmal Cloudscraper
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28467 WHERE (`Entry`=27651 AND `DifficultyID`=2); -- Phantasmal Fire
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28478, `TypeFlags2`=128 WHERE (`Entry`=27654 AND `DifficultyID`=2); -- Drakos the Interrogator
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28452 WHERE (`Entry`=27648 AND `DifficultyID`=2); -- Phantasmal Naga
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28457 WHERE (`Entry`=27649 AND `DifficultyID`=2); -- Phantasmal Murloc
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28462 WHERE (`Entry`=27650 AND `DifficultyID`=2); -- Phantasmal Air
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28420 WHERE (`Entry`=27641 AND `DifficultyID`=2); -- Centrifuge Construct
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28491, `TypeFlags2`=128 WHERE (`Entry`=27656 AND `DifficultyID`=2); -- Ley-Guardian Eregos
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28426 WHERE (`Entry`=27642 AND `DifficultyID`=2); -- Phantasmal Mammoth
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=2, `CreatureDifficultyID`=29739 WHERE (`Entry`=28239 AND `DifficultyID`=2); -- Arcane Beam
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28415 WHERE (`Entry`=27640 AND `DifficultyID`=2); -- Ring-Lord Conjurer
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28448 WHERE (`Entry`=27647 AND `DifficultyID`=2); -- Phantasmal Ogre
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28410 WHERE (`Entry`=27639 AND `DifficultyID`=2); -- Ring-Lord Sorceress
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=29557 WHERE (`Entry`=28153 AND `DifficultyID`=2); -- Snowflake
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28009, `TypeFlags2`=128 WHERE (`Entry`=27447 AND `DifficultyID`=2); -- Varos Cloudstrider
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28381 WHERE (`Entry`=27633 AND `DifficultyID`=2); -- Azure Inquisitor
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28404 WHERE (`Entry`=27638 AND `DifficultyID`=2); -- Azure Ring Guardian
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28433 WHERE (`Entry`=27644 AND `DifficultyID`=2); -- Phantasmal Wolf
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28397 WHERE (`Entry`=27636 AND `DifficultyID`=2); -- Azure Ley-Whelp
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28483, `TypeFlags2`=128 WHERE (`Entry`=27655 AND `DifficultyID`=2); -- Mage-Lord Urom
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=28392 WHERE (`Entry`=27635 AND `DifficultyID`=2); -- Azure Spellbinder
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=2, `HealthModifier`=10, `ManaModifier`=5, `CreatureDifficultyID`=195364, `TypeFlags`=8 WHERE (`Entry`=28236 AND `DifficultyID`=2); -- Azure Ring Captain
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=2, `HealthModifier`=5.952380180358886718, `CreatureDifficultyID`=195366, `TypeFlags`=72 WHERE (`Entry`=27755 AND `DifficultyID`=2); -- Amber Drake
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=2, `HealthModifier`=5.952380180358886718, `CreatureDifficultyID`=195367, `TypeFlags`=72 WHERE (`Entry`=27756 AND `DifficultyID`=2); -- Ruby Drake
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=3, `HealthModifier`=1.35000002384185791, `CreatureDifficultyID`=18489 WHERE (`Entry`=22517 AND `DifficultyID`=2); -- World Trigger (Large AOI)
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=2, `HealthModifier`=5.952380180358886718, `CreatureDifficultyID`=195365, `TypeFlags`=72 WHERE (`Entry`=27692 AND `DifficultyID`=2); -- Emerald Drake
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54904 WHERE (`DifficultyID`=2 AND `Entry` IN (53488,27649));
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805830656, `VerifiedBuild`=54904 WHERE (`Entry`=28276 AND `DifficultyID`=2); -- 28276 (Greater Ley-Whelp) - Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1093, `VerifiedBuild`=54904 WHERE (`Entry`=28239 AND `DifficultyID`=2); -- 28239 (Arcane Beam) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMax`=1, `ContentTuningID`=1093, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=28153 AND `DifficultyID`=2); -- 28153 (Snowflake) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805830656, `StaticFlags2`=0, `VerifiedBuild`=54904 WHERE (`Entry`=27656 AND `DifficultyID`=2); -- 27656 (Ley-Guardian Eregos) - Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27655 AND `DifficultyID`=2); -- 27655 (Mage-Lord Urom) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27654 AND `DifficultyID`=2); -- 27654 (Drakos the Interrogator) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27653 AND `DifficultyID`=2); -- 27653 (Phantasmal Water) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27651 AND `DifficultyID`=2); -- 27651 (Phantasmal Fire) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27650 AND `DifficultyID`=2); -- 27650 (Phantasmal Air) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `VerifiedBuild`=54904 WHERE (`Entry`=27648 AND `DifficultyID`=2); -- 27648 (Phantasmal Naga) - Amphibious
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27647 AND `DifficultyID`=2); -- 27647 (Phantasmal Ogre) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=0, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27645 AND `DifficultyID`=2); -- 27645 (Phantasmal Cloudscraper) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=0, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27644 AND `DifficultyID`=2); -- 27644 (Phantasmal Wolf) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMax`=0, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27642 AND `DifficultyID`=2); -- 27642 (Phantasmal Mammoth) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27641 AND `DifficultyID`=2); -- 27641 (Centrifuge Construct) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27640 AND `DifficultyID`=2); -- 27640 (Ring-Lord Conjurer) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27639 AND `DifficultyID`=2); -- 27639 (Ring-Lord Sorceress) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805830656, `VerifiedBuild`=54904 WHERE (`Entry`=27638 AND `DifficultyID`=2); -- 27638 (Azure Ring Guardian) - Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27636 AND `DifficultyID`=2); -- 27636 (Azure Ley-Whelp) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27635 AND `DifficultyID`=2); -- 27635 (Azure Spellbinder) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27633 AND `DifficultyID`=2); -- 27633 (Azure Inquisitor) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27447 AND `DifficultyID`=2); -- 27447 (Varos Cloudstrider) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1019, `VerifiedBuild`=54904 WHERE (`Entry`=30161 AND `DifficultyID`=2); -- 30161 (Wyrmrest Skytalon) -
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=54904 WHERE `DisplayID` IN (27718, 26089, 28046, 28419, 17612, 25347, 25011, 25852, 25853, 24746, 24759, 24742, 27034, 25010, 27032, 5450, 25148, 25146, 25149, 25150, 25151, 25147, 25153, 25145, 24943, 25303, 25304, 25302, 25305, 25307, 25306, 28080, 26088, 25250, 25195, 27033);
UPDATE `creature_model_info` SET `BoundingRadius`=2.23112344741821289, `VerifiedBuild`=54904 WHERE `DisplayID`=25854;
UPDATE `creature_model_info` SET `BoundingRadius`=2, `CombatReach`=4, `VerifiedBuild`=54904 WHERE `DisplayID`=28107;
UPDATE `creature_template_model` SET `VerifiedBuild`=54904 WHERE (`Idx`=0 AND `CreatureID` IN (27655,28183,27638,27644,28236,28166,32261,27651,27657,27645,27659,27447,27658,27653,27650,27635,27692,27647,28276,28012,28239,27755,27649,27642,28153,27756,27641,27636,27656,27648,27654,27633,27639,27640)) OR (`Idx`=1 AND `CreatureID` IN (28183,28239,27639,27640)) OR (`Idx`=2 AND `CreatureID` IN (27639,27640));
UPDATE `creature_template_model` SET `VerifiedBuild`=54904 WHERE (`CreatureID`=30879 AND `Idx` IN (1,0));
-- Gameobject templates
UPDATE `gameobject_template` SET `VerifiedBuild`=54904 WHERE `entry` IN (191351, 190172, 190343, 189985, 188715);
UPDATE `gameobject_template` SET `Data1`=0, `Data15`=0, `Data25`=2013, `Data30`=24462, `ContentTuningId`=245, `VerifiedBuild`=54904 WHERE `entry`=191349; -- Cache of Eregos
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=54904 WHERE `entry`=189986; -- Dragon Cage
UPDATE `gameobject_template` SET `Data8`=0, `VerifiedBuild`=54904 WHERE `entry`=193995; -- Dragon Cage Door
UPDATE `gameobject_template` SET `ContentTuningId`=245, `VerifiedBuild`=54904 WHERE `entry`=190402; -- Blaze
UPDATE `gameobject_template_addon` SET `flags`=2113536 WHERE `entry`=191349; -- Cache of Eregos
@@ -1,172 +0,0 @@
-- Creature templates
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=27949; -- Alliance Commander
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=27837; -- Nexus 70 - Buying Time Bunny
UPDATE `creature_template` SET `unit_flags3`=524289 WHERE `entry`=27101; -- Crystal Spike Initial Trigger
UPDATE `creature_template` SET `speed_run`=1.428571462631225585, `unit_flags3`=524289 WHERE `entry`=27099; -- Crystal Spike
UPDATE `creature_template` SET `unit_flags2`=2080, `unit_flags3`=524289 WHERE `entry`=27079; -- Crystal Spike Trigger
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26805; -- Alliance Cleric
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26802; -- Alliance Ranger
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26800; -- Alliance Berserker
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26794; -- Ormorok the Tree-Shaper
UPDATE `creature_template` SET `unit_flags`=64 WHERE `entry`=26792; -- Crystalline Protector
UPDATE `creature_template` SET `unit_flags`=64 WHERE `entry`=26782; -- Crystalline Keeper
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26763; -- Anomalus
UPDATE `creature_template` SET `unit_flags`=320, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=26761; -- Crazed Mana-Wyrm
UPDATE `creature_template` SET `unit_flags`=64, `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=26737; -- Crazed Mana-Surge
UPDATE `creature_template` SET `unit_flags`=320, `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=26736; -- Azure Skyrazor
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26731; -- Grand Magus Telestra
UPDATE `creature_template` SET `unit_flags`=64, `unit_flags3`=67108864 WHERE `entry`=26730; -- Mage Slayer
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26723; -- Keristrasza
UPDATE `creature_template` SET `unit_flags`=64, `unit_flags2`=2048 WHERE `entry`=26722; -- Azure Magus
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26716; -- Azure Warder
UPDATE `creature_template` SET `unit_flags2`=0, `unit_flags3`=524288 WHERE `entry`=32665; -- Crystalline Tangler
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26796; -- Commander Stoutbeard
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=27947; -- Horde Commander
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26803; -- Horde Cleric
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26801; -- Horde Ranger
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26799; -- Horde Berserker
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=26798; -- Commander Kolurg
UPDATE `creature_template_addon` SET `AnimTier`=3 WHERE `entry`=26761; -- 26761 (Crazed Mana-Wyrm) - Permanent Feign Death
UPDATE `creature_template_addon` SET `AnimTier`=3 WHERE `entry`=26736; -- 26736 (Azure Skyrazor)
-- Difficulties
UPDATE `creature_template_difficulty` ctd
LEFT JOIN `creature_template_difficulty` ctd2 ON ctd.`Entry`=ctd2.`Entry`
SET
ctd.`DamageModifier`=ctd2.`DamageModifier`,
ctd.`LootID`=ctd2.`LootID`,
ctd.`PickPocketLootID`=ctd2.`PickPocketLootID`,
ctd.`SkinLootID`=ctd2.`SkinLootID`,
ctd.`GoldMin`=ctd2.`GoldMin`,
ctd.`GoldMax`=ctd2.`GoldMax`
WHERE ctd.`Entry` IN (26798,27947,26803,26801,26799,26796,55537,55536,55535,27837,54638,55531,26793,28231,27949,27101,27099,27079,27048,26918,26805,26802,26800,26794,26792,26782,26763,26761,26746,26737,26736,26735,26734,26731,26730,26729,26728,26727,26723,26722,26716)
AND ctd.`DifficultyID`=0 AND ctd2.`DifficultyID`=1 AND ctd2.`Entry` IS NOT NULL;
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (26798,27947,26803,26801,26799,26796,55537,55536,55535,27837,54638,55531,26793,28231,27949,27101,27099,27079,27048,26918,26805,26802,26800,26794,26792,26782,26763,26761,26746,26737,26736,26735,26734,26731,26730,26729,26728,26727,26723,26722,26716));
DELETE FROM `creature_template_difficulty` WHERE `DifficultyID`=2 AND `Entry`=22515;
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`, `VerifiedBuild`) VALUES
(22515, 2, 0, 0, 2672, 536870912, 0, 0, 0, 0, 0, 0, 0, 54904); -- 22515 (World Trigger) - Floating
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=3, `ContentTuningID`=2671, `VerifiedBuild`=54904 WHERE (`Entry`=22515 AND `DifficultyID`=0); -- 22515 (World Trigger) - Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=245, `VerifiedBuild`=54904 WHERE (`Entry`=55537 AND `DifficultyID`=0); -- 55537 (Image of Warmage Kaitlyn) - CannotTurn
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=245, `VerifiedBuild`=54904 WHERE (`Entry`=55536 AND `DifficultyID`=0); -- 55536 (Image of Warmage Kaitlyn) - CannotTurn
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=245, `VerifiedBuild`=54904 WHERE (`Entry`=55535 AND `DifficultyID`=0); -- 55535 (Image of Warmage Kaitlyn) - CannotTurn
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=245, `StaticFlags1`=536870912, `VerifiedBuild`=54904 WHERE (`Entry`=55531 AND `DifficultyID`=0); -- 55531 (Warmage Kaitlyn) - Floating - CannotTurn
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54904 WHERE (`Entry`=54638 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26793 AND `DifficultyID`=0); -- 26793 (Crystalline Frayer) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=28231 AND `DifficultyID`=0); -- 28231 (Crystalline Tender) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27949 AND `DifficultyID`=0); -- 27949 (Alliance Commander) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=47, `VerifiedBuild`=54904 WHERE (`Entry`=27837 AND `DifficultyID`=0); -- 27837 (Nexus 70 - Buying Time Bunny) - Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=245, `StaticFlags1`=536871168, `VerifiedBuild`=54904 WHERE (`Entry`=27101 AND `DifficultyID`=0); -- 27101 (Crystal Spike Initial Trigger) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=245, `StaticFlags1`=536871168, `VerifiedBuild`=54904 WHERE (`Entry`=27099 AND `DifficultyID`=0); -- 27099 (Crystal Spike) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=245, `StaticFlags1`=536871168, `VerifiedBuild`=54904 WHERE (`Entry`=27079 AND `DifficultyID`=0); -- 27079 (Crystal Spike Trigger) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=-1, `LevelScalingDeltaMax`=-1, `ContentTuningID`=245, `StaticFlags1`=536870912, `VerifiedBuild`=54904 WHERE (`Entry`=27048 AND `DifficultyID`=0); -- 27048 (Breath Caster) - Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=245, `StaticFlags1`=805830912, `VerifiedBuild`=54904 WHERE (`Entry`=26918 AND `DifficultyID`=0); -- 26918 (Chaotic Rift) - Sessile, Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26805 AND `DifficultyID`=0); -- 26805 (Alliance Cleric) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26802 AND `DifficultyID`=0); -- 26802 (Alliance Ranger) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26800 AND `DifficultyID`=0); -- 26800 (Alliance Berserker) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26794 AND `DifficultyID`=0); -- 26794 (Ormorok the Tree-Shaper) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26792 AND `DifficultyID`=0); -- 26792 (Crystalline Protector) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26782 AND `DifficultyID`=0); -- 26782 (Crystalline Keeper) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26763 AND `DifficultyID`=0); -- 26763 (Anomalus) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=805830656, `VerifiedBuild`=54904 WHERE (`Entry`=26761 AND `DifficultyID`=0); -- 26761 (Crazed Mana-Wyrm) - Sessile, Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26746 AND `DifficultyID`=0); -- 26746 (Crazed Mana-Wraith) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26737 AND `DifficultyID`=0); -- 26737 (Crazed Mana-Surge) - Sessile, Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=805830656, `VerifiedBuild`=54904 WHERE (`Entry`=26736 AND `DifficultyID`=0); -- 26736 (Azure Skyrazor) - Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26735 AND `DifficultyID`=0); -- 26735 (Azure Scale-Binder) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26734 AND `DifficultyID`=0); -- 26734 (Azure Enforcer) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26731 AND `DifficultyID`=0); -- 26731 (Grand Magus Telestra) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26730 AND `DifficultyID`=0); -- 26730 (Mage Slayer) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26729 AND `DifficultyID`=0); -- 26729 (Steward) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26728 AND `DifficultyID`=0); -- 26728 (Mage Hunter Initiate) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26727 AND `DifficultyID`=0); -- 26727 (Mage Hunter Ascendant) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26723 AND `DifficultyID`=0); -- 26723 (Keristrasza) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26722 AND `DifficultyID`=0); -- 26722 (Azure Magus) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26716 AND `DifficultyID`=0); -- 26716 (Azure Warder) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `HealthModifier`=9.375, `CreatureDifficultyID`=26681 WHERE (`Entry`=26805 AND `DifficultyID`=2); -- Alliance Cleric
UPDATE `creature_template_difficulty` SET `HealthModifier`=9.375, `CreatureDifficultyID`=29715 WHERE (`Entry`=28231 AND `DifficultyID`=2); -- Crystalline Tender
UPDATE `creature_template_difficulty` SET `HealthModifier`=9.375, `CreatureDifficultyID`=26476 WHERE (`Entry`=26734 AND `DifficultyID`=2); -- Azure Enforcer
UPDATE `creature_template_difficulty` SET `HealthModifier`=9.375, `CreatureDifficultyID`=26456 WHERE (`Entry`=26729 AND `DifficultyID`=2); -- Steward
UPDATE `creature_template_difficulty` SET `HealthModifier`=9.375, `CreatureDifficultyID`=26599 WHERE (`Entry`=26782 AND `DifficultyID`=2); -- Crystalline Keeper
UPDATE `creature_template_difficulty` SET `HealthModifier`=9.375, `CreatureDifficultyID`=26481 WHERE (`Entry`=26735 AND `DifficultyID`=2); -- Azure Scale-Binder
UPDATE `creature_template_difficulty` SET `HealthModifier`=0.192013502120971679, `CreatureDifficultyID`=26486 WHERE (`Entry`=26736 AND `DifficultyID`=2); -- Azure Skyrazor
UPDATE `creature_template_difficulty` SET `HealthModifier`=9.375, `CreatureDifficultyID`=26445 WHERE (`Entry`=26727 AND `DifficultyID`=2); -- Mage Hunter Ascendant
UPDATE `creature_template_difficulty` SET `HealthModifier`=1.78125, `CreatureDifficultyID`=26514 WHERE (`Entry`=26746 AND `DifficultyID`=2); -- Crazed Mana-Wraith
UPDATE `creature_template_difficulty` SET `HealthModifier`=40, `CreatureDifficultyID`=26631, `TypeFlags2`=128 WHERE (`Entry`=26794 AND `DifficultyID`=2); -- Ormorok the Tree-Shaper
UPDATE `creature_template_difficulty` SET `HealthModifier`=18.75, `CreatureDifficultyID`=26620 WHERE (`Entry`=26792 AND `DifficultyID`=2); -- Crystalline Protector
UPDATE `creature_template_difficulty` SET `HealthModifier`=9.375, `CreatureDifficultyID`=26451 WHERE (`Entry`=26728 AND `DifficultyID`=2); -- Mage Hunter Initiate
UPDATE `creature_template_difficulty` SET `HealthModifier`=46.875, `CreatureDifficultyID`=26639, `TypeFlags2`=128 WHERE (`Entry`=26796 AND `DifficultyID`=2); -- Commander Stoutbeard
UPDATE `creature_template_difficulty` SET `HealthModifier`=18.75, `CreatureDifficultyID`=26428 WHERE (`Entry`=26722 AND `DifficultyID`=2); -- Azure Magus
UPDATE `creature_template_difficulty` SET `HealthModifier`=0.076806001365184783, `CreatureDifficultyID`=26550, `TypeFlags`=1025 WHERE (`Entry`=26761 AND `DifficultyID`=2); -- Crazed Mana-Wyrm
UPDATE `creature_template_difficulty` SET `HealthModifier`=22.5, `CreatureDifficultyID`=26466, `TypeFlags2`=128 WHERE (`Entry`=26731 AND `DifficultyID`=2); -- Grand Magus Telestra
UPDATE `creature_template_difficulty` SET `HealthModifier`=18.75, `CreatureDifficultyID`=26415 WHERE (`Entry`=26716 AND `DifficultyID`=2); -- Azure Warder
UPDATE `creature_template_difficulty` SET `HealthModifier`=9.375, `CreatureDifficultyID`=26492 WHERE (`Entry`=26737 AND `DifficultyID`=2); -- Crazed Mana-Surge
UPDATE `creature_template_difficulty` SET `HealthModifier`=0.75, `CreatureDifficultyID`=27264 WHERE (`Entry`=27099 AND `DifficultyID`=2); -- Crystal Spike
UPDATE `creature_template_difficulty` SET `HealthModifier`=0.84375, `CreatureDifficultyID`=26626 WHERE (`Entry`=26793 AND `DifficultyID`=2); -- Crystalline Frayer
UPDATE `creature_template_difficulty` SET `HealthModifier`=9.375, `CreatureDifficultyID`=26668 WHERE (`Entry`=26802 AND `DifficultyID`=2); -- Alliance Ranger
UPDATE `creature_template_difficulty` SET `HealthModifier`=9.375, `CreatureDifficultyID`=26461 WHERE (`Entry`=26730 AND `DifficultyID`=2); -- Mage Slayer
UPDATE `creature_template_difficulty` SET `HealthModifier`=4.21875, `CreatureDifficultyID`=26921 WHERE (`Entry`=26918 AND `DifficultyID`=2); -- Chaotic Rift
UPDATE `creature_template_difficulty` SET `HealthModifier`=40, `CreatureDifficultyID`=26557, `TypeFlags2`=128 WHERE (`Entry`=26763 AND `DifficultyID`=2); -- Anomalus
UPDATE `creature_template_difficulty` SET `HealthModifier`=9.375, `CreatureDifficultyID`=26657 WHERE (`Entry`=26800 AND `DifficultyID`=2); -- Alliance Berserker
UPDATE `creature_template_difficulty` SET `HealthModifier`=47.5, `CreatureDifficultyID`=26433, `TypeFlags2`=128 WHERE (`Entry`=26723 AND `DifficultyID`=2); -- Keristrasza
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26793 AND `DifficultyID`=2); -- 26793 (Crystalline Frayer) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=28231 AND `DifficultyID`=2); -- 28231 (Crystalline Tender) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1094, `StaticFlags1`=536871168, `VerifiedBuild`=54904 WHERE (`Entry`=27099 AND `DifficultyID`=2); -- 27099 (Crystal Spike) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMax`=0, `ContentTuningID`=1094, `StaticFlags1`=805830912, `VerifiedBuild`=54904 WHERE (`Entry`=26918 AND `DifficultyID`=2); -- 26918 (Chaotic Rift) - Sessile, Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26805 AND `DifficultyID`=2); -- 26805 (Alliance Cleric) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26802 AND `DifficultyID`=2); -- 26802 (Alliance Ranger) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26800 AND `DifficultyID`=2); -- 26800 (Alliance Berserker) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26796 AND `DifficultyID`=2); -- 26796 (Commander Stoutbeard) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26794 AND `DifficultyID`=2); -- 26794 (Ormorok the Tree-Shaper) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26792 AND `DifficultyID`=2); -- 26792 (Crystalline Protector) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26782 AND `DifficultyID`=2); -- 26782 (Crystalline Keeper) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26763 AND `DifficultyID`=2); -- 26763 (Anomalus) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=805830656, `VerifiedBuild`=54904 WHERE (`Entry`=26761 AND `DifficultyID`=2); -- 26761 (Crazed Mana-Wyrm) - Sessile, Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26746 AND `DifficultyID`=2); -- 26746 (Crazed Mana-Wraith) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26737 AND `DifficultyID`=2); -- 26737 (Crazed Mana-Surge) - Sessile, Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=805830656, `VerifiedBuild`=54904 WHERE (`Entry`=26736 AND `DifficultyID`=2); -- 26736 (Azure Skyrazor) - Amphibious, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26735 AND `DifficultyID`=2); -- 26735 (Azure Scale-Binder) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26734 AND `DifficultyID`=2); -- 26734 (Azure Enforcer) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26731 AND `DifficultyID`=2); -- 26731 (Grand Magus Telestra) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26730 AND `DifficultyID`=2); -- 26730 (Mage Slayer) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26729 AND `DifficultyID`=2); -- 26729 (Steward) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26728 AND `DifficultyID`=2); -- 26728 (Mage Hunter Initiate) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26727 AND `DifficultyID`=2); -- 26727 (Mage Hunter Ascendant) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26723 AND `DifficultyID`=2); -- 26723 (Keristrasza) - Sessile, Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26722 AND `DifficultyID`=2); -- 26722 (Azure Magus) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1094, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26716 AND `DifficultyID`=2); -- 26716 (Azure Warder) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=805306624, `VerifiedBuild`=54904 WHERE (`Entry`=32665 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26796 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=27947 AND `DifficultyID`=0); -- 27947 (Horde Commander) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26803 AND `DifficultyID`=0); -- 26803 (Horde Cleric) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26801 AND `DifficultyID`=0); -- 26801 (Horde Ranger) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26799 AND `DifficultyID`=0); -- 26799 (Horde Berserker) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26803 AND `DifficultyID`=2); -- 26803 (Horde Cleric) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26801 AND `DifficultyID`=2); -- 26801 (Horde Ranger) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26799 AND `DifficultyID`=2); -- 26799 (Horde Berserker) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26798 AND `DifficultyID`=2); -- 26798 (Commander Kolurg) - Amphibious, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=245, `StaticFlags1`=268959744, `VerifiedBuild`=54904 WHERE (`Entry`=26798 AND `DifficultyID`=0);
DELETE FROM `creature_questitem` WHERE (`CreatureEntry`=26792 AND `DifficultyID`=1);
DELETE FROM `creature_quest_currency` WHERE (`CurrencyId`=1166 AND `CreatureId` IN (26798,26796,26794,26731,26763,26723));
INSERT INTO `creature_quest_currency` (`CreatureId`, `CurrencyId`, `VerifiedBuild`) VALUES
(26798, 1166, 54904), -- Commander Kolurg - 1166
(26796, 1166, 54904), -- Commander Stoutbeard - 1166
(26794, 1166, 54904), -- Ormorok the Tree-Shaper - 1166
(26731, 1166, 54904), -- Grand Magus Telestra - 1166
(26763, 1166, 54904), -- Anomalus - 1166
(26723, 1166, 54904); -- Keristrasza - 1166
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=54904 WHERE `DisplayID` IN (39155, 25570, 27609, 24366, 19595, 23767, 25206, 24356, 24355, 24353, 26298, 27472, 27469, 26259, 42981, 27810, 14253, 14886, 24066, 24906, 24323, 24320, 24322, 24321, 24318, 24313, 24312, 24314, 24307, 25249, 25251);
UPDATE `creature_template_model` SET `VerifiedBuild`=54904 WHERE (`Idx`=0 AND `CreatureID` IN (28231,27837,26734,26792,22515,27048,26763,54638,26728,55536,26737,26716,26730,55535,29911,27101,27099,26736,26800,27079,26793,26802,26723,55537,26918,26805,26761,26729,55531,26735,27949,26794,26731,26722,26782,26746,26727)) OR (`Idx`=1 AND `CreatureID` IN (27837,22515,27048,54638,26728,26918,26729,26727)) OR (`Idx`=3 AND `CreatureID` IN (26728,26729,26727)) OR (`Idx`=2 AND `CreatureID` IN (26728,26729,26727));
-- Gameobject templates
UPDATE `gameobject_template` SET `VerifiedBuild`=54904 WHERE `entry` IN (188537, 192788, 191016, 188527, 190174, 188526, 181030, 188528);
UPDATE `gameobject_template_addon` SET `flags`=4 WHERE `entry`=192788; -- Berinand's Research
UPDATE `gameobject_questitem` SET `VerifiedBuild`=54904 WHERE (`GameObjectEntry`=192788 AND `Idx`=0);
@@ -1,3 +0,0 @@
DELETE FROM `disables` WHERE `sourceType`=9 AND `entry`=11595;
INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES
(9, 11595, 0, '', '', 'Disable Darnassian and Gilnean Refugees phase');
@@ -1,90 +0,0 @@
DELETE FROM `creature_template_addon` WHERE `entry` IN (139250 /*139250 (Abyssal Spawn) - Void Form*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(139250, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '266301'); -- 139250 (Abyssal Spawn) - Void Form
UPDATE `creature_template_difficulty` SET `ContentTuningID`=188, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=139250 AND `DifficultyID`=0); -- 139250 (Abyssal Spawn) - CanSwim
UPDATE `creature_template` SET `faction`=16, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=524288 WHERE `entry`=139250; -- Abyssal Spawn
-- Umbral Hulk smart ai
SET @ENTRY := 148913;
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`, `Difficulties`, `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, '', 0, 0, 100, 0, 12700, 12700, 14600, 14600, 11, 262739, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Every 14.6 seconds (12.7s initially) (IC) - Self: Cast spell 262739 on Victim'),
(@ENTRY, 0, 1, 0, '', 0, 0, 100, 0, 16300, 16300, 14600, 14600, 11, 262719, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 14.6 seconds (16.3s initially) (IC) - Self: Cast spell 262719 on Self');
-- Drowned Harbinger smart ai
SET @ENTRY := 148912;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY AND `id` BETWEEN 2 AND 6;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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, 2, 0, '', 4, 0, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On aggro - Self: Talk 0 to invoker'),
(@ENTRY, 0, 3, 0, '', 6, 0, 10, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On death - Self: Talk 1 to invoker'),
(@ENTRY, 0, 4, 0, '', 0, 0, 100, 0, 14000, 14000, 17000, 25000, 11, 273544, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 17 - 25 seconds (14 - 14s initially) (IC) - Self: Cast spell 273544 on Self'),
(@ENTRY, 0, 5, 0, '', 0, 0, 100, 0, 22500, 22500, 18300, 23100, 11, 273467, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Every 18.3 - 23.1 seconds (22.5 - 22.5s initially) (IC) - Self: Cast spell 273467 on Victim'),
(@ENTRY, 0, 6, 0, '', 0, 0, 100, 0, 7900, 7900, 23100, 32800, 11, 264892, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Every 23.1 - 32.8 seconds (7.9 - 7.9s initially) (IC) - Self: Cast spell 264892 on Victim');
-- Drowned Convert smart ai
SET @ENTRY := 148911;
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`, `Difficulties`, `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, '', 4, 0, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On aggro - Self: Talk 0 to invoker'),
(@ENTRY, 0, 1, 0, '', 6, 0, 10, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On death - Self: Talk 1 to invoker'),
(@ENTRY, 0, 2, 0, '', 0, 0, 100, 0, 6000, 8500, 6000, 8500, 11, 274061, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 8.5 seconds (IC) - Self: Cast spell 274061 on Victim');
-- Corrupted Waters smart ai
SET @ENTRY := 148915;
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`, `Difficulties`, `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, '', 6, 0, 100, 0, 0, 0, 0, 0, 11, 294503, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On death - Self: Cast spell 294503 on Self');
DELETE FROM `areatrigger_template` WHERE (`IsCustom`=0 AND `Id` IN (18235,18242,20893));
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(18235, 0, 0, 54762),
(18242, 0, 0, 54762),
(20893, 0, 0, 54762);
DELETE FROM `areatrigger_create_properties` WHERE (`IsCustom`=0 AND `Id` IN (13734,13744,16494));
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `VerifiedBuild`) VALUES
(13734, 0, 18235, 0, 0, 0, 0, 0, 0, -1, 0, 0, 5038, 15000, 4, 2, 2, 10, 10, 0, 0, 0, 0, 54762), -- Spell: 273467 (Void Orb)
(13744, 0, 18242, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 4000, 0, 1, 1, 0, 0, 0, 0, 0, 0, 54762), -- Spell: 273544 (Abyssal Portal)
(16494, 0, 20893, 0, 0, 0, 0, 0, 0, -1, 0, 228, 0, 10000, 0, 2, 2, 0, 0, 0, 0, 0, 0, 54762); -- Spell: 294503 (Pooled Corruption)
DELETE FROM `areatrigger_template_actions` WHERE `AreaTriggerId`=20893 AND `IsCustom`=0;
INSERT INTO `areatrigger_template_actions` (`AreaTriggerId`, `IsCustom`, `ActionType`, `ActionParam`, `TargetType`) VALUES
(20893, 0, 1, 294504, 2); -- Spell: 294503 (Pooled Corruption)
UPDATE `areatrigger_create_properties` SET `ScriptName`='at_void_orb_harbinger' WHERE `Id`=13734 AND `IsCustom`=0;
UPDATE `areatrigger_create_properties` SET `ScriptName`='at_abyssal_portal_harbinger' WHERE `Id`=13744 AND `IsCustom`=0;
DELETE FROM `creature_text` WHERE `CreatureID` IN(148911, 148912);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(148911, 0, 0, 'Sleep eternal in Ny''alotha.', 12, 178, 100, 1, 0, 103716, 149632, 0, 'Drowned Convert to Player'),
(148911, 0, 1, 'Gaze upon the shadow of your demise.', 12, 0, 100, 1, 0, 103714, 149629, 0, 'Drowned Convert to Player'),
(148911, 0, 2, 'Light dies in the endless fathoms.', 12, 0, 100, 1, 0, 103715, 149631, 0, 'Drowned Convert to Player'),
(148911, 0, 3, 'The stars fear our ascension.', 12, 0, 100, 1, 0, 103718, 149635, 0, 'Drowned Convert to Player'),
(148911, 0, 4, 'Your soul will know only hunger.', 12, 0, 100, 0, 0, 103716, 149636, 0, 'Drowned Convert to Player'),
(148911, 0, 5, 'Drown in the blood of the infinite.', 12, 0, 100, 1, 0, 103720, 149643, 0, 'Drowned Convert to Player'),
(148911, 1, 0, 'The seed... takes root...', 12, 0, 100, 1, 0, 103726, 149675, 0, 'Drowned Convert to Frothing Pustule'),
(148911, 1, 1, 'Even death... may... die...', 12, 0, 100, 1, 0, 103723, 149672, 0, 'Drowned Convert to Frothing Pustule'),
(148911, 1, 2, 'The endless shadow... embraces me...', 12, 0, 100, 1, 0, 103728, 149678, 0, 'Drowned Convert to Player'),
(148911, 1, 3, 'The cycle... continues...', 12, 0, 100, 0, 0, 103729, 149673, 0, 'Drowned Convert to Player'), -- BroadcastTextID: 90884 - 149673
(148911, 1, 4, 'I am but one... of many...', 12, 0, 100, 0, 0, 103725, 149674, 0, 'Drowned Convert to Player'),
(148911, 1, 5, 'I sleep... only to wake...', 12, 0, 100, 0, 0, 103729, 149680, 0, 'Drowned Convert to Player'),
--
(148912, 0, 0, 'Sleep eternal in Ny''alotha.', 12, 178, 100, 0, 0, 103716, 149632, 0, 'Drowned Harbinger to Player'),
(148912, 0, 1, 'Gaze upon the shadow of your demise.', 12, 0, 100, 0, 0, 103714, 149629, 0, 'Drowned Harbinger to Player'),
(148912, 0, 2, 'The currents wash you into the abyss.', 12, 0, 100, 0, 0, 103721, 149668, 0, 'Drowned Harbinger to Player'),
(148912, 0, 3, 'Light dies in the endless fathoms.', 12, 0, 100, 0, 0, 103715, 149631, 0, 'Drowned Harbinger to Player'),
(148912, 0, 4, 'Know the embrace of true nothingness.', 12, 0, 100, 0, 0, 103717, 149633, 0, 'Drowned Harbinger to Player'),
(148912, 0, 5, 'Your soul will know only hunger.', 12, 0, 100, 0, 0, 103716, 149636, 0, 'Drowned Harbinger to Player'),
(148912, 0, 6, 'Drown in the blood of the infinite.', 12, 0, 100, 1, 0, 103720, 149643, 0, 'Drowned Harbinger to Player'),
(148912, 1, 0, 'The seed... takes root...', 12, 0, 100, 0, 0, 103726, 149675, 0, 'Drowned Harbinger to Player'),
(148912, 1, 1, 'In the end... you will know the truth...', 12, 0, 100, 0, 0, 103722, 149671, 0, 'Drowned Harbinger to Player'),
(148912, 1, 2, 'The cycle... continues...', 12, 0, 100, 0, 0, 103724, 149673, 0, 'Drowned Harbinger to Frothing Pustule'), -- BroadcastTextID: 90884 - 149673
(148912, 1, 3, 'Your hope... wanes...', 12, 0, 100, 0, 0, 103727, 149677, 0, 'Drowned Harbinger to Player'),
(148912, 1, 4, 'I am but one... of many...', 12, 0, 100, 0, 0, 103725, 149674, 0, 'Drowned Harbinger to Player'),
(148912, 1, 5, 'Even death... may... die...', 12, 0, 100, 1, 0, 103723, 149672, 0, 'Drowned Harbinger to Frothing Pustule'),
(148912, 1, 6, 'The endless shadow... embraces me...', 12, 0, 100, 1, 0, 103728, 149678, 0, 'Drowned Harbinger to Player');
@@ -1,43 +0,0 @@
SET @ATID := 67;
SEt @ATCP := 55;
SET @ATIDSPAWN := 69;
-- Instance Template
DELETE FROM `instance_template` WHERE `map` = 1762;
INSERT INTO `instance_template` (`map`, `parent`, `script`) VALUES
(1762, 0, 'instance_kings_rest');
-- Creature Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (137020 /*137020 (Shadow of Zul) - Zul Shadowform*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(137020, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, '269058'); -- 137020 (Shadow of Zul) - Zul Shadowform
-- Areatrigger
DELETE FROM `areatrigger_template` WHERE (`Id` = @ATID+0 AND `IsCustom` = 1);
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(@ATID+0, 1, 1, 0);
DELETE FROM `areatrigger_create_properties` WHERE (`Id`= @ATCP+0 AND `IsCustom`=1);
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `ScriptName`, `VerifiedBuild`) VALUES
(@ATCP+0, 1, @ATID+0, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 16, 18, 10, 16, 18, 10, 0, 0, '', 0);
DELETE FROM `areatrigger` WHERE `SpawnId` = @ATIDSPAWN+0;
INSERT INTO `areatrigger` (`SpawnId`, `AreaTriggerCreatePropertiesId`, `IsCustom`, `MapId`, `SpawnDifficulties`, `PosX`, `PosY`, `PosZ`, `Orientation`, `PhaseUseFlags`, `PhaseId`, `PhaseGroup`, `ScriptName`, `Comment`, `VerifiedBuild`) VALUES
(@ATIDSPAWN+0, @ATCP+0, 1, 1762, '23,8,2', -945.071, 2602.210, 833.052, 1.556985, 0, 0, 0, 'at_kings_rest_trigger_intro_event_with_zul', 'KingsRest - Trigger intro Conversation for Zul', 0);
-- Conversation
DELETE FROM `conversation_template` WHERE `Id`=7690;
INSERT INTO `conversation_template` (`Id`, `FirstLineID`, `TextureKitId`, `VerifiedBuild`) VALUES
(7690, 17525, 0, 54904);
UPDATE `conversation_template` SET `ScriptName` = 'conversation_kings_rest_intro' WHERE `Id` = 7690;
DELETE FROM `conversation_actors` WHERE (`ConversationId`=7690 AND `Idx`=0);
INSERT INTO `conversation_actors` (`ConversationId`, `ConversationActorId`, `Idx`, `CreatureId`, `CreatureDisplayInfoId`, `NoActorObject`, `ActivePlayerObject`, `VerifiedBuild`) VALUES
(7690, 64206, 0, 0, 0, 0, 0, 54904); -- Full: 0x0
DELETE FROM `conversation_line_template` WHERE `Id` IN (17527, 17526, 17525);
INSERT INTO `conversation_line_template` (`Id`, `UiCameraID`, `ActorIdx`, `Flags`, `ChatType`, `VerifiedBuild`) VALUES
(17527, 0, 0, 0, 1, 54904),
(17526, 0, 0, 0, 1, 54904),
(17525, 0, 0, 0, 1, 54904);
@@ -1,2 +0,0 @@
-- Invalid DisplayIds
UPDATE `creature` SET `modelid`=0 WHERE `modelid` IN (1,239,251,252,370,533,959,1041,1405,2709,12346,14952,15939,16051,16622,18736,19338,21360,22106,22748,23033,23148,23504,23646,24446,24472,24922,24923,25030,25452,25572,25579,26101,26198,26223,26273,26363,26590,26762,27029,27074,27861,28283,35014);
@@ -1,649 +0,0 @@
SET @CGUID := 5000400;
SET @OGUID := 5000056;
SET @ATID := 68;
-- Creatures
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+156;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1491.3228759765625, 2961.841064453125, 36.23116683959960937, 3.980869293212890625, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+1, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1529.671875, 2960.15283203125, 35.69658279418945312, 4.713648319244384765, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+2, 77819, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1667.1788330078125, 3077.600830078125, 36.67950057983398437, 5.796135902404785156, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Vigilant (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 156893 - Auchindoun Defense Construct)
(@CGUID+3, 77695, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1505.154541015625, 2962.052978515625, 36.231170654296875, 4.713648319244384765, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Arbiter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+4, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1583.7552490234375, 2961.96435546875, 36.23111724853515625, 4.05728912353515625, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+5, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1498.9896240234375, 2947.382080078125, 35.32217025756835937, 2.783493280410766601, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+6, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1553.6910400390625, 2944.291748046875, 35.32229232788085937, 0.073448918759822845, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+7, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1495.236083984375, 2945.859375, 35.69659042358398437, 2.554013013839721679, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+8, 77695, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1540.2100830078125, 2957.69091796875, 35.32219696044921875, 3.189603090286254882, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Arbiter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+9, 77695, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1505.8541259765625, 2944.1259765625, 36.231170654296875, 1.649249792098999023, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Arbiter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+10, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1563.2447509765625, 2959.335205078125, 35.32232666015625, 1.328914165496826171, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+11, 79248, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1543.7117919921875, 2955.87841796875, 35.32222747802734375, 3.343645572662353515, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Soulbinder (Area: Auchindoun - Difficulty: 0) CreateObject1
(@CGUID+12, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1498.8021240234375, 2958.611083984375, 35.32217025756835937, 3.472944498062133789, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+13, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1506.546875, 2960.385498046875, 35.69659042358398437, 4.713648319244384765, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+14, 77819, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1724.7291259765625, 3153.71533203125, 36.67934799194335937, 5.423369884490966796, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Vigilant (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 156893 - Auchindoun Defense Construct)
(@CGUID+15, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1527.439208984375, 2960.072998046875, 35.69659042358398437, 4.774088382720947265, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+16, 77704, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1529.6690673828125, 2949.3115234375, 35.22933197021484375, 0.005536025390028953, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Warden (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 155647 - NPC Reaction)
(@CGUID+17, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1592.4288330078125, 2961.96435546875, 36.23116302490234375, 4.64665842056274414, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+18, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1504.092041015625, 2960.241455078125, 35.69659042358398437, 4.713648319244384765, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+19, 82681, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 0, 1911.1961669921875, 2952.842041015625, 16.92805671691894531, 0, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Shield Stalker (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+20, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1491.4774169921875, 2944.37158203125, 36.23116683959960937, 2.294145584106445312, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+21, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1587.85595703125, 2944.014892578125, 36.23117828369140625, 1.516095519065856933, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+22, 77819, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1692.6285400390625, 3118.178955078125, 36.67943191528320312, 5.632548332214355468, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Vigilant (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 156893 - Auchindoun Defense Construct)
(@CGUID+23, 77947, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1661.9617919921875, 2913.55908203125, 34.84741973876953125, 1.613085746765136718, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Cleric (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+24, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1555.62158203125, 2946.5390625, 35.32230758666992187, 4.027932167053222656, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+25, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1597.045166015625, 2944.1171875, 36.231170654296875, 1.516095519065856933, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+26, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1556.579833984375, 2944.067626953125, 35.32231521606445312, 2.837917804718017578, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+27, 77694, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1567.5364990234375, 2962.7431640625, 35.32230377197265625, 2.071651697158813476, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Magus (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+28, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1504.607666015625, 2945.658935546875, 35.69659042358398437, 1.514774680137634277, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+29, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1530.19970703125, 2945.874267578125, 35.6965789794921875, 1.567850351333618164, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+30, 77695, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1528.7066650390625, 2944.012939453125, 36.23116683959960937, 1.581174135208129882, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Arbiter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+31, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1527.0850830078125, 2945.88623046875, 35.69659042358398437, 1.569900989532470703, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+32, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1495.3350830078125, 2960.201416015625, 35.69659042358398437, 3.68580031394958496, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+33, 77695, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1540.111083984375, 2948.291748046875, 35.32219314575195312, 3.135090351104736328, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Arbiter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+34, 77695, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1528.4879150390625, 2961.6337890625, 36.23116683959960937, 4.747385025024414062, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Arbiter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+35, 77819, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1762.4254150390625, 3183.012939453125, 36.6792449951171875, 5.268512248992919921, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Vigilant (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 156893 - Auchindoun Defense Construct)
(@CGUID+36, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1507.02783203125, 2945.72314453125, 35.69659042358398437, 1.567850351333618164, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+37, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1601.578125, 2961.96435546875, 36.231170654296875, 4.64665842056274414, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+38, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1606.435791015625, 2944.218017578125, 36.2311553955078125, 1.516095519065856933, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+39, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1611.0625, 2961.96435546875, 36.23115921020507812, 4.64665842056274414, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+40, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1615.3524169921875, 2944.31689453125, 36.2311553955078125, 1.516095519065856933, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+41, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1619.814208984375, 2961.96435546875, 36.22805404663085937, 5.218808174133300781, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+42, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1640.986083984375, 2960.064208984375, 35.5829010009765625, 5.559096813201904296, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+43, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1640.9600830078125, 2945.71533203125, 35.60343170166015625, 0.67940223217010498, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+44, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1642.1961669921875, 2927.654541015625, 35.24270248413085937, 0.01525938045233488, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+45, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1645.295166015625, 2977.645751953125, 35.23143386840820312, 0.008443285711109638, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+46, 77694, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1646.16845703125, 2958.1572265625, 35.1436614990234375, 5.929937362670898437, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Magus (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+47, 77949, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1649.515625, 2941.357666015625, 35.40304183959960937, 0.947370529174804687, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+48, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1644.810791015625, 2968.411376953125, 35.21453857421875, 6.212331295013427734, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+49, 77695, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1645.3629150390625, 2947.537353515625, 35.40304183959960937, 0.24801965057849884, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Arbiter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+50, 77949, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1646.65625, 2944.69091796875, 35.40304183959960937, 0.560388743877410888, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+51, 77949, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1646.623291015625, 2961.395751953125, 35.40304183959960937, 5.716198444366455078, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+52, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1646.486083984375, 2993.46533203125, 35.32218170166015625, 5.953157901763916015, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+53, 77134, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1897.4461669921875, 3162.686767578125, 30.88268470764160156, 0.973815202713012695, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Sargerei Cleric (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 156955 - Void Form)
(@CGUID+54, 75839, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1911.63720703125, 3131.975830078125, 29.79482460021972656, 1.5778275728225708, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Vigilant Kaathar (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 157266 - Vigilant Submerge State, 42459 - Dual Wield)
(@CGUID+55, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1645.767333984375, 2985.91845703125, 35.32218170166015625, 0.008443285711109638, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+56, 77695, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1650.579833984375, 2962.982666015625, 35.14365005493164062, 5.50257110595703125, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Arbiter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+57, 77694, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1654.0242919921875, 2940.4462890625, 35.05950927734375, 1.081962466239929199, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Magus (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: )
(@CGUID+58, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1656.921875, 2915.362060546875, 34.84733963012695312, 0.768780052661895751, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+59, 77704, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1657.1614990234375, 2929.3212890625, 34.8416900634765625, 5.446918964385986328, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Warden (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+60, 77704, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1661.0364990234375, 2919.46875, 34.94428253173828125, 4.858886241912841796, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Warden (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+61, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1674.71875, 2953.107666015625, 35.1436614990234375, 3.135791301727294921, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (possible waypoints or random movement)
(@CGUID+62, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1645.654541015625, 2894.26220703125, 35.32217788696289062, 0.374487310647964477, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+63, 77695, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1659.7708740234375, 2925.875, 34.84703445434570312, 2.130390405654907226, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Arbiter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+64, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1647.232666015625, 3001.00341796875, 35.32218170166015625, 5.928806781768798828, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+65, 77694, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1662.3975830078125, 2939.756103515625, 35.14365005493164062, 1.624581456184387207, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Magus (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+66, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1658.9722900390625, 2914.057373046875, 34.8473663330078125, 1.240181326866149902, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+67, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1648.329833984375, 3008.029541015625, 35.31502532958984375, 5.819012165069580078, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+68, 77949, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1666.2603759765625, 2926.459228515625, 34.84720611572265625, 0.491822987794876098, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+69, 77950, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1664.234375, 2911.596435546875, 34.84752273559570312, 1.978927850723266601, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Zealot (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+70, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1666.376708984375, 2916.9765625, 34.847259521484375, 2.829090833663940429, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+71, 77952, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1667.001708984375, 2913.90966796875, 34.84732818603515625, 2.464233636856079101, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulbinder (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+72, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1659.05908203125, 2911.08935546875, 34.84760284423828125, 1.325223088264465332, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+73, 77951, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1669.2864990234375, 2928.670166015625, 34.84729766845703125, 3.686169624328613281, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Spirit-Tender (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+74, 77949, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1672.2117919921875, 2944.5634765625, 35.14365005493164062, 2.491034507751464843, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+75, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1664.75, 2915.018310546875, 34.84739303588867187, 2.360809803009033203, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+76, 77694, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1668.029541015625, 2941.395751953125, 35.14365005493164062, 2.242946624755859375, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Magus (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+77, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1679.765625, 2935.8759765625, 35.19507598876953125, 3.192433118820190429, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+78, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1676.435791015625, 2986.002685546875, 35.32218170166015625, 2.876665592193603515, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+79, 77704, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1682.3680419921875, 2953.29248046875, 35.62078094482421875, 6.139192581176757812, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Warden (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+80, 77948, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1676.5625, 2931.239501953125, 35.19874954223632812, 4.822155952453613281, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Hoplite (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+81, 77949, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1676.3004150390625, 2947.290771484375, 35.40304183959960937, 3.880580902099609375, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+82, 77812, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1894.51220703125, 3200.030517578125, 30.88272476196289062, 5.597739696502685546, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Sargerei Soulbinder (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 156955 - Void Form)
(@CGUID+83, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1676.1163330078125, 2979.145751953125, 35.26027297973632812, 3.03649139404296875, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+84, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1676.0086669921875, 2971.538330078125, 35.21437835693359375, 3.03649139404296875, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+85, 79417, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 0, 1661.4757080078125, 3012.5546875, 40.77339553833007812, 4.136562347412109375, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Invisible Stalker (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+86, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1676.439208984375, 2964.721435546875, 35.24824905395507812, 3.095417737960815429, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+87, 77952, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1676.59375, 2927.076416015625, 35.258575439453125, 1.515209197998046875, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulbinder (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+88, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1675.810791015625, 2946.27001953125, 35.40304183959960937, 1.084618210792541503, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+89, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1687.30908203125, 2950.84375, 35.69637680053710937, 2.504041910171508789, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+90, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1687.3489990234375, 2948.397705078125, 35.69637680053710937, 2.279029369354248046, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+91, 79417, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 0, 1669.638916015625, 3010.072998046875, 41.74965667724609375, 4.136562347412109375, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Invisible Stalker (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+92, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1677.0191650390625, 2991.90625, 35.32218170166015625, 2.876665592193603515, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+93, 77832, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 0, 1911.73095703125, 3183.638916015625, 33.50413131713867187, 0, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Soul Aegis (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 156922 - Soul Aegis)
(@CGUID+94, 77950, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1690.13720703125, 2951.868896484375, 35.69637680053710937, 2.928548336029052734, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Zealot (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+95, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1677.5572509765625, 2997.974853515625, 35.31458282470703125, 3.031241893768310546, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+96, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1686.7447509765625, 2956.775146484375, 35.69637680053710937, 3.830792427062988281, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+97, 79417, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 0, 1666.7760009765625, 3010.6640625, 37.83771514892578125, 4.136562347412109375, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Invisible Stalker (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+98, 77810, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1913.8941650390625, 3189.854248046875, 30.88270759582519531, 4.075302600860595703, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Soulbinder Nyami (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 157234 - Void Shell)
(@CGUID+99, 77950, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1688.88720703125, 2958.1884765625, 35.696380615234375, 3.787583589553833007, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Zealot (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+100, 79417, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 0, 1664.892333984375, 3011.3759765625, 42.05359649658203125, 4.136562347412109375, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Invisible Stalker (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+101, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1690.3194580078125, 2946.46533203125, 35.69638442993164062, 2.364319801330566406, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+102, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1684.8785400390625, 2947.015625, 35.696380615234375, 1.946364879608154296, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+103, 79417, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 0, 1663.1875, 3012.079833984375, 37.778472900390625, 4.136562347412109375, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Invisible Stalker (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+104, 77949, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1692.623291015625, 2948.35595703125, 35.69638442993164062, 2.63987278938293457, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+105, 77949, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1687.3663330078125, 2952.897705078125, 35.69637298583984375, 3.125909805297851562, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+106, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1684.638916015625, 2959.2666015625, 35.696380615234375, 4.355805873870849609, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+107, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1687.861083984375, 2955.04248046875, 35.696380615234375, 3.49931192398071289, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+108, 79417, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 0, 1666.7274169921875, 3011.040771484375, 43.77808380126953125, 4.136562347412109375, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Invisible Stalker (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+109, 77949, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1693.55908203125, 2956.625, 35.696380615234375, 3.403077602386474609, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+110, 77949, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1694.51220703125, 2952.609375, 35.69637680053710937, 3.057715892791748046, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+111, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1675.8697509765625, 3023.09375, 35.25547027587890625, 2.940030813217163085, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+112, 77949, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1706.94970703125, 2948.984375, 35.32215118408203125, 0.615237057209014892, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+113, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1676.8646240234375, 3032.341064453125, 35.22306442260742187, 2.828145027160644531, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+114, 77704, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1712.595458984375, 2953.46533203125, 35.32215499877929687, 3.026159524917602539, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Warden (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+116, 77704, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1712.6771240234375, 2948.538330078125, 35.32215118408203125, 2.536875486373901367, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Warden (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+117, 77131, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1935.888916015625, 3183.606689453125, 30.8827056884765625, 3.201084375381469726, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Sargerei Spirit-Tender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 156955 - Void Form)
(@CGUID+118, 77950, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1704.9930419921875, 2953.138916015625, 35.39653778076171875, 0.095412008464336395, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Zealot (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+119, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1676.017333984375, 3025.943603515625, 35.24180984497070312, 2.908563852310180664, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+120, 77704, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1673.6927490234375, 3032.5234375, 35.23430633544921875, 1.410390615463256835, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Warden (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+121, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1676.3489990234375, 3029.0478515625, 35.22306060791015625, 2.92891693115234375, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+122, 77704, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1712.4444580078125, 2957.618896484375, 35.3221588134765625, 3.17419600486755371, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Warden (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+123, 77950, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1706.3819580078125, 2957.646728515625, 35.3221588134765625, 5.789441585540771484, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Zealot (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+124, 77950, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1707.4739990234375, 2960.529541015625, 35.69658660888671875, 5.496424674987792968, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Zealot (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+125, 77949, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1709.10595703125, 2946.35498046875, 35.69657135009765625, 0.644170701503753662, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+126, 77948, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1691.0399169921875, 3062.772705078125, 35.22322845458984375, 2.610810279846191406, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Hoplite (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 157739 - At Arms)
(@CGUID+127, 77950, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1689.5103759765625, 3066.12939453125, 35.13763427734375, 1.184453248977661132, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Zealot (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+128, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1691.513916015625, 3070.65625, 35.22322463989257812, 5.132762908935546875, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+129, 77948, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1693.328125, 3067.4775390625, 35.2232208251953125, 2.607628822326660156, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Hoplite (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 157739 - At Arms)
(@CGUID+130, 77695, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1673.967041015625, 3074.104248046875, 36.13217926025390625, 5.834946632385253906, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Arbiter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+131, 77694, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1675.6788330078125, 3068.34375, 35.22326278686523437, 2.696657180786132812, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Magus (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+132, 77694, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1679.357666015625, 3075.5859375, 35.22324371337890625, 2.604601860046386718, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Magus (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+133, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1714.7691650390625, 3100.943603515625, 35.22316360473632812, 2.435690879821777343, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+134, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1712.6978759765625, 3097.87939453125, 35.22316741943359375, 2.607788562774658203, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+135, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1701.6754150390625, 3113.021728515625, 35.22318649291992187, 0, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+136, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1716.7257080078125, 3104.069580078125, 35.2231597900390625, 2.5426483154296875, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+137, 77695, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1714.4478759765625, 3104.975830078125, 35.13762664794921875, 5.904528617858886718, 86400, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54904), -- Auchenai Arbiter (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (possible waypoints or random movement)
(@CGUID+138, 77694, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1710.420166015625, 3113.875, 35.22317123413085937, 3.38626265525817871, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Magus (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: )
(@CGUID+139, 77694, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1728.7430419921875, 3139.203125, 35.22311782836914062, 2.261404037475585937, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Magus (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+140, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1727.720458984375, 3141.53125, 35.22311782836914062, 4.695310115814208984, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+141, 77696, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1745.9305419921875, 3138.907958984375, 35.22307968139648437, 0.293291807174682617, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Soulpriest (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+142, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1748.3021240234375, 3138.0087890625, 35.22307205200195312, 2.92891693115234375, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+143, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1748.373291015625, 3140.741455078125, 35.22307205200195312, 3.436568498611450195, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+144, 77133, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1896.875, 3155.9462890625, 31.05600738525390625, 1.607088327407836914, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Sargerei Hoplite (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 157081 - Void Strikes)
(@CGUID+145, 77950, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1767.8507080078125, 3174.45751953125, 35.22301483154296875, 3.923529624938964843, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Zealot (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+146, 77695, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1765.99658203125, 3172.454833984375, 35.22301864624023437, 0.878998160362243652, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Arbiter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+147, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1780.7430419921875, 3161.4296875, 35.22298812866210937, 2.103954792022705078, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+148, 77693, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1774.1007080078125, 3157.08154296875, 35.22300338745117187, 2.221400260925292968, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Auchenai Defender (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 123167 - Mod Scale 95-100%)
(@CGUID+149, 77133, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1887.1146240234375, 3205.30908203125, 31.05605888366699218, 4.987659454345703125, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Sargerei Hoplite (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 157081 - Void Strikes)
(@CGUID+150, 77133, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1938.482666015625, 3187.0478515625, 30.88270759582519531, 4.002863407135009765, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Sargerei Hoplite (Area: Auchindoun - Difficulty: Heroic) CreateObject1 (Auras: 157081 - Void Strikes)
(@CGUID+151, 77130, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1889.5103759765625, 3200.78466796875, 30.88272476196289062, 0.426818430423736572, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Sargerei Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+152, 77130, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1892.75, 3160.609375, 30.88268089294433593, 0.336703449487686157, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Sargerei Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+153, 77132, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1893.5347900390625, 3155.532958984375, 31.05600738525390625, 0.973815202713012695, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Sargerei Zealot (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+154, 77132, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1891.0208740234375, 3205.635498046875, 30.88256645202636718, 5.389794826507568359, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Sargerei Zealot (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+155, 77130, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1940.923583984375, 3177.864501953125, 30.88269805908203125, 2.72194981575012207, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904), -- Sargerei Ritualist (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@CGUID+156, 77132, 1182, 6912, 6912, '1,2,8,23', 0, 0, 0, 1, 1940.204833984375, 3189.73779296875, 30.88271141052246093, 3.201084375381469726, 86400, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54904); -- Sargerei Zealot (Area: Auchindoun - Difficulty: Heroic) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+156;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 0, 1, 0, 505, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+5, 0, 0, 0, 0, 0, 1, 0, 505, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+7, 0, 0, 0, 0, 0, 1, 0, 505, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 5, ''), -- Soulbinder Tuulani
(@CGUID+12, 0, 0, 0, 0, 0, 1, 0, 505, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+20, 0, 0, 0, 0, 0, 1, 0, 505, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+32, 0, 0, 0, 0, 0, 1, 0, 505, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+42, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+43, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+44, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+45, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+46, 0, 0, 0, 0, 0, 1, 0, 533, 0, 0, 0, 0, ''), -- Auchenai Magus
(@CGUID+48, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+49, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Auchenai Arbiter
(@CGUID+52, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+55, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+56, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Auchenai Arbiter
(@CGUID+58, 0, 0, 0, 0, 0, 1, 0, 533, 0, 0, 0, 0, ''), -- Auchenai Soulpriestv
(@CGUID+60, 0, 0, 0, 0, 0, 1, 0, 378, 0, 0, 0, 0, ''), -- Auchenai Warden
(@CGUID+62, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+64, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+65, 0, 0, 0, 0, 0, 1, 0, 533, 0, 0, 0, 0, ''), -- Auchenai Magus
(@CGUID+67, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+70, 0, 0, 0, 0, 0, 1, 0, 533, 0, 0, 0, 0, ''), -- Auchenai Soulpriest
(@CGUID+72, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+74, 0, 0, 0, 0, 0, 1, 0, 483, 0, 0, 0, 0, ''), -- Auchenai Ritualist
(@CGUID+75, 0, 0, 0, 0, 0, 1, 0, 533, 0, 0, 0, 0, ''), -- Auchenai Soulpriest
(@CGUID+76, 0, 0, 0, 0, 0, 1, 0, 533, 0, 0, 0, 0, ''), -- Auchenai Magus
(@CGUID+77, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+78, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+79, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Auchenai Warden
(@CGUID+81, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Auchenai Ritualist
(@CGUID+83, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+84, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+86, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+88, 0, 0, 0, 0, 0, 1, 0, 378, 0, 0, 0, 0, ''), -- Auchenai Soulpriest
(@CGUID+90, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+92, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+95, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+96, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+102, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+106, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+128, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+130, 0, 0, 0, 0, 0, 0, 0, 483, 0, 0, 0, 0, ''), -- Auchenai Arbiter
(@CGUID+131, 0, 0, 0, 0, 0, 1, 0, 533, 0, 0, 0, 0, ''), -- Auchenai Magus
(@CGUID+132, 0, 0, 0, 0, 0, 1, 0, 533, 0, 0, 0, 0, ''), -- Auchenai Magus
(@CGUID+135, 0, 0, 0, 0, 0, 0, 0, 533, 0, 0, 0, 0, ''), -- Auchenai Soulpriest
(@CGUID+139, 0, 0, 0, 0, 0, 1, 0, 378, 0, 0, 0, 0, ''), -- Auchenai Magus
(@CGUID+140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+141, 0, 0, 0, 0, 0, 1, 0, 378, 0, 0, 0, 0, ''), -- Auchenai Soulpriest
(@CGUID+145, 0, 0, 0, 0, 0, 1, 0, 588, 0, 0, 0, 0, ''), -- Auchenai Zealot
(@CGUID+147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(@CGUID+148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '123167'); -- Auchenai Defender - 123167 - Mod Scale 95-100%
-- Gameobjects
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+20;
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, 231742, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1844.3779296875, 2953.1298828125, 15.16725635528564453, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54904), -- Soul Transporter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+1, 237459, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1827.97021484375, 2722.52978515625, 29.2783203125, 3.125251531600952148, 0, 0, 0.999966621398925781, 0.008170507848262786, 86400, 255, 0, 54904), -- Holy Barrier (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+2, 231743, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1802.8836669921875, 2953.053955078125, 25.48373794555664062, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54904), -- Soul Transporter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+3, 233010, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1737.890625, 2765.779052734375, 35.05662918090820312, 0.820305347442626953, 0, 0, 0.398749351501464843, 0.917059957981109619, 86400, 255, 1, 54904), -- Auchindoun Window 2 (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+4, 231741, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1830.89404296875, 3033.296142578125, 35.60332107543945312, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54904), -- Soul Transporter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+5, 231680, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1704.3170166015625, 2953.16552734375, 35.58184051513671875, 6.281350612640380859, 0, 0, -0.00091743469238281, 0.999999582767486572, 86400, 255, 0, 54904), -- Holy Barrier (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+6, 212899, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1483.564208984375, 2953.048583984375, 35.31077957153320312, 6.219974994659423828, 0, 0, -0.03159999847412109, 0.999500572681427001, 86400, 255, 1, 54904), -- Instance Portal (Party + Heroic + Challenge) (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+7, 233009, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1684.3145751953125, 2836.506591796875, 35.056640625, 0.471238493919372558, 0, 0, 0.233445167541503906, 0.972369968891143798, 86400, 255, 1, 54904), -- Auchindoun Window 1 (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+8, 230511, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1827.9700927734375, 3183.653564453125, 28.45749282836914062, 3.125251531600952148, 0, 0, 0.999966621398925781, 0.008170507848262786, 86400, 255, 0, 54904), -- Holy Barrier (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+9, 227633, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1482.0625, 2953.0556640625, 0, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54904), -- Auchindoun_Section_001 (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+10, 230398, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1665.140625, 3012.127197265625, 35.58184051513671875, 4.434296131134033203, 0, 0, -0.79828643798828125, 0.602277994155883789, 86400, 255, 1, 54904), -- Holy Barrier (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+11, 230399, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1911.6396484375, 3183.603759765625, 31.48963165283203125, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 0, 54904), -- Holy Barrier (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+12, 230397, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1665.14013671875, 2894.444091796875, 35.58184051513671875, 4.996966361999511718, 0, 0, -0.5996866226196289, 0.800234973430633544, 86400, 255, 1, 54904), -- Holy Barrier (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+13, 230400, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1911.6397705078125, 2722.507568359375, 31.57850456237792968, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 0, 54904), -- Fel Barrier (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+14, 231738, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1831.1392822265625, 2872.88037109375, 35.591522216796875, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54904), -- Soul Transporter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+15, 231679, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1617.25146484375, 2953.16552734375, 35.58184051513671875, 6.281350612640380859, 0, 0, -0.00091743469238281, 0.999999582767486572, 86400, 255, 0, 54904), -- Holy Barrier (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+16, 231736, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1911.621826171875, 3105.61083984375, 4.55859375, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54904), -- Soul Transporter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+17, 231737, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1911.716796875, 2800.406494140625, 4.55859375, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54904), -- Soul Transporter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+18, 237464, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1685.4444580078125, 2913.046142578125, 36.72615432739257812, 6.200767040252685546, 0.702855110168457031, -0.03005886077880859, -0.0282135009765625, 0.710137426853179931, 86400, 255, 1, 54904), -- Soulsever Blade (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+19, 231739, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1992.41748046875, 2872.893310546875, 35.37061691284179687, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54904), -- Soul Transporter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
(@OGUID+20, 231740, 1182, 6912, 6912, '1,2,8,23', 0, 0, 1992.5048828125, 3033.2978515625, 35.36113739013671875, 3.141592741012573242, 0, 0, -1, 0, 86400, 255, 1, 54904); -- Soul Transporter (Area: Auchindoun - Difficulty: Heroic) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+20;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+0, 0, 0, 1, -0.00000004371138828, 0, 5460), -- Soul Transporter
(@OGUID+1, 0, 0, 1, -0.00000004371138828, 0, 0), -- Holy Barrier
(@OGUID+2, 0, 0, 1, -0.00000004371138828, 0, 5460), -- Soul Transporter
(@OGUID+3, 0, 0, 1, -0.00000004371138828, 0, 0), -- Auchindoun Window 2
(@OGUID+4, 0, 0, 1, -0.00000004371138828, 0, 5460), -- Soul Transporter
(@OGUID+5, 0, 0, 1, -0.00000004371138828, 0, 0), -- Holy Barrier
(@OGUID+7, 0, 0, 1, -0.00000004371138828, 0, 0), -- Auchindoun Window 1
(@OGUID+8, 0, 0, 1, -0.00000004371138828, 0, 0), -- Holy Barrier
(@OGUID+9, 0, 0, 0, 1, 0, 0), -- Auchindoun_Section_001
(@OGUID+10, 0, 0, 1, -0.00000004371138828, 0, 0), -- Holy Barrier
(@OGUID+11, 0, 0, 1, -0.00000004371138828, 0, 0), -- Holy Barrier
(@OGUID+12, 0, 0, 1, -0.00000004371138828, 0, 0), -- Holy Barrier
(@OGUID+13, 0, 0, 1, -0.00000004371138828, 0, 0), -- Fel Barrier
(@OGUID+14, 0, 0, 1, -0.00000004371138828, 0, 5460), -- Soul Transporter
(@OGUID+15, 0, 0, 1, -0.00000004371138828, 0, 0), -- Holy Barrier
(@OGUID+16, 0, 0, 1, -0.00000004371138828, 0, 5460), -- Soul Transporter
(@OGUID+17, 0, 0, 1, -0.00000004371138828, 0, 5460), -- Soul Transporter
(@OGUID+19, 0, 0, 1, -0.00000004371138828, 0, 5460), -- Soul Transporter
(@OGUID+20, 0, 0, 1, -0.00000004371138828, 0, 5460); -- Soul Transporter
-- Template
DELETE FROM `instance_template` WHERE `map`=1182;
INSERT INTO `instance_template` (`map`, `parent`, `script`) VALUES
(1182, 0, 'instance_auchindoun');
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=77947; -- Auchenai Cleric
UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=16777216 WHERE `entry`=82681; -- Shield Stalker
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=79248; -- Soulbinder Tuulani
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=77819; -- Auchenai Vigilant
UPDATE `creature_template` SET `unit_flags2`=2048, `AIName`='SmartAI' WHERE `entry`=77131; -- Sargerei Spirit-Tender
UPDATE `creature_template` SET `unit_flags2`=2048, `AIName`='SmartAI' WHERE `entry`=77810; -- Soulbinder Nyami
UPDATE `creature_template` SET `unit_flags2`=67110912, `unit_flags3`=16777217 WHERE `entry`=77832; -- Soul Aegis
UPDATE `creature_template` SET `unit_flags`=33554688 WHERE `entry`=79417; -- Invisible Stalker
UPDATE `creature_template` SET `unit_flags2`=2048, `AIName`='SmartAI' WHERE `entry`=77812; -- Sargerei Soulbinder
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=75839; -- Vigilant Kaathar
UPDATE `creature_template` SET `unit_flags2`=2048, `AIName`='SmartAI' WHERE `entry`=77134; -- Sargerei Cleric
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=77695; -- Auchenai Arbiter
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=77694; -- Auchenai Magus
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=77696; -- Auchenai Soulpriest
UPDATE `creature` SET `StringId`='CosmeticArcaneBomb' WHERE `guid`= @CGUID+138;
UPDATE `creature` SET `StringId`='EventArcaneBomb' WHERE `guid` = @CGUID+57;
UPDATE `creature` SET `StringId`='EventHalo' WHERE `guid`= @CGUID+61;
UPDATE `creature` SET `StringId`='EventRadiantFury' WHERE `guid`= @CGUID+56;
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (77950, 77948, 77131, 77810, 77832, 77812, 75839, 77134, 77695, 77947, 82681, 77133, 77819, 77693, 77694, 77947, 77949, 77696);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(77950, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 77950 (Auchenai Zealot)
(77948, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '157739'), -- 77948 (Auchenai Hoplite) - At Arms
(77131, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 4, '156955'), -- 77131 (Sargerei Spirit-Tender) - Void Form
(77810, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 4, '157234'), -- 77810 (Soulbinder Nyami) - Void Shell
(77832, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 4, '156922'), -- 77832 (Soul Aegis) - Soul Aegis
(77812, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 4, '156955'), -- 77812 (Sargerei Soulbinder) - Void Form
(75839, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 4, '157266 42459'), -- 75839 (Vigilant Kaathar) - Vigilant Submerge State, Dual Wield
(77134, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 4, '156955'), -- 77134 (Sargerei Cleric) - Void Form
(77695, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 77695 (Auchenai Arbiter)
(77947, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, ''), -- 77947 (Auchenai Cleric)
(82681, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 5, ''), -- 82681 (Shield Stalker)
(77133, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, '157081'), -- 77133 (Sargerei Hoplite) - Void Strikes
(77819, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 4, '156893'), -- 77819 (Auchenai Vigilant) - Auchindoun Defense Construct
(77693, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123167'), -- Auchenai Defender - 123167 - Mod Scale 95-100%
(77694, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Auchenai Magus
(77949, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Auchenai Ritualist
(77696, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Auchenai Soulpriest
UPDATE `gameobject_template_addon` SET `flags`=48 WHERE `entry` IN (231679, 230397, 230399, 230398, 230511, 231680, 237459); -- Holy Barrier
UPDATE `gameobject_template_addon` SET `flags`=48, `AIAnimKitID`=5460 WHERE `entry` IN (231738, 231741, 231743, 231742); -- Soul Transporter
UPDATE `gameobject_template_addon` SET `flags`=48 WHERE `entry`=230400; -- Fel Barrier
UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry`=227633; -- Auchindoun_Section_001
UPDATE `gameobject_template_addon` SET `flags`=48 WHERE `entry`=233009; -- Auchindoun Window 1
UPDATE `gameobject_template_addon` SET `flags`=48 WHERE `entry`=233010; -- Auchindoun Window 2
-- Areatrigger
DELETE FROM `areatrigger_template` WHERE (`Id`=@ATID AND `IsCustom`=1);
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(@ATID, 1, 1, 0);
DELETE FROM `areatrigger_create_properties` WHERE `Id`=1725 AND `IsCustom`=0;
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `SpellForVisuals`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `ScriptName`, `VerifiedBuild`) VALUES
(1725, 0, @ATID, 1, 4, 0, 0, 0, 0, -1, 0, 0, NULL, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, '', 0);
DELETE FROM `areatrigger_template` WHERE (`IsCustom`=0 AND `Id` = 6035);
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(6035, 0, 0, 54904);
DELETE FROM `areatrigger_create_properties` WHERE (`Id`=1569 AND `IsCustom`=0);
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `VerifiedBuild`) VALUES
(1569, 0, 6035, 0, 2, 470, 0, 469, 0, -1, 0, 0, 9446, 10000, 0, 0.75, 1.25, 0, 0, 0, 0, 0, 0, 54904); -- Spell: 154174 (Arcane Bomb)
-- Creature difficulties (Normal)
DELETE FROM `creature_template_difficulty` WHERE (`Entry`IN (77130, 77132, 77133) AND `DifficultyID`=1);
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77132 AND `DifficultyID`=0); -- Sargerei Zealot
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77130 AND `DifficultyID`=0); -- Sargerei Ritualist
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77133 AND `DifficultyID`=0); -- Sargerei Hoplite
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77131 AND `DifficultyID`=0); -- Sargerei Spirit-Tender
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77810 AND `DifficultyID`=0); -- Soulbinder Nyami
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77948 AND `DifficultyID`=0); -- Auchenai Hoplite
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77832 AND `DifficultyID`=0); -- Soul Aegis
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77812 AND `DifficultyID`=0); -- Sargerei Soulbinder
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77952 AND `DifficultyID`=0); -- Auchenai Soulbinder
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77951 AND `DifficultyID`=0); -- Auchenai Spirit-Tender
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77950 AND `DifficultyID`=0); -- Auchenai Zealot
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77134 AND `DifficultyID`=0); -- Sargerei Cleric
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=75839 AND `DifficultyID`=0); -- Vigilant Kaathar
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77949 AND `DifficultyID`=0); -- Auchenai Ritualist
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77947 AND `DifficultyID`=0); -- Auchenai Cleric
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77704 AND `DifficultyID`=0); -- Auchenai Warden
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77694 AND `DifficultyID`=0); -- Auchenai Magus
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77819 AND `DifficultyID`=0); -- Auchenai Vigilant
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77695 AND `DifficultyID`=0); -- Auchenai Arbiter
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77696 AND `DifficultyID`=0); -- Auchenai Soulpriest
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=82681 AND `DifficultyID`=0); -- Shield Stalker
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=77693 AND `DifficultyID`=0); -- Auchenai Defender
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5 WHERE (`Entry`=79248 AND `DifficultyID`=0); -- Soulbinder Tuulani
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2216, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77132 AND `DifficultyID`=0); -- 77132 (Sargerei Zealot) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2216, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77130 AND `DifficultyID`=0); -- 77130 (Sargerei Ritualist) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2216, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77133 AND `DifficultyID`=0); -- 77133 (Sargerei Hoplite) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2216, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77131 AND `DifficultyID`=0); -- 77131 (Sargerei Spirit-Tender) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=3, `LevelScalingDeltaMax`=3, `ContentTuningID`=2216, `StaticFlags1`=805306368, `VerifiedBuild`=54904 WHERE (`Entry`=77810 AND `DifficultyID`=0); -- 77810 (Soulbinder Nyami) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54904 WHERE (`DifficultyID`=0 AND `Entry` IN (79417,88439));
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2216, `StaticFlags1`=536871168, `VerifiedBuild`=54904 WHERE (`Entry`=77832 AND `DifficultyID`=0); -- 77832 (Soul Aegis) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2216, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77812 AND `DifficultyID`=0); -- 77812 (Sargerei Soulbinder) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2216, `VerifiedBuild`=54904 WHERE (`Entry`=77948 AND `DifficultyID`=0); -- 77948 (Auchenai Hoplite) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2216, `VerifiedBuild`=54904 WHERE (`Entry`=77950 AND `DifficultyID`=0); -- 77950 (Auchenai Zealot) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2216, `VerifiedBuild`=54904 WHERE (`Entry`=77951 AND `DifficultyID`=0); -- 77951 (Auchenai Spirit-Tender) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2216, `VerifiedBuild`=54904 WHERE (`Entry`=77952 AND `DifficultyID`=0); -- 77952 (Auchenai Soulbinder) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2216, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77134 AND `DifficultyID`=0); -- 77134 (Sargerei Cleric) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2216, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=75839 AND `DifficultyID`=0); -- 75839 (Vigilant Kaathar) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2216, `VerifiedBuild`=54904 WHERE (`Entry`=77949 AND `DifficultyID`=0); -- 77949 (Auchenai Ritualist) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2216, `VerifiedBuild`=54904 WHERE (`Entry`=77947 AND `DifficultyID`=0); -- 77947 (Auchenai Cleric) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2216, `VerifiedBuild`=54904 WHERE (`Entry`=77704 AND `DifficultyID`=0); -- 77704 (Auchenai Warden) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2216, `VerifiedBuild`=54904 WHERE (`Entry`=77694 AND `DifficultyID`=0); -- 77694 (Auchenai Magus) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2216, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=79248 AND `DifficultyID`=0); -- 79248 (Soulbinder Tuulani) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2216, `VerifiedBuild`=54904 WHERE (`Entry`=77695 AND `DifficultyID`=0); -- 77695 (Auchenai Arbiter) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2216, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77819 AND `DifficultyID`=0); -- 77819 (Auchenai Vigilant) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2216, `VerifiedBuild`=54904 WHERE (`Entry`=77696 AND `DifficultyID`=0); -- 77696 (Auchenai Soulpriest) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2216, `StaticFlags1`=536871168, `VerifiedBuild`=54904 WHERE (`Entry`=82681 AND `DifficultyID`=0); -- 82681 (Shield Stalker) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2216, `VerifiedBuild`=54904 WHERE (`Entry`=77693 AND `DifficultyID`=0); -- 77693 (Auchenai Defender) -
-- Creature Difficulty (Heroic)
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=2 AND `Entry` IN (77832,79417));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`, `VerifiedBuild`) VALUES
(77832, 2, 0, 0, 2218, 536871168, 0, 0, 0, 0, 0, 0, 0, 54904), -- 77832 (Soul Aegis) - Sessile, Floating
(79417, 2, 0, 0, 328, 536871168, 0, 0, 0, 0, 0, 0, 0, 54904); -- 79417 (Invisible Stalker) - Sessile; Floating
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=2 AND `Entry` IN (77132,77130,77133,77131,77810,77948,77812,77952,77951,77950,77134,75839,77949,77694,77704,77695,79248,77696,77693,77947));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`) VALUES
(77132, 2, 5, 5, 1, 79232, 270532680, 0), -- Sargerei Zealot
(77130, 2, 5, 5, 1, 79229, 2097224, 0), -- Sargerei Ritualist
(77133, 2, 5, 5, 1, 79228, 270532712, 0), -- Sargerei Hoplite
(77131, 2, 5, 8.5, 1, 79231, 2097224, 0), -- Sargerei Spirit-Tender
(77810, 2, 5, 26, 1, 79861, 2097256, 0), -- Soulbinder Nyami
(77948, 2, 5, 1, 1, 79867, 0, 0), -- Auchenai Hoplite
(77812, 2, 5, 8, 1, 79230, 2097224, 0), -- Sargerei Soulbinder
(77952, 2, 5, 1, 1, 79870, 0, 0), -- Auchenai Soulbinder
(77951, 2, 5, 1, 1, 79871, 0, 0), -- Auchenai Spirit-Tender
(77950, 2, 5, 1, 1, 79873, 0, 0), -- Auchenai Zealot
(77134, 2, 5, 10, 1, 79227, 2097224, 0), -- Sargerei Cleric
(75839, 2, 5, 35, 1, 79226, 270532712, 128), -- Vigilant Kaathar
(77949, 2, 5, 1, 1, 79869, 0, 0), -- Auchenai Ritualist
(77694, 2, 5, 1, 1, 79868, 0, 0), -- Auchenai Magus
(77704, 2, 5, 1, 1, 79872, 0, 0), -- Auchenai Warden
(77695, 2, 5, 1, 1, 79863, 0, 0), -- Auchenai Arbiter
(79248, 2, 5, 5.199999809265136718, 1, 79884, 32, 0), -- Soulbinder Tuulani
(77696, 2, 5, 1, 1, 79862, 0, 0), -- Auchenai Soulpriest
(77693, 2, 5, 1, 1, 79866, 0, 0), -- Auchenai Defender
(77947, 2, 5, 1, 1, 79864, 0, 0); -- Auchenai Cleric
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2218, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77132 AND `DifficultyID`=2); -- 77132 (Sargerei Zealot) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2218, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77130 AND `DifficultyID`=2); -- 77130 (Sargerei Ritualist) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2218, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77133 AND `DifficultyID`=2); -- 77133 (Sargerei Hoplite) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2218, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77131 AND `DifficultyID`=2); -- 77131 (Sargerei Spirit-Tender) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2218, `StaticFlags1`=805306368, `VerifiedBuild`=54904 WHERE (`Entry`=77810 AND `DifficultyID`=2); -- 77810 (Soulbinder Nyami) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2218, `VerifiedBuild`=54904 WHERE (`Entry`=77948 AND `DifficultyID`=2); -- 77948 (Auchenai Hoplite) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2218, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77812 AND `DifficultyID`=2); -- 77812 (Sargerei Soulbinder) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2218, `VerifiedBuild`=54904 WHERE (`Entry`=77951 AND `DifficultyID`=2); -- 77951 (Auchenai Spirit-Tender) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2218, `VerifiedBuild`=54904 WHERE (`Entry`=77952 AND `DifficultyID`=2); -- 77952 (Auchenai Soulbinder) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2218, `VerifiedBuild`=54904 WHERE (`Entry`=77950 AND `DifficultyID`=2); -- 77950 (Auchenai Zealot) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2218, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=75839 AND `DifficultyID`=2); -- 75839 (Vigilant Kaathar) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2218, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77134 AND `DifficultyID`=2); -- 77134 (Sargerei Cleric) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2218, `VerifiedBuild`=54904 WHERE (`Entry`=77949 AND `DifficultyID`=2); -- 77949 (Auchenai Ritualist) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2218 WHERE (`Entry`=77947 AND `DifficultyID`=2); -- 77947 (Auchenai Cleric) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2218, `VerifiedBuild`=54904 WHERE (`Entry`=77694 AND `DifficultyID`=2); -- 77694 (Auchenai Magus) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2218, `VerifiedBuild`=54904 WHERE (`Entry`=77704 AND `DifficultyID`=2); -- 77704 (Auchenai Warden) --
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=9, `CreatureDifficultyID`=76970, `TypeFlags`=1024 WHERE (`Entry`=79417 AND `DifficultyID`=2); -- Invisible Stalker
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=5, `CreatureDifficultyID`=74871, `TypeFlags`=1024 WHERE (`Entry`=77832 AND `DifficultyID`=2); -- Soul Aegis
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=0, `ContentTuningID`=2218 WHERE (`Entry`=79248 AND `DifficultyID`=2); -- 79248 (Soulbinder Tuulani) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2218 WHERE (`Entry`=77695 AND `DifficultyID`=2); -- 77695 (Auchenai Arbiter) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2218 WHERE (`DifficultyID`=2 AND `Entry` IN (82681,77819));
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2218 WHERE (`Entry`=77696 AND `DifficultyID`=2); -- 77696 (Auchenai Soulpriest) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=0, `LevelScalingDeltaMax`=0, `ContentTuningID`=2218 WHERE (`Entry`=77693 AND `DifficultyID`=2); -- 77693 (Auchenai Defender) -
-- Creature Difficulty (Mythic)
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=23 AND `Entry` IN (77132,77130,77133,77131,77812,77832,79417,77134,75839));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`) VALUES
(77132, 23, 5, 5, 1, 93790, 270532680, 0), -- Sargerei Zealot
(77130, 23, 5, 5, 1, 93792, 2097224, 0), -- Sargerei Ritualist
(77133, 23, 5, 5, 1, 93789, 270532712, 0), -- Sargerei Hoplite
(77131, 23, 5, 8.5, 1, 93791, 2097224, 0), -- Sargerei Spirit-Tender
(77812, 23, 5, 8, 1, 93779, 2097224, 0), -- Sargerei Soulbinder
(77832, 23, 5, 1, 1, 74871, 1024, 0), -- Soul Aegis
(79417, 23, 9, 1, 1, 76970, 1024, 0), -- Invisible Stalker
(77134, 23, 5, 10, 1, 93788, 2097224, 0), -- Sargerei Cleric
(75839, 23, 5, 35, 1, 93888, 270532712, 128); -- Vigilant Kaathar
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=23 AND `Entry` IN (77810,77952,77948,77951,77950,77949,77947,77704,77695,77694));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`, `VerifiedBuild`) VALUES
(77810, 23, 2, 2, 2219, 805306368, 0, 0, 0, 0, 0, 0, 0, 54904), -- 77810 (Soulbinder Nyami) - CanSwim, Floating
(77952, 23, 1, 1, 2219, 0, 0, 0, 0, 0, 0, 0, 0, 54904), -- 77952 (Auchenai Soulbinder) -
(77948, 23, 0, 0, 2219, 0, 0, 0, 0, 0, 0, 0, 0, 54904), -- 77948 (Auchenai Hoplite) -
(77951, 23, 1, 1, 2219, 0, 0, 0, 0, 0, 0, 0, 0, 54904), -- 77951 (Auchenai Spirit-Tender) -
(77950, 23, 0, 0, 2219, 0, 0, 0, 0, 0, 0, 0, 0, 54904), -- 77950 (Auchenai Zealot) -
(77949, 23, 0, 0, 2219, 0, 0, 0, 0, 0, 0, 0, 0, 54904), -- 77949 (Auchenai Ritualist) -
(77947, 23, 1, 1, 2219, 0, 0, 0, 0, 0, 0, 0, 0, 54904), -- 77947 (Auchenai Cleric) -
(77704, 23, 0, 0, 2219, 0, 0, 0, 0, 0, 0, 0, 0, 54904), -- 77704 (Auchenai Warden) -
(77695, 23, 1, 1, 2219, 0, 0, 0, 0, 0, 0, 0, 0, 54904), -- 77695 (Auchenai Arbiter) -
(77694, 23, 1, 1, 2219, 0, 0, 0, 0, 0, 0, 0, 0, 54904); -- 77694 (Auchenai Magus) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2219, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77132 AND `DifficultyID`=23); -- 77132 (Sargerei Zealot) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2219, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77130 AND `DifficultyID`=23); -- 77130 (Sargerei Ritualist) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2219, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77133 AND `DifficultyID`=23); -- 77133 (Sargerei Hoplite) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2219, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77131 AND `DifficultyID`=23); -- 77131 (Sargerei Spirit-Tender) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2219, `StaticFlags1`=536871168, `VerifiedBuild`=54904 WHERE (`Entry`=77832 AND `DifficultyID`=23); -- 77832 (Soul Aegis) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2219, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77812 AND `DifficultyID`=23); -- 77812 (Sargerei Soulbinder) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=328, `StaticFlags1`=536871168, `VerifiedBuild`=54904 WHERE (`Entry`=79417 AND `DifficultyID`=23); -- 79417 (Invisible Stalker) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2219, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=75839 AND `DifficultyID`=23); -- 75839 (Vigilant Kaathar) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2219, `StaticFlags1`=268435456, `VerifiedBuild`=54904 WHERE (`Entry`=77134 AND `DifficultyID`=23); -- 77134 (Sargerei Cleric) - CanSwim
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup` = 1 AND `SourceEntry` = 156920;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 156920, 0, 2, 51, 0, 5, 77832, 0, '', 0, 0, 0, '', 'Spell \'Void Beam\' can only hit \'Invisible Stalker\'');
-- SAI
DELETE FROM `smart_scripts` WHERE `entryorguid`=77695 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (7769500, 7769501) AND `source_type`=9;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(77695, 0, 0, 0, '', 40, 0, 100, 0, 0, 7769500, 0, 0, 0, '', 80, (77695 * 100), 2, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Arbiter - On Waypoint reached 0 - Set Action List'),
(77695, 0, 1, 0, '', 40, 0, 100, 0, 1, 7769500, 0, 0, 0, '', 80, (77695 * 100), 2, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Arbiter - On Waypoint reached 1 - Set Action List'),
(77695, 0, 2, 0, '', 38, 0, 100, 0, 0, 1, 0, 0, 0, '', 80, (77695 * 100) + 1, 2, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Magus - On Data Set - Action List'),
(77695, 0, 3, 0, '', 40, 0, 100, 0, 0, 7769501, 0, 0, 0, '', 97, 14, 0, 0, 0, 0, 0, 0, NULL, 8, 0, 0, 0, 0, NULL, 1665.137, 2927.535, 34.76397, 0, 'Auchenai Arbiter - Self: Jump To Pos'),
(77695, 0, 4, 0, '', 40, 0, 100, 0, 0, 7769501, 0, 0, 0, '', 11, 155525, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Arbiter - Self: Cast Spell 155525'),
(77695, 0, 5, 0, '', 40, 0, 100, 0, 1, 7769501, 0, 0, 0, '', 97, 14, 0, 0, 0, 0, 0, 0, NULL, 8, 0, 0, 0, 0, NULL, 1655.913, 2979.347, 34.76414, 0, 'Auchenai Arbiter - Self: Jump To Pos'),
(77695, 0, 6, 0, '', 40, 0, 100, 0, 1, 7769501, 0, 0, 0, '', 11, 155525, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Arbiter - Self: Cast Spell 155525'),
(7769500, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 66, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 77693, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Arbiter - Face To Auchenai Defender'),
(7769500, 9, 1, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 5, 22, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Arbiter - Play emote OneShotShot'),
(7769501, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 0, 7769501, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, 'EventRadiantFury', 0, 0, 0, 0, 'Auchenai Arbiter - Action List - Start Waypoint');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup` = 3 AND `SourceEntry`=77695;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 3, 77695, 0, 0, 58, 1, 0, 0, 0, 'EventRadiantFury', 0, 0, 0, '', 'Scripted creature has StringId \'EventRadiantFury\'');
-- SAI Sargerei Spirit-Tender
DELETE FROM `smart_scripts` WHERE `entryorguid`=77131 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(77131, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 11, 156920, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Sargerei Spirit-Tender - On Just Created - Self Cast spell 156920');
-- SAI Sargerei Soulbinder
DELETE FROM `smart_scripts` WHERE `entryorguid`=77812 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(77812, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 11, 156920, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Sargerei Soulbinder - On Just Created - Self Cast spell 156920');
-- SAI Sargerei Cleric
DELETE FROM `smart_scripts` WHERE `entryorguid`=77134 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(77134, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 11, 156920, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Sargerei Cleric - On Just Created - Self Cast spell 156920');
-- SAI Soulbinder Nymia
DELETE FROM `smart_scripts` WHERE `entryorguid`=77810 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(77810, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 11, 156920, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Soulbinder Nymia - On Just Created - Self Cast spell 156920');
-- SAI Auchenai Magus
DELETE FROM `smart_scripts` WHERE `entryorguid`=77694 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` = 7769400 AND `source_type`=9;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(77694, 0, 0, 0, '', 1, 0, 100, 0, 9000, 30000, 9000, 30000, 0, '', 11, 157652, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Magus (OOC) - Self: Cast spell 157652 on Self'),
(77694, 0, 1, 0, '', 40, 0, 100, 0, 0, 0, 0, 0, 0, '', 11, 157652, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Magus - Waypoint Reached - Cast spell 157652'),
(77694, 0, 2, 0, '', 38, 0, 100, 0, 0, 1, 0, 0, 0, '', 80, (77694 * 100), 2, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Magus - On Data Set - Action List'),
(7769400, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 0, 7769400, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, 'EventArcaneBomb', 0, 0, 0, 0, 'Auchenai Soulpriest - Action List - Start Waypoint');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup` IN (1, 2, 3) AND `SourceEntry`=77694;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 1, 77694, 0, 0, 58, 1, 0, 0, 0, 'CosmeticArcaneBomb', 0, 0, 0, '', 'Scripted creature has StringId \'CosmeticArcaneBomb\''),
(22, 2, 77694, 0, 0, 58, 1, 0, 0, 0, 'EventArcaneBomb', 0, 0, 0, '', 'Scripted creature has StringId \'EventArcaneBomb\''),
(22, 3, 77694, 0, 0, 58, 1, 0, 0, 0, 'EventArcaneBomb', 0, 0, 0, '', 'Scripted creature has StringId \'EventArcaneBomb\'');
-- Event at Nave of Eternal Rest
DELETE FROM `smart_scripts` WHERE `entryorguid`=77696 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (7769600, 7769601, 7769602) AND `source_type`=9;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(77696, 0, 0, 0, '', 1, 0, 100, 0, 39000, 39000, 39000, 39000, 0, '', 87, 7769600, 7769601, 7769602, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Soulpriest (OOC) - Run Random Script'),
(77696, 0, 1, 0, '', 40, 0, 100, 0, 0, 0, 0, 0, 0, '', 11, 157762, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Soulpriest (OOC) - Waypoint Reached - Cast spell 157762'),
(7769600, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 0, 7769600, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Auchenai Soulpriest - Action List - Start Waypoint'),
(7769601, 9, 1, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 45, 0, 1, 0, 0, 0, 0, 0, NULL, 19, 77694, 0, 0, 0, 'EventArcaneBomb', 0, 0, 0, 0, 'Auchenai Soulpriest - Action List - Set Data 0 1 to Auchenai Magus'),
(7769602, 9, 2, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 45, 0, 1, 0, 0, 0, 0, 0, NULL, 19, 77695, 0, 0, 0, 'EventRadiantFury', 0, 0, 0, 0, 'Auchenai Soulpriest - Action List - Set Data 0 1 to Auchenai Arbiter');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup` IN (1, 2) AND `SourceEntry`=77696;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 1, 77696, 0, 0, 58, 1, 0, 0, 0, 'EventHalo', 0, 0, 0, '', 'Scripted creature has StringId \'EventHalo\''),
(22, 2, 77696, 0, 0, 58, 1, 0, 0, 0, 'EventHalo', 0, 0, 0, '', 'Scripted creature has StringId \'EventHalo\'');
-- Path for CGUID+16
SET @ENTRY := 77704;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 2, 'Auchenai Warden - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1501.226, 2956.841, 35.23874, NULL, 16300),
(@PATH, 1, 1538.024, 2956.989, 35.23879, NULL, 0),
(@PATH, 2, 1538.042, 2949.358, 35.2387, NULL, 0),
(@PATH, 3, 1501.196, 2949.155, 35.22998, NULL, 15971),
(@PATH, 4, 1538.042, 2949.358, 35.2387, NULL, 0),
(@PATH, 5, 1538.024, 2956.989, 35.23879, NULL, 0);
UPDATE `creature` SET `position_x`= 1501.226, `position_y`= 2956.841, `position_z`= 35.23874, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+16;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+16;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+16, @PATH, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '155647'); -- Auchenai Warden - 155647 - NPC Reaction
-- Path for CGUID+120
SET @ENTRY := 77704;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Auchenai Warden - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1672.106, 3022.716, 35.16462, NULL, 10562),
(@PATH, 1, 1673.693, 3032.523, 35.23431, NULL, 16588);
UPDATE `creature` SET `position_x`= 1672.106, `position_y`= 3022.716, `position_z`= 35.16462, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+120;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+120;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+120, @PATH, 1);
-- Path for CGUID+137
SET @ENTRY := 77695;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Auchenai Arbiter - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1709.325, 3099.063, 35.13764, NULL, 10193),
(@PATH, 1, 1714.448, 3104.976, 35.13763, NULL, 7779);
UPDATE `creature` SET `position_x`= 1709.325, `position_y`= 3099.063, `position_z`= 35.13764, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+137;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+137;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+137, @PATH, 0, 0, 0, 0, 1, 0, 378, 0, 0, 0, 0, ''); -- Auchenai Arbiter
-- Path for Auchenai Arbiter
SET @ENTRY := 77695;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Auchenai Arbiter - Scripted Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1660.043, 2953.735, 34.27824, NULL, 284),
(@PATH, 1, 1663.869, 2930.622, 34.82322, NULL, 280),
(@PATH, 2, 1650.58, 2962.983, 35.05951, 5.50257110, 0);
-- Path for Auchenai Soulpriest
SET @ENTRY := 77696;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Auchenai Soulpriest - Scripted Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1661.759, 2953.042, 34.27822, NULL, 5126),
(@PATH, 1, 1674.719, 2953.108, 35.05952, 3.13579130, 0);
-- Path for Auchenai Magus
SET @ENTRY := 77694;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Auchenai Magus - Scripted Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1660.287, 2952.155, 34.27823, NULL, 11557),
(@PATH, 1, 1654.024, 2940.446, 35.05951, 1.07963836, 0);
@@ -1,195 +0,0 @@
SET @OGUID := 7000316;
SET @ATID := 69;
SET @ATCP := 56;
SET @ATIDSPAWN := 70;
SET @SPAWNGROUP := 1251;
SET @WORLDSAFELOCID := 100042;
-- GameObjects
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+18;
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, 276643, 1754, 9164, 9640, '1,2,23,8', 0, 0, -1563.5816650390625, -1020.588623046875, 76.08814239501953125, 2.35677337646484375, 0, 0, 0.923990249633789062, 0.382416039705276489, 7200, 255, 1, 55142), -- Instance Portal (Area: Smuggler's Run - Difficulty: 0) CreateObject1
(@OGUID+1, 280662, 1771, 9327, 9327, '1,2,23,8', 0, 0, 79.2725677490234375, -2941.302001953125, -0.23841531574726104, 4.660104751586914062, 0, 0, -0.72534847259521484, 0.688381910324096679, 7200, 255, 1, 55142), -- Boat (Area: Tol Dagor - Difficulty: 0) CreateObject1
(@OGUID+2, 252245, 1771, 9327, 9327, '1,2,23,8', 0, 0, 79.109375, -2942.5244140625, 1.989225983619689941, 1.440670013427734375, 0, 0, 0.659636497497558593, 0.751584768295288085, 7200, 255, 1, 55142), -- Instance Portal (Area: Tol Dagor - Difficulty: 0) CreateObject1
(@OGUID+3, 252245, 1643, 10015, 10015, '0', 0, 0, 33.43229293823242187, -2658.704833984375, 27.01893424987792968, 5.491595268249511718, 0, 0, -0.38554191589355468, 0.922690331935882568, 120, 255, 1, 55142), -- Instance Portal (Area: Tol Dagor - Difficulty: 0) CreateObject1
(@OGUID+4, 252245, 1643, 8721, 9561, '0', 0, 0, 793.57989501953125, 3371.655517578125, 235.0142669677734375, 0, 0, 0, 0, 1, 120, 255, 1, 55142), -- Instance Portal (Area: Waycrest Manor - Difficulty: 0) CreateObject1
(@OGUID+5, 252245, 1862, 9424, 9424, '1,23,2,8', 0, 0, -634.33160400390625, -259.921875, 238.173828125, 0, 0, 0, 0, 1, 7200, 255, 1, 55142), -- Instance Portal (Area: Waycrest Manor - Difficulty: 0) CreateObject1
(@OGUID+6, 252248, 1643, 9042, 9767, '0', 0, 0, 4161.1318359375, -1140.779541015625, 164.7171478271484375, 1.737511277198791503, 0, 0, 0.763525962829589843, 0.64577716588973999, 120, 255, 1, 55142), -- Instance Portal (Area: Shrine of the Storm - Difficulty: 0) CreateObject1
(@OGUID+7, 252247, 1642, 8499, 8965, '0', 0, 0, -2647.25, 2388.3837890625, 10.04741477966308593, 3.517940521240234375, 0, 0, -0.98234748840332031, 0.187065258622169494, 120, 255, 1, 55142), -- Instance Portal (Area: Xibala - Difficulty: 0) CreateObject1
(@OGUID+8, 252247, 1594, 8064, 9729, '1,2,23,8', 0, 0, 630.34027099609375, -3620.70654296875, 3.562418222427368164, 5.49183511734008789, 0, 0, -0.38543128967285156, 0.922736525535583496, 7200, 255, 1, 55142), -- Instance Portal (Area: Platinum Sands - Difficulty: 0) CreateObject1
(@OGUID+9, 252248, 1642, 8499, 8731, '0', 0, 0, -848.28472900390625, 2044.1492919921875, 728.180908203125, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 120, 255, 1, 55142), -- Instance Portal (Area: Mount Mugamba - Difficulty: 0) CreateObject1
(@OGUID+10, 252237, 1642, 8499, 9404, '0', 0, 0, -848.59375, 2541.303955078125, 734.68096923828125, 4.717230796813964843, 0, 0, -0.70539283752441406, 0.7088165283203125, 120, 255, 1, 55142), -- Instance Portal (Area: Atal'Dazar - Difficulty: 0) CreateObject1
(@OGUID+11, 252247, 1642, 8500, 0, '0', 0, 0, 1257.55908203125, 747.90277099609375, -268.368682861328125, 0.762700915336608886, 0, 0, 0.372174263000488281, 0.928162872791290283, 120, 255, 1, 55142), -- Instance Portal (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+12, 252247, 1642, 8501, 0, '0', 0, 0, 3205.748291015625, 3151.78125, 124.6168594360351562, 0, 0, 0, 0, 1, 120, 255, 1, 55142), -- Instance Portal (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+13, 252247, 1877, 9527, 9527, '1,2,23,8', 0, 0, 3172.3203125, 3151, 125.0942001342773437, 0, 0, 0, 0, 1, 7200, 255, 1, 55142), -- Instance Portal (Area: Temple of Sethraliss - Difficulty: 0) CreateObject1
(@OGUID+14, 252248, 1642, 8499, 8665, '0', 0, 0, -2001.7882080078125, 967.2569580078125, 8.890947341918945312, 1.561707258224487304, 0, 0, 0.703886032104492187, 0.710312962532043457, 120, 255, 1, 55142), -- Instance Portal (Area: Port of Zandalar - Difficulty: 0) CreateObject1
(@OGUID+15, 252247, 1594, 8064, 9729, '1,2,23,8', 0, 0, 616.23785400390625, -3637.442626953125, 6.78265237808227539, 6.111760616302490234, 0, 0, -0.08560752868652343, 0.996328949928283691, 7200, 255, 1, 55142), -- Instance Portal (Area: Platinum Sands - Difficulty: 0) CreateObject1
(@OGUID+16, 252245, 1643, 8567, 9694, '0', 0, 0, -211.807296752929687, -1561.48095703125, 4.032770633697509765, 0.795597970485687255, 0, 0, 0.38739013671875, 0.921915888786315917, 120, 255, 1, 55142), -- Instance Portal (Area: Plunder Harbor - Difficulty: 0) CreateObject1
(@OGUID+17, 252245, 1822, 9354, 9354, '23,8,2', 0, 0, 1078.1754150390625, -590.232666015625, 2.224796772003173828, 1.598357081413269042, 0, 0, 0.716783523559570312, 0.697295784950256347, 7200, 255, 1, 55142), -- Instance Portal (Area: Siege of Boralus - Difficulty: 0) CreateObject1
(@OGUID+18, 252245, 1822, 9354, 9354, '23,8,2', 0, 0, 1070.451416015625, -626.623291015625, 19.12912750244140625, 0, 0, 0, 0, 1, 86400, 255, 1, 55142); -- Instance Portal (Area: Siege of Boralus - Difficulty: Heroic) CreateObject1
-- Areatrigger
DELETE FROM `areatrigger_template` WHERE `Id` BETWEEN @ATID+0 AND @ATID+23;
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(@ATID+0, 1, 1, 0),
(@ATID+1, 1, 1, 0),
(@ATID+2, 1, 1, 0),
(@ATID+3, 1, 1, 0),
(@ATID+4, 1, 1, 0),
(@ATID+5, 1, 1, 0),
(@ATID+6, 1, 1, 0),
(@ATID+7, 1, 1, 0),
(@ATID+8, 1, 1, 0),
(@ATID+9, 1, 1, 0),
(@ATID+10, 1, 1, 0),
(@ATID+11, 1, 1, 0),
(@ATID+12, 1, 1, 0),
(@ATID+13, 1, 1, 0),
(@ATID+14, 1, 1, 0),
(@ATID+15, 1, 1, 0),
(@ATID+16, 1, 1, 0),
(@ATID+17, 1, 1, 0),
(@ATID+18, 1, 1, 0),
(@ATID+19, 1, 1, 0),
(@ATID+20, 1, 1, 0),
(@ATID+21, 1, 1, 0),
(@ATID+22, 1, 1, 0),
(@ATID+23, 1, 1, 0);
DELETE FROM `areatrigger_template_actions` WHERE `AreaTriggerId` BETWEEN @ATID+0 AND @ATID+23;
INSERT INTO `areatrigger_template_actions` (`AreaTriggerId`, `IsCustom`, `ActionType`, `ActionParam`, `TargetType`) VALUES
(@ATID+0, 1, 2, @WORLDSAFELOCID+0, 5),
(@ATID+1, 1, 2, @WORLDSAFELOCID+1, 5),
(@ATID+2, 1, 2, @WORLDSAFELOCID+2, 5),
(@ATID+3, 1, 2, @WORLDSAFELOCID+3, 5),
(@ATID+4, 1, 2, @WORLDSAFELOCID+4, 5),
(@ATID+5, 1, 2, @WORLDSAFELOCID+5, 5),
(@ATID+6, 1, 2, @WORLDSAFELOCID+6, 5),
(@ATID+7, 1, 2, @WORLDSAFELOCID+7, 5),
(@ATID+8, 1, 2, @WORLDSAFELOCID+8, 5),
(@ATID+9, 1, 2, @WORLDSAFELOCID+9, 5),
(@ATID+10, 1, 2, @WORLDSAFELOCID+10, 5),
(@ATID+11, 1, 2, @WORLDSAFELOCID+11, 5),
(@ATID+12, 1, 2, @WORLDSAFELOCID+12, 5),
(@ATID+13, 1, 2, @WORLDSAFELOCID+13, 5),
(@ATID+14, 1, 2, @WORLDSAFELOCID+14, 5),
(@ATID+15, 1, 2, @WORLDSAFELOCID+15, 5),
(@ATID+16, 1, 2, @WORLDSAFELOCID+16, 5),
(@ATID+17, 1, 2, @WORLDSAFELOCID+17, 5),
(@ATID+18, 1, 2, @WORLDSAFELOCID+18, 5),
(@ATID+19, 1, 2, @WORLDSAFELOCID+19, 5),
(@ATID+20, 1, 2, @WORLDSAFELOCID+20, 5),
(@ATID+21, 1, 2, @WORLDSAFELOCID+21, 5),
(@ATID+22, 1, 2, @WORLDSAFELOCID+22, 5),
(@ATID+23, 1, 2, @WORLDSAFELOCID+23, 5);
DELETE FROM `areatrigger_create_properties` WHERE `Id` BETWEEN @ATCP+0 AND @ATCP+23;
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `ScriptName`, `VerifiedBuild`) VALUES
(@ATCP+0, 1, @ATID+0, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 3, 4, 5, 3, 4, 5, 0, 0, '', 0), -- Siege of Boralus (A) entrance
(@ATCP+1, 1, @ATID+1, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 3, 3, 5, 3, 3, 5, 0, 0, '', 0), -- Siege of Boralus (A) exit
(@ATCP+2, 1, @ATID+2, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 5, 8, 8, 5, 8, 8, 0, 0, '', 0), -- Freehold entrance
(@ATCP+3, 1, @ATID+3, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 5, 10, 8, 5, 10, 8, 0, 0, '', 0), -- Freehold exit
(@ATCP+4, 1, @ATID+4, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 1, 2, 5, 1, 2, 5, 0, 0, '', 0), -- Tol Dagor entrance
(@ATCP+5, 1, @ATID+5, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 2, 2, 5, 2, 2, 5, 0, 0, '', 0), -- Tol Dagor exit
(@ATCP+6, 1, @ATID+6, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 1, 3, 5, 1, 3, 5, 0, 0, '', 0), -- Waycrest Manor entrance
(@ATCP+7, 1, @ATID+7, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 2, 4, 5, 2, 4, 5, 0, 0, '', 0), -- Waycrest Manor exit
(@ATCP+8, 1, @ATID+8, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 4, 4, 8, 4, 4, 8, 0, 0, '', 0), -- Shrine of Storms entrance
(@ATCP+9, 1, @ATID+9, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 4, 5, 8, 4, 5, 8, 0, 0, '', 0), -- Shrine of Storms exit
(@ATCP+10, 1, @ATID+10, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 4, 6, 10, 4, 6, 10, 0, 0, '', 0), -- Motherlode (A) entrance
(@ATCP+11, 1, @ATID+11, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 4, 8, 10, 4, 8, 10, 0, 0, '', 0), -- Motherlode (A) exit
(@ATCP+12, 1, @ATID+12, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 3, 6, 15, 3, 6, 15, 0, 0, '', 0), -- Atal Dazar entrance
(@ATCP+13, 1, @ATID+13, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 3, 6, 15, 3, 6, 15, 0, 0, '', 0), -- Atal Dazar exit
(@ATCP+14, 1, @ATID+14, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 5, 16, 20, 5, 16, 20, 0, 0, '', 0), -- KingsRest entrance
(@ATCP+15, 1, @ATID+15, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 5, 16, 15, 5, 16, 15, 0, 0, '', 0), -- KingsRest exit
(@ATCP+16, 1, @ATID+16, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 4, 18, 20, 4, 18, 20, 0, 0, '', 0), -- Underrot entrance
(@ATCP+17, 1, @ATID+17, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 4, 18, 20, 4, 18, 20, 0, 0, '', 0), -- Underrot exit
(@ATCP+18, 1, @ATID+18, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 4, 8, 20, 4, 8, 20, 0, 0, '', 0), -- Temple of Sethraliss entrance
(@ATCP+19, 1, @ATID+19, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 4, 8, 20, 4, 8, 20, 0, 0, '', 0), -- Temple of Sethraliss exit
(@ATCP+20, 1, @ATID+20, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 3, 6, 20, 3, 6, 20, 0, 0, '', 0), -- Motherlode (H) entrance
(@ATCP+21, 1, @ATID+21, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 4, 10, 10, 4, 10, 10, 0, 0, '', 0), -- Motherlode (H) exit
(@ATCP+22, 1, @ATID+22, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 2, 4, 15, 2, 4, 15, 0, 0, '', 0), -- Siege of Boralus (H) entrance
(@ATCP+23, 1, @ATID+23, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 3, 8, 10, 3, 8, 10, 0, 0, '', 0); -- Siege of Boralus (H) exit
DELETE FROM `areatrigger` WHERE `SpawnId` BETWEEN @ATIDSPAWN+0 AND @ATIDSPAWN+23;
INSERT INTO `areatrigger` (`SpawnId`, `AreaTriggerCreatePropertiesId`, `IsCustom`, `MapId`, `SpawnDifficulties`, `PosX`, `PosY`, `PosZ`, `Orientation`, `PhaseUseFlags`, `PhaseId`, `PhaseGroup`, `ScriptName`, `Comment`, `VerifiedBuild`) VALUES
(@ATIDSPAWN+0, @ATCP+0, 1, 1643, '0', 1149.427, -554.867, 1.699, 1.375182, 0, 0, 0, '', '8.x Dungeon - Siege of Boralus - Entrance', 0),
(@ATIDSPAWN+1, @ATCP+1, 1, 1822, '23,8,2', 1068.079, -626.600, 17.993, 3.164860, 0, 0, 0, '', '8.x Dungeon - Siege of Boralus - Exit', 0),
(@ATIDSPAWN+2, @ATCP+2, 1, 1643, '0', -1587.766, -1274.649, 36.3525, 5.097314, 0, 0, 0, '', '8.x Dungeon - Freehold - Entrance', 0),
(@ATIDSPAWN+3, @ATCP+3, 1, 1754, '1,2,23,8', -1562.680, -1019.890, 73.518, 5.533423, 0, 0, 0, '', '8.x Dungeon - Freehold - Exit', 0),
(@ATIDSPAWN+4, @ATCP+4, 1, 1643, '0', 33.886, -2658.966, 26.349, 5.665448, 0, 0, 0, '', '8.x Dungeon - Tol Dagor - Entrance', 0),
(@ATIDSPAWN+5, @ATCP+5, 1, 1771, '1,2,23,8', 79.330, -2942.568, 0.385, 4.662903, 0, 0, 0, '', '8.x Dungeon - Tol Dagor - Exit', 0),
(@ATIDSPAWN+6, @ATCP+6, 1, 1643, '0', 794.152, 3371.817, 234.490, 6.174334, 0, 0, 0, '', '8.x Dungeon - Waycrest Manor - Entrance', 0),
(@ATIDSPAWN+7, @ATCP+7, 1, 1862, '1,2,23,8', -634.967, -259.9255, 236.156, 3.127803, 0, 0, 0, '', '8.x Dungeon - Waycrest Manor - Exit', 0),
(@ATIDSPAWN+8, @ATCP+8, 1, 1643, '0', 4161.641, -1142.632, 164.774, 4.822304, 0, 0, 0, '', '8.x Dungeon - Shrine of Storms - Entrance', 0),
(@ATIDSPAWN+9, @ATCP+9, 1, 1864, '1,2,23,8', 4167.192, -1220.847, 187.712, 1.577227, 0, 0, 0, '', '8.x Dungeon - Shrine of Storms - Exit', 0),
(@ATIDSPAWN+10, @ATCP+10, 1, 1642, '0', -2646.077, 2389.278, 8.7910, 0.205582, 0, 0, 0, '', '8.x Dungeon - Motherlode (Alliance) - Entrance', 0),
(@ATIDSPAWN+11, @ATCP+11, 1, 1594, '1,2,23,8', 626.649, -3619.271, -0.8169, 2.221698, 0, 0, 0, '', '8.x Dungeon - Motherlode (Alliance) - Exit', 0),
(@ATIDSPAWN+12, @ATCP+12, 1, 1642, '0', -848.366, 2044.2585, 726.1221, 1.564042, 0, 0, 0, '', '8.x Dungeon - Atal Dazar - Entrance', 0),
(@ATIDSPAWN+13, @ATCP+13, 1, 1763, '1,2,23,8', -848.193, 2043.196, 726.1222, 4.705334, 0, 0, 0, '', '8.x Dungeon - Atal Dazar - Exit', 0),
(@ATIDSPAWN+14, @ATCP+14, 1, 1642, '0', -848.042, 2542.115, 732.573, 1.573840, 0, 0, 0, '', '8.x Dungeon - KingsRest - Entrance', 0),
(@ATIDSPAWN+15, @ATCP+15, 1, 1762, '23,8,2', -945.247, 2521.6589, 833.5416, 4.739499, 0, 0, 0, '', '8.x Dungeon - KingsRest - Exit', 0),
(@ATIDSPAWN+16, @ATCP+16, 1, 1642, '0', 1258.614, 748.319, -273.2040, 0.756919, 0, 0, 0, '', '8.x Dungeon - Underrot - Entrance', 0),
(@ATIDSPAWN+17, @ATCP+17, 1, 1841, '1,2,23,8', 615.851, 1256.516, 100.362, 2.7162, 0, 0, 0, '', '8.x Dungeon - Underrot - Exit', 0),
(@ATIDSPAWN+18, @ATCP+18, 1, 1642, '0', 3208.812, 3151.754, 121.34663, 0.010269, 0, 0, 0, '', '8.x Dungeon - Temple of Sethraliss - Entrance', 0),
(@ATIDSPAWN+19, @ATCP+19, 1, 1877, '1,2,23,8', 3169.462, 3150.905, 121.6228, 3.082911, 0, 0, 0, '', '8.x Dungeon - Temple of Sethraliss - Exit', 0),
(@ATIDSPAWN+20, @ATCP+20, 1, 1642, '0', -2001.899, 967.272, 6.2339, 1.542327, 0, 0, 0, '', '8.x Dungeon - Motherlode (Horde) - Entrance', 0),
(@ATIDSPAWN+21, @ATCP+21, 1, 1594, '1,2,23,8', 614.331, -3637.275, 4.1750, 2.9619, 0, 0, 0, '', '8.x Dungeon - Motherlode (Horde) - Exit', 0),
(@ATIDSPAWN+22, @ATCP+22, 1, 1643, '0', -211.818, -1562.208, 2.8376, 3.846468, 0, 0, 0, '', '8.x Dungeon - Siege of Boralus (Horde) - Entrance', 0),
(@ATIDSPAWN+23, @ATCP+23, 1, 1822, '23,8,2', 1074.387, -588.369, 1.0748, 1.602863, 0, 0, 0, '', '8.x Dungeon - Siege of Boralus (Horde) - Exit', 0);
DELETE FROM `world_safe_locs` WHERE `ID` BETWEEN @WORLDSAFELOCID+0 AND @WORLDSAFELOCID+23;
INSERT INTO `world_safe_locs` (`ID`, `MapID`, `LocX`, `LocY`, `LocZ`, `Facing`, `COMMENT`) VALUES
(@WORLDSAFELOCID+0, 1822, 1084.48, -617.952, 17.5513, 0.42834568, '8.x Dungeon - Siege of Boralus - Entrance'),
(@WORLDSAFELOCID+1, 1643, 1138.77, -575.858, 1.1963, 4.4846063, '8.x Dungeon - Siege of Boralus - Exit'),
(@WORLDSAFELOCID+2, 1754, -1586.72, -1002.61, 73.4672, 2.866721, '8.x Dungeon - Freehold - Entrance'),
(@WORLDSAFELOCID+3, 1643, -1580.16, -1293.06, 34.3126, 5.385859, '8.x Dungeon - Freehold - Exit'),
(@WORLDSAFELOCID+4, 1771, 85.2528, -2933.52, 1.37269, 1.3391021, '8.x Dungeon - Tol Dagor - Entrance'),
(@WORLDSAFELOCID+5, 1643, 26.1921, -2650.23, 23.5238, 2.5878694, '8.x Dungeon - Tol Dagor - Exit'),
(@WORLDSAFELOCID+6, 1862, -626.408, -260.15103, 236.03317, 0.072306424, '8.x Dungeon - Waycrest Manor - Entrance'),
(@WORLDSAFELOCID+7, 1643, 789.7552, 3372.0774, 232.72673, 3.067398, '8.x Dungeon - Waycrest Manor - Exit'),
(@WORLDSAFELOCID+8, 1864, 4167.202, -1238.5278, 186.89357, 4.73095, '8.x Dungeon - Shrine of Storms - Entrance'),
(@WORLDSAFELOCID+9, 1643, 4151.3, -1097, 158.385, 1.7824349, '8.x Dungeon - Shrine of Storms - Exit'),
(@WORLDSAFELOCID+10, 1594, 630.774, -3640.81, 1.74989, 6.0063233, '8.x Dungeon - Motherlode (Alliance) - Entrance'),
(@WORLDSAFELOCID+11, 1642, -2653.96, 2387.93, 5.05817, 3.607927, '8.x Dungeon - Motherlode (Alliance) - Exit'),
(@WORLDSAFELOCID+12, 1763, -848.363, 2082.47, 725.146, 1.5707964, '8.x Dungeon - Atal Dazar - Entrance'),
(@WORLDSAFELOCID+13, 1642, -848.42, 2028.05, 726.19, 4.7006083, '8.x Dungeon - Atal Dazar - Exit'),
(@WORLDSAFELOCID+14, 1762, -945.114, 2544.25, 833.052, 1.578214, '8.x Dungeon - KingsRest - Entrance'),
(@WORLDSAFELOCID+15, 1642, -848.205, 2515.88, 730.225, 4.752863, '8.x Dungeon - KingsRest - Exit'),
(@WORLDSAFELOCID+16, 1841, 636.715, 1253.03, 98.588, 6.232135, '8.x Dungeon - Underrot - Entrance'),
(@WORLDSAFELOCID+17, 1642, 1242.41, 736.916, -271.521, 3.843372, '8.x Dungeon - Underrot - Exit'),
(@WORLDSAFELOCID+18, 1877, 3199.21, 3151.17, 121.316, 6.275331, '8.x Dungeon - Temple of Sethraliss - Entrance'),
(@WORLDSAFELOCID+19, 1642, 3196.15, 3151.61, 121.654, 3.1415577, '8.x Dungeon - Temple of Sethraliss - Exit'),
(@WORLDSAFELOCID+20, 1594, 630.774, -3640.81, 1.74989, 6.0063233, '8.x Dungeon - Motherlode (H) - Entrance'),
(@WORLDSAFELOCID+21, 1642, -2002.65, 959.031, 5.93225, 4.740838, '8.x Dungeon - Motherlode (H) - Exit'),
(@WORLDSAFELOCID+22, 1822, 1080.03, -604.543, 0.985657, 4.8422937, '8.x Dungeon - Siege of Boralus (H) - Entrance'),
(@WORLDSAFELOCID+23, 1643, -204.47, -1550.87, 2.95007, 0.7578639, '8.x Dungeon - Siege of Boralus (H) - Exit');
-- Spawngroups
DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+3;
INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES
(@SPAWNGROUP+0, 'Siege of Boralus - Alliance spawns', 32),
(@SPAWNGROUP+1, 'Siege of Boralus - Horde spawns', 32),
(@SPAWNGROUP+2, 'Motherlode - Alliance spawns', 32),
(@SPAWNGROUP+3, 'Motherlode - Horde spawns', 32);
DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+3 AND `spawnType`= 1;
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES
(@SPAWNGROUP+0, 1, @OGUID+18),
(@SPAWNGROUP+1, 1, @OGUID+17),
(@SPAWNGROUP+2, 1, @OGUID+8),
(@SPAWNGROUP+3, 1, @OGUID+15);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=33 AND `SourceGroup` = 0 AND `SourceEntry` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+3;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(33, 0, @SPAWNGROUP+0, 0, 0, 11, 0, 4485, 1, 0, '', 0, 0, 0, '', 'Siege of Boralus - Spawn Alliance NPCs if you are Alliance Player'),
(33, 0, @SPAWNGROUP+1, 0, 0, 11, 0, 4486, 1, 0, '', 0, 0, 0, '', 'Siege of Boralus - Spawn Horde NPCs if you are Horde Player'),
(33, 0, @SPAWNGROUP+2, 0, 0, 11, 0, 4485, 1, 0, '', 0, 0, 0, '', 'Motherlode - Spawn Alliance NPCs if you are Alliance Player'),
(33, 0, @SPAWNGROUP+3, 0, 0, 11, 0, 4486, 1, 0, '', 0, 0, 0, '', 'Motherlode - Spawn Horde NPCs if you are Horde Player');
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 28 AND `SourceGroup` IN (@ATID+1, @ATID+23, @ATID+11, @ATID+21) AND `SourceEntry` = 1;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(28, @ATID+1, 1, 0, 0, 6, 0, 469, 0, 0, '', 0, 0, 0, '', 'Only trigger areatrigger when player is Alliance'),
(28, @ATID+23, 1, 0, 0, 6, 0, 67, 0, 0, '', 0, 0, 0, '', 'Only trigger areatrigger when player is Horde'),
(28, @ATID+11, 1, 0, 0, 6, 0, 469, 0, 0, '', 0, 0, 0, '', 'Only trigger areatrigger when player is Alliance'),
(28, @ATID+21, 1, 0, 0, 6, 0, 67, 0, 0, '', 0, 0, 0, '', 'Only trigger areatrigger when player is Horde');
File diff suppressed because it is too large Load Diff
@@ -1,26 +0,0 @@
-- Template
UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_kings_rest_animated_guardian' WHERE `entry` = 133935;
-- Template Addon
UPDATE `creature_template_addon` SET `auras` = '276032' where `entry` = 133943;
-- Creature Text
DELETE FROM `creature_text` WHERE `CreatureID` = 133935;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(133935, 0, 0, 'THE IMPURE MAY NOT PASS INTO THE HALLS OF THE DEAD.', 12, 0, 100, 0, 0, 0, 153130, 0, 'Animated Guardian to Player'),
(133935, 0, 1, 'NONE SHALL ENTER.', 12, 0, 100, 0, 0, 0, 153128, 0, 'Animated Guardian to Player');
-- SpellScripts
DELETE FROM `spell_script_names` WHERE `spell_id` IN (270002, 269935, 276031);
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(270002, 'spell_kings_rest_suppression_slam'),
(269935, 'spell_kings_rest_bound_by_shadow'),
(276031, 'spell_kings_rest_pit_of_despair');
-- Minion of Zul smart ai
SET @ENTRY := 133943;
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`, `Difficulties`, `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, '', 63, 0, 100, 0, 0, 0, 0, 0, 85, 269935, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On just created - Self: Cast spell 269935 on self'),
(@ENTRY, 0, 1, 0, '', 4, 0, 100, 0, 0, 0, 0, 0, 85, 269936, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On aggro - Self: Cast spell 269936 on self');
@@ -1,231 +0,0 @@
-- Creature templates
UPDATE `creature_template` SET `faction`=1801, `npcflag`=1, `speed_run`=1.714285731315612792, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=221105; -- Huojin Sentry
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048, `unit_flags3`=16777216 WHERE `entry`=220526; -- Displaced Anomaly
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=220525; -- Young Albatross
UPDATE `creature_template` SET `faction`=2136, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=220524; -- Great Turtle Hatchling
UPDATE `creature_template` SET `faction`=16, `BaseAttackTime`=2000, `unit_flags`=33554432, `unit_flags2`=2048, `unit_flags3`=524289 WHERE `entry`=218391; -- Displaced Moment
UPDATE `creature_template` SET `faction`=1711, `speed_walk`=1, `speed_run`=1.142857193946838378, `BaseAttackTime`=2000, `unit_flags`=33554432, `unit_flags2`=2048 WHERE `entry`=218346; -- Infinite Ravager
UPDATE `creature_template` SET `faction`=1812, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry` IN (218148, 217058); -- Infinite Watcher
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=218117; -- Infinite Riftmender
UPDATE `creature_template` SET `faction`=35, `speed_run`=1, `BaseAttackTime`=2000, `unit_flags`=33555200, `unit_flags2`=67110912, `unit_flags3`=16777216 WHERE `entry`=218068; -- [DNT] Example Anomaly
UPDATE `creature_template` SET `faction`=31, `speed_run`=0.857142865657806396, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=218056; -- Time Flies
UPDATE `creature_template` SET `faction`=127, `speed_run`=1, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=217937; -- Infinite Proto-Drake
UPDATE `creature_template` SET `faction`=2105, `BaseAttackTime`=2000, `unit_flags`=256, `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=217936; -- Infinite Watcher
UPDATE `creature_template` SET `faction`=2104, `BaseAttackTime`=2000, `unit_flags`=256, `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=217934; -- Infinite Paradox
UPDATE `creature_template` SET `faction`=634, `BaseAttackTime`=2000, `unit_flags`=33554432, `unit_flags2`=67110912, `unit_flags3`=17301504 WHERE `entry`=217739; -- Timestorm
UPDATE `creature_template` SET `faction`=35, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=217668; -- Momentus
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=67110912, `unit_flags3`=16777216 WHERE `entry`=217666; -- Unstable Rift
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=33554432, `unit_flags2`=2048, `unit_flags3`=16777216 WHERE `entry`=217665; -- [DNT] Anvil Bunny
UPDATE `creature_template` SET `faction`=35, `npcflag`=129, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=217663; -- Erus
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=217613; -- Displaced Moment
UPDATE `creature_template` SET `faction`=16, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=217564; -- Archaios the Artificer
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=33555200, `unit_flags2`=2048, `unit_flags3`=16777216 WHERE `entry`=217560; -- [DNT] Dome Bunny
UPDATE `creature_template` SET `faction`=2576, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=217558; -- Displaced Tick
UPDATE `creature_template` SET `faction`=1711, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=217557; -- Infinite Ravager
UPDATE `creature_template` SET `faction`=16, `speed_walk`=1, `speed_run`=1.142857193946838378, `BaseAttackTime`=2000, `unit_flags`=64, `unit_flags2`=2048 WHERE `entry`=217190; -- Eratus, the Unwoven Paradox
UPDATE `creature_template` SET `faction`=1999, `BaseAttackTime`=2000, `unit_flags`=33554432, `unit_flags2`=2048 WHERE `entry`=217189; -- Displaced Moment
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=217060; -- Infinite Chronoweaver
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry` IN (217056, 217055); -- Infinite Scholar
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=217054; -- Infinite Acolyte
UPDATE `creature_template` SET `faction`=35, `npcflag`=129, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=217051; -- Horos
UPDATE `creature_template` SET `faction`=35, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216594; -- Moratari
UPDATE `creature_template` SET `faction`=35, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216591; -- Eternus
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=256, `unit_flags2`=67110912, `unit_flags3`=17334272 WHERE `entry`=213680; -- Invisible Bunny
DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (220526);
INSERT INTO `creature_template_movement` (`CreatureId`,`HoverInitiallyEnabled`,`Chase`,`Random`,`InteractionPauseTimer`) VALUES
(220526,1,0,0,NULL);
-- Equipments
DELETE FROM `creature_equip_template` WHERE (`ID`=1 AND `CreatureID` IN (221105,218346,218148,217936,217934,217668,217564,217557,217058,217051));
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(221105, 1, 88857, 0, 0, 0, 0, 0, 89875, 0, 0, 55142), -- Huojin Sentry
(218346, 1, 12993, 0, 0, 0, 0, 0, 0, 0, 0, 55142), -- Infinite Ravager
(218148, 1, 192148, 0, 0, 0, 0, 0, 0, 0, 0, 55142), -- Infinite Watcher
(217936, 1, 192148, 0, 0, 0, 0, 0, 0, 0, 0, 55142), -- Infinite Watcher
(217934, 1, 192148, 0, 0, 0, 0, 0, 0, 0, 0, 55142), -- Infinite Paradox
(217668, 1, 191228, 0, 0, 0, 0, 0, 0, 0, 0, 55142), -- Momentus
(217564, 1, 65653, 0, 0, 0, 0, 0, 0, 0, 0, 55142), -- Archaios the Artificer
(217557, 1, 12993, 0, 0, 0, 0, 0, 0, 0, 0, 55142), -- Infinite Ravager
(217058, 1, 192148, 0, 0, 0, 0, 0, 0, 0, 0, 55142), -- Infinite Watcher
(217051, 1, 78437, 0, 0, 0, 0, 0, 0, 0, 0, 55142); -- Horos
-- Difficulties
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=0 AND `Entry` IN (217564,218346,218056,218148,217663,217558,218391,217666,217934,217189,217665,217190,217051,217739,216591,217560,217056,216594,217668,220524,218068,217557,217060,221105,218117,217058,217613,217937,217936,217054,220525,220526,217055));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`, `StaticFlags1`, `StaticFlags2`) VALUES
(217564, 0, 4, 4, 1, 267057, 2147483720, 0, 0, 0), -- Archaios the Artificer
(218346, 0, 4, 2, 1, 267851, 0, 0, 0, 0), -- Infinite Ravager
(218056, 0, 9, 0.5, 1, 267551, 0, 0, 0, 0), -- Time Flies
(218148, 0, 4, 6, 1, 267643, 4096, 0, 0, 0), -- Infinite Watcher
(217663, 0, 4, 1, 1, 267156, 134217728, 16384, 0, 0), -- Erus
(217558, 0, 4, 1, 1, 267051, 0, 0, 0, 0), -- Displaced Tick
(218391, 0, 4, 0.300000011920928955, 1, 267897, 0, 0, 0, 0), -- Displaced Moment
(217666, 0, 4, 1, 1, 267159, 1610612752, 117440518, 0, 0), -- Unstable Rift
(217934, 0, 4, 6, 1, 267427, 0, 0, 0, 0), -- Infinite Paradox
(217189, 0, 4, 0.300000011920928955, 1, 266680, 0, 0, 0, 0), -- Displaced Moment
(217665, 0, 4, 1, 1, 267158, 0, 0, 0, 0), -- [DNT] Anvil Bunny
(217190, 0, 4, 8, 1, 266681, 2147483720, 0, 0, 0), -- Eratus, the Unwoven Paradox
(217051, 0, 4, 1, 1, 266541, 134217728, 16384, 0, 0), -- Horos
(217739, 0, 4, 1, 1, 267232, 1610612752, 100663302, 0, 0), -- Timestorm
(216591, 0, 4, 50, 2, 266081, 4, 32768, 0, 0), -- Eternus
(217560, 0, 4, 1, 1, 267053, 0, 0, 0, 0), -- [DNT] Dome Bunny
(217056, 0, 4, 1, 1, 266546, 0, 0, 0, 0), -- Infinite Scholar
(216594, 0, 4, 5, 2, 266084, 0, 32768, 0, 0), -- Moratari
(217668, 0, 4, 1, 1, 267161, 0, 16384, 0, 0), -- Momentus
(220524, 0, 4, 1, 1, 270133, 1, 0, 0, 0), -- Great Turtle Hatchling
(218068, 0, 4, 1, 1, 267563, 1610612752, 117440518, 0, 0), -- [DNT] Example Anomaly
(217557, 0, 4, 1, 1, 267050, 0, 0, 0, 0), -- Infinite Ravager
(217060, 0, 4, 1, 1, 266550, 0, 0, 0, 0), -- Infinite Chronoweaver
(221105, 0, 4, 20, 1, 270733, 0, 0, 0, 0), -- Huojin Sentry
(218117, 0, 4, 1, 1, 267612, 0, 0, 0, 0), -- Infinite Riftmender
(217058, 0, 4, 6, 1, 266548, 4096, 0, 0, 0), -- Infinite Watcher
(217613, 0, 4, 0.800000011920928955, 1, 267106, 0, 0, 0, 0), -- Displaced Moment
(217937, 0, 4, 10, 1, 267432, 4, 0, 0, 0), -- Infinite Proto-Drake
(217936, 0, 4, 6, 1, 267429, 0, 0, 0, 0), -- Infinite Watcher
(217054, 0, 4, 1, 1, 266544, 0, 0, 0, 0), -- Infinite Acolyte
(220525, 0, 4, 1, 1, 270134, 1, 0, 0, 0), -- Young Albatross
(220526, 0, 4, 0.800000011920928955, 1, 270135, 536870912, 67108864, 0, 0), -- Displaced Anomaly
(217055, 0, 4, 1, 1, 266545, 0, 0, 0, 0); -- Infinite Scholar
UPDATE `creature_template_difficulty` SET `ContentTuningID`=169, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=221105 AND `DifficultyID`=0); -- 221105 (Huojin Sentry) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=536871168, `VerifiedBuild`=55142 WHERE (`Entry`=220526 AND `DifficultyID`=0); -- 220526 (Displaced Anomaly) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=805306368, `VerifiedBuild`=55142 WHERE (`Entry`=220525 AND `DifficultyID`=0); -- 220525 (Young Albatross) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=220524 AND `DifficultyID`=0); -- 220524 (Great Turtle Hatchling) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=268435712, `VerifiedBuild`=55142 WHERE (`Entry`=218391 AND `DifficultyID`=0); -- 218391 (Displaced Moment) - Sessile, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `VerifiedBuild`=55142 WHERE (`Entry`=218346 AND `DifficultyID`=0); -- 218346 (Infinite Ravager) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2793, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=218148 AND `DifficultyID`=0); -- 218148 (Infinite Watcher) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2793, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=218117 AND `DifficultyID`=0); -- 218117 (Infinite Riftmender) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=536870912, `VerifiedBuild`=55142 WHERE (`Entry`=218068 AND `DifficultyID`=0); -- 218068 ([DNT] Example Anomaly) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=81, `StaticFlags1`=536870912, `VerifiedBuild`=55142 WHERE (`Entry`=218056 AND `DifficultyID`=0); -- 218056 (Time Flies) - Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2793, `StaticFlags1`=536870912, `VerifiedBuild`=55142 WHERE (`Entry`=217937 AND `DifficultyID`=0); -- 217937 (Infinite Proto-Drake) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2793, `VerifiedBuild`=55142 WHERE (`Entry`=217936 AND `DifficultyID`=0); -- 217936 (Infinite Watcher) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2793, `StaticFlags1`=536871168, `VerifiedBuild`=55142 WHERE (`Entry`=217934 AND `DifficultyID`=0); -- 217934 (Infinite Paradox) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `VerifiedBuild`=55142 WHERE (`Entry`=217739 AND `DifficultyID`=0); -- 217739 (Timestorm) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=57, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=217668 AND `DifficultyID`=0); -- 217668 (Momentus) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=536871168, `VerifiedBuild`=55142 WHERE (`Entry`=217666 AND `DifficultyID`=0); -- 217666 (Unstable Rift) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=536870912, `VerifiedBuild`=55142 WHERE (`Entry`=217665 AND `DifficultyID`=0); -- 217665 ([DNT] Anvil Bunny) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2793, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=217663 AND `DifficultyID`=0); -- 217663 (Erus) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `VerifiedBuild`=55142 WHERE (`Entry`=217613 AND `DifficultyID`=0); -- 217613 (Displaced Moment) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=217564 AND `DifficultyID`=0); -- 217564 (Archaios the Artificer) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=536871168, `VerifiedBuild`=55142 WHERE (`Entry`=217560 AND `DifficultyID`=0); -- 217560 ([DNT] Dome Bunny) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=536870912, `VerifiedBuild`=55142 WHERE (`Entry`=217558 AND `DifficultyID`=0); -- 217558 (Displaced Tick) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `VerifiedBuild`=55142 WHERE (`Entry`=217557 AND `DifficultyID`=0); -- 217557 (Infinite Ravager) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=536871168, `VerifiedBuild`=55142 WHERE (`Entry`=217190 AND `DifficultyID`=0); -- 217190 (Eratus, the Unwoven Paradox) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=217189 AND `DifficultyID`=0); -- 217189 (Displaced Moment) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=217060 AND `DifficultyID`=0); -- 217060 (Infinite Chronoweaver) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2851, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=217058 AND `DifficultyID`=0); -- 217058 (Infinite Watcher) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2793, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=217056 AND `DifficultyID`=0); -- 217056 (Infinite Scholar) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2793, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=217055 AND `DifficultyID`=0); -- 217055 (Infinite Scholar) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2793, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=217054 AND `DifficultyID`=0); -- 217054 (Infinite Acolyte) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=657, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=217051 AND `DifficultyID`=0); -- 217051 (Horos) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2793, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=216594 AND `DifficultyID`=0); -- 216594 (Moratari) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2793, `StaticFlags1`=268435456, `VerifiedBuild`=55142 WHERE (`Entry`=216591 AND `DifficultyID`=0); -- 216591 (Eternus) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2793, `StaticFlags1`=536871168, `VerifiedBuild`=55142 WHERE (`Entry`=213680 AND `DifficultyID`=0); -- 213680 (Invisible Bunny) - Sessile, Floating
UPDATE `creature_questitem` SET `VerifiedBuild`=55142 WHERE (`CreatureEntry`=72767 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=72766 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=217557 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=72764 AND `DifficultyID`=0 AND `Idx`=1) OR (`CreatureEntry`=72764 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=73166 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=217564 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=72765 AND `DifficultyID`=0 AND `Idx`=1) OR (`CreatureEntry`=72765 AND `DifficultyID`=0 AND `Idx`=0) OR (`CreatureEntry`=72841 AND `DifficultyID`=0 AND `Idx`=0);
UPDATE `creature_quest_currency` SET `VerifiedBuild`=55142 WHERE (`CurrencyId`=738 AND `CreatureId` IN (72767,71986,71987,73279,72766,217557,218391,72764,73166,72765,220524,72841,217189,217558)) OR (`CurrencyId`=777 AND `CreatureId` IN (72767,71986,71987,73279,72766,72764,73166,72765,72841)) OR (`CurrencyId`=2778 AND `CreatureId` IN (72767,71986,71987,73279,72766,217557,218391,72764,73166,72765,220524,72841,217189,217558));
-- Vendors
DELETE FROM `npc_vendor` WHERE (`entry`=217663 AND `item`=224081 AND `ExtendedCost`=9038 AND `type`=1) OR (`entry`=217663 AND `item`=224078 AND `ExtendedCost`=9038 AND `type`=1) OR (`entry`=217663 AND `item`=224077 AND `ExtendedCost`=9038 AND `type`=1) OR (`entry`=217663 AND `item`=224076 AND `ExtendedCost`=9038 AND `type`=1) OR (`entry`=217663 AND `item`=224075 AND `ExtendedCost`=9038 AND `type`=1) OR (`entry`=217663 AND `item`=224080 AND `ExtendedCost`=9038 AND `type`=1) OR (`entry`=217663 AND `item`=224079 AND `ExtendedCost`=9038 AND `type`=1) OR (`entry`=217051 AND `item`=213598 AND `ExtendedCost`=8860 AND `type`=1) OR (`entry`=217051 AND `item`=213621 AND `ExtendedCost`=8859 AND `type`=1) OR (`entry`=217051 AND `item`=213624 AND `ExtendedCost`=8859 AND `type`=1) OR (`entry`=217051 AND `item`=213609 AND `ExtendedCost`=8558 AND `type`=1) OR (`entry`=217051 AND `item`=213604 AND `ExtendedCost`=8558 AND `type`=1) OR (`entry`=217051 AND `item`=213584 AND `ExtendedCost`=8558 AND `type`=1) OR (`entry`=217051 AND `item`=86588 AND `ExtendedCost`=8551 AND `type`=1) OR (`entry`=217051 AND `item`=86583 AND `ExtendedCost`=8553 AND `type`=1) OR (`entry`=217051 AND `item`=86589 AND `ExtendedCost`=8553 AND `type`=1);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(217663, 7, 224081, 0, 9038, 1, 0, 0, 55142), -- Timerunner's Staff
(217663, 6, 224078, 0, 9038, 1, 0, 0, 55142), -- Timerunner's Shield
(217663, 5, 224077, 0, 9038, 1, 0, 0, 55142), -- Timerunner's Dagger
(217663, 4, 224076, 0, 9038, 1, 0, 0, 55142), -- Timerunner's Bow
(217663, 3, 224075, 0, 9038, 1, 0, 0, 55142), -- Timerunner's Greatsword
(217663, 2, 224080, 0, 9038, 1, 0, 0, 55142), -- Timerunner's Sword
(217663, 1, 224079, 0, 9038, 1, 0, 0, 55142), -- Timerunner's Mace
(217051, 10, 213598, 0, 8860, 1, 0, 0, 55142), -- Reins of the Dashing Windsteed
(217051, 9, 213621, 0, 8859, 1, 0, 0, 55142), -- Reins of the Jade Pterrordax
(217051, 8, 213624, 0, 8859, 1, 0, 0, 55142), -- Cobalt Juggernaut
(217051, 7, 213609, 0, 8558, 1, 0, 0, 55142), -- Reins of the Little Red Riding Goat
(217051, 6, 213604, 0, 8558, 1, 0, 0, 55142), -- Reins of the Tropical Riding Crane
(217051, 5, 213584, 0, 8558, 1, 0, 0, 55142), -- Mogu Hazeblazer
(217051, 4, 86588, 0, 8551, 1, 0, 0, 55142), -- Pandaren Firework Launcher
(217051, 3, 86583, 0, 8553, 1, 0, 0, 55142), -- Salyin Battle Banner
(217051, 2, 86589, 0, 8553, 1, 0, 0, 55142); -- Ai-Li's Skymirror
-- Models
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (117269, 79809, 113585, 117640, 115650, 117176, 115649, 113019, 113074, 112575, 112277, 112276, 116857, 116856, 116855, 116688, 112713);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(117269, 0.872754871845245361, 0, 0, 55142),
(79809, 1.51990509033203125, 0, 0, 55142),
(113585, 1, 6, 0, 55142),
(117640, 0.699999988079071044, 0.699999988079071044, 0, 55142),
(115650, 1.168302655220031738, 1.5, 0, 55142),
(117176, 1.402945518493652343, 1.5, 0, 55142),
(115649, 1.404254555702209472, 2.40000009536743164, 0, 55142),
(113019, 1.168302655220031738, 1.5, 0, 55142),
(113074, 5.177106857299804687, 3.5, 0, 55142),
(112575, 1.132115364074707031, 1.5, 0, 55142),
(112277, 1.755318164825439453, 3, 0, 55142),
(112276, 1.755318164825439453, 3, 0, 55142),
(116857, 0.382999986410140991, 1.5, 0, 55142),
(116856, 0.305999994277954101, 1.5, 0, 55142),
(116855, 1.755318164825439453, 3, 0, 55142),
(116688, 0.382999986410140991, 1.5, 0, 55142),
(112713, 0.305999994277954101, 1.5, 0, 55142);
UPDATE `creature_model_info` SET `VerifiedBuild`=55142 WHERE `DisplayID` IN (51409, 44778, 56187, 20515, 51412, 11686, 51320, 51317, 51289, 51276, 51273, 42317, 37338, 50898, 50772, 50962, 51125, 51128, 49246, 25074, 25073, 25076, 25075, 12196, 12195, 49234, 49235, 49236, 49237, 51314);
UPDATE `creature_model_info` SET `BoundingRadius`=4.553055763244628906, `CombatReach`=4.375, `VerifiedBuild`=55142 WHERE `DisplayID`=19326;
UPDATE `creature_model_info` SET `BoundingRadius`=0.225000008940696716, `CombatReach`=0.75, `VerifiedBuild`=55142 WHERE `DisplayID`=74071;
UPDATE `creature_model_info` SET `BoundingRadius`=1, `VerifiedBuild`=55142 WHERE `DisplayID`=47677;
UPDATE `creature_model_info` SET `BoundingRadius`=5, `CombatReach`=6.25, `VerifiedBuild`=55142 WHERE `DisplayID`=51146;
UPDATE `creature_model_info` SET `BoundingRadius`=1.311424016952514648, `CombatReach`=1.5, `VerifiedBuild`=55142 WHERE `DisplayID`=51381;
UPDATE `creature_model_info` SET `BoundingRadius`=0.520871341228485107, `CombatReach`=0.375, `VerifiedBuild`=55142 WHERE `DisplayID`=61127;
UPDATE `creature_model_info` SET `BoundingRadius`=0.090000003576278686, `CombatReach`=0.300000011920928955, `VerifiedBuild`=55142 WHERE `DisplayID`=30402;
UPDATE `creature_template_model` SET `VerifiedBuild`=55142 WHERE (`Idx`=0 AND `CreatureID` IN (73166,217564,72841,165189,218346,71954,218056,60941,218148,69066,73385,217663,71955,64993,71939,73512,217558,71486,217666,72764,70356,218391,68288,73487,217934,217189,304,73531,217739,216591,305,217190,72765,40725,73403,221105,71952,218117,217058,25064,73398,73279,71988,220526,73303,32158,54879,217051,56921,73514,35362,59072,356,217665,54423,72780,71953,31698,18379,73362,217055,65011,40625,72767,71987,217937,217936,217054,220525,28363,217557,217060,28302,73353,217560,217056,14505,72766,217613,40165,71986,216594,217668,220524,218068,54741,47654)) OR (`Idx`=1 AND `CreatureID` IN (73512,73487,40725,217058,73514,71987,40165,71986)) OR (`Idx`=3 AND `CreatureID` IN (71987,71986)) OR (`Idx`=2 AND `CreatureID` IN (71987,71986));
-- Gameobject templates
DELETE FROM `gameobject_template` WHERE `entry` IN (423410 /*Anvil of Ephemeralities*/, 423343 /*Unstable Rift*/, 423103 /*Time Rift*/, 451226 /*Unraveling Sands*/, 424197 /*Bronze Barrier*/);
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
(423410, 8, 87800, 'Anvil of Ephemeralities', '', '', '', 3, 1, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2851, 55142), -- Anvil of Ephemeralities
(423343, 10, 76234, 'Unstable Rift', 'inspect', 'Investigating', '', 3, 3492, 0, 0, 3000, 0, 0, 0, 0, 0, 0, 439809, 0, 0, 1, 193761, 0, 0, 0, 0, 0, 0, 0, 119615, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 55142), -- Unstable Rift
(423103, 5, 83572, 'Time Rift', '', '', '', 1, 0, 1, 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, 2851, 55142), -- Time Rift
(451226, 48, 12628, 'Unraveling Sands', '', '', '', 0.349999994039535522, 2, 1, 0, 2055, 7, 500, 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, 2793, 55142), -- Unraveling Sands
(424197, 0, 6391, 'Bronze Barrier', '', '', '', 3, 0, 0, 1, 0, 0, 0, 0, 21439, 1, 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, 55142); -- Bronze Barrier
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (423343 /*Unstable Rift*/, 423103 /*Time Rift*/, 451226 /*Unraveling Sands*/, 424197 /*Bronze Barrier*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(423343, 0, 32, 0, 5605), -- Unstable Rift
(423103, 0, 612368416, 0, 0), -- Time Rift
(451226, 0, 545259520, 11127, 6714), -- Unraveling Sands
(424197, 0, 32, 0, 0); -- Bronze Barrier
-- Quests
DELETE FROM `quest_template` WHERE `ID`=79432;
INSERT INTO `quest_template` (`ID`, `QuestType`, `QuestPackageID`, `ContentTuningID`, `QuestSortID`, `QuestInfoID`, `SuggestedGroupNum`, `RewardNextQuest`, `RewardXPDifficulty`, `RewardXPMultiplier`, `RewardMoneyDifficulty`, `RewardMoneyMultiplier`, `RewardSpell`, `RewardHonor`, `RewardKillHonor`, `StartItem`, `RewardArtifactXPDifficulty`, `RewardArtifactXPMultiplier`, `RewardArtifactCategoryID`, `Flags`, `FlagsEx`, `FlagsEx2`, `RewardSkillLineID`, `RewardNumSkillUps`, `PortraitGiver`, `PortraitGiverMount`, `PortraitGiverModelSceneID`, `PortraitTurnIn`, `RewardItem1`, `RewardItem2`, `RewardItem3`, `RewardItem4`, `RewardAmount1`, `RewardAmount2`, `RewardAmount3`, `RewardAmount4`, `ItemDrop1`, `ItemDrop2`, `ItemDrop3`, `ItemDrop4`, `ItemDropQuantity1`, `ItemDropQuantity2`, `ItemDropQuantity3`, `ItemDropQuantity4`, `RewardChoiceItemID1`, `RewardChoiceItemID2`, `RewardChoiceItemID3`, `RewardChoiceItemID4`, `RewardChoiceItemID5`, `RewardChoiceItemID6`, `RewardChoiceItemQuantity1`, `RewardChoiceItemQuantity2`, `RewardChoiceItemQuantity3`, `RewardChoiceItemQuantity4`, `RewardChoiceItemQuantity5`, `RewardChoiceItemQuantity6`, `RewardChoiceItemDisplayID1`, `RewardChoiceItemDisplayID2`, `RewardChoiceItemDisplayID3`, `RewardChoiceItemDisplayID4`, `RewardChoiceItemDisplayID5`, `RewardChoiceItemDisplayID6`, `POIContinent`, `POIx`, `POIy`, `POIPriority`, `RewardTitle`, `RewardArenaPoints`, `RewardFactionID1`, `RewardFactionID2`, `RewardFactionID3`, `RewardFactionID4`, `RewardFactionID5`, `RewardFactionValue1`, `RewardFactionValue2`, `RewardFactionValue3`, `RewardFactionValue4`, `RewardFactionValue5`, `RewardFactionCapIn1`, `RewardFactionCapIn2`, `RewardFactionCapIn3`, `RewardFactionCapIn4`, `RewardFactionCapIn5`, `RewardFactionOverride1`, `RewardFactionOverride2`, `RewardFactionOverride3`, `RewardFactionOverride4`, `RewardFactionOverride5`, `RewardFactionFlags`, `AreaGroupID`, `TimeAllowed`, `AllowableRaces`, `TreasurePickerID`, `Expansion`, `ManagedWorldStateID`, `QuestSessionBonus`, `LogTitle`, `LogDescription`, `QuestDescription`, `AreaDescription`, `QuestCompletionLog`, `RewardCurrencyID1`, `RewardCurrencyID2`, `RewardCurrencyID3`, `RewardCurrencyID4`, `RewardCurrencyQty1`, `RewardCurrencyQty2`, `RewardCurrencyQty3`, `RewardCurrencyQty4`, `PortraitGiverText`, `PortraitGiverName`, `PortraitTurnInText`, `PortraitTurnInName`, `AcceptedSoundKitID`, `CompleteSoundKitID`, `VerifiedBuild`) VALUES
(79432, 2, 0, 2793, -639, 282, 0, 79433, 5, 1, 5, 1, 0, 0, 0, 0, 0, 1, 0, 36700160, 0, 0, 0, 0, 19326, 0, 834, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 7, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 18446744073709551615, 0, 4, 0, 0, 'It\'s About Time', 'Slay Archaios the Artificer.', 'Your timing is serendipitous. I require your assistance.\n\nNot all infinites have seen what Nozdormu has shown me. Not all would agree even if they had. Archaios is one such detractor. He must be eliminated.', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 'This lieutenant has been causing collateral damage to the timeline in his hunger for temporal artifacts.', 'Archaios the Artificer', '', '', 890, 878, 55142); -- It's About Time
UPDATE `quest_poi` SET `VerifiedBuild`=55142 WHERE (`QuestID`=79432 AND `BlobIndex`=0 AND `Idx1`=3) OR (`QuestID`=79432 AND `BlobIndex`=0 AND `Idx1`=2) OR (`QuestID`=79432 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=79432 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=53435 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=53435 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=32009 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=32009 AND `BlobIndex`=0 AND `Idx1`=0) OR (`QuestID`=32008 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=32008 AND `BlobIndex`=0 AND `Idx1`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=55142 WHERE (`QuestID`=79432 AND `Idx1`=3 AND `Idx2`=0) OR (`QuestID`=79432 AND `Idx1`=2 AND `Idx2`=0) OR (`QuestID`=79432 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=79432 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=53435 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=53435 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=32009 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=32009 AND `Idx1`=0 AND `Idx2`=0) OR (`QuestID`=32008 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=32008 AND `Idx1`=0 AND `Idx2`=0);
DELETE FROM `quest_details` WHERE `ID`=79432;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(79432, 0, 0, 0, 0, 0, 0, 0, 0, 55142); -- It's About Time
DELETE FROM `quest_request_items` WHERE `ID`=79432;
INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `EmoteOnCompleteDelay`, `EmoteOnIncompleteDelay`, `CompletionText`, `VerifiedBuild`) VALUES
(79432, 396, 396, 0, 0, 'The other infinites jeopardize our mission. We cannot let them wreak havoc on the timeways.', 0); -- It's About Time
DELETE FROM `quest_objectives` WHERE `ID` IN (446716 /*446716*/, 446695 /*446695*/, 447709 /*447709*/);
INSERT INTO `quest_objectives` (`ID`, `QuestID`, `Type`, `Order`, `StorageIndex`, `ObjectID`, `Amount`, `Flags`, `Flags2`, `ProgressBarWeight`, `Description`, `VerifiedBuild`) VALUES
(446716, 79432, 1, 2, 1, 213631, 1, 2, 1, 0, 'Archaios\'s artifact taken', 55142), -- 446716
(446695, 79432, 0, 1, 0, 217564, 1, 1, 0, 0, '', 55142), -- 446695
(447709, 79432, 0, 0, 4, 219712, 1, 4, 0, 0, 'Investigate the Unstable Rift', 55142); -- 447709
DELETE FROM `quest_visual_effect` WHERE (`Index`=0 AND `ID` IN (446716,446695,447709));
INSERT INTO `quest_visual_effect` (`ID`, `Index`, `VisualEffect`, `VerifiedBuild`) VALUES
(446716, 0, 25088, 55142),
(446695, 0, 2101, 55142),
(447709, 0, 25456, 55142);
DELETE FROM `creature_queststarter` WHERE (`id`=216591 AND `quest`=79432);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(216591, 79432, 55142); -- It's About Time offered by Eternus
DELETE FROM `creature_questender` WHERE (`id`=216591 AND `quest`=79432);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(216591, 79432, 55142); -- It's About Time ended by Eternus
@@ -1,8 +0,0 @@
DELETE FROM `spell_proc` WHERE `SpellId` IN (77616);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(77616,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x7,0x1,0x0,0x0,0x0,0,0,0,0); -- Dark Simulacrum
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_dk_dark_simulacrum','spell_dk_dark_simulacrum_buff');
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(77606,'spell_dk_dark_simulacrum'),
(77616,'spell_dk_dark_simulacrum_buff');
@@ -1,122 +0,0 @@
SET @CGUID := 9004166;
SET @NPCTEXTID := 590114;
-- 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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 216946, 2444, 13862, 13862, '0', 23362, 0, 0, 0, 63.30729293823242187, -904.3836669921875, 836.5286865234375, 2.599628686904907226, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261); -- Chromie (Area: Valdrakken - Difficulty: 0) CreateObject1
-- Template
UPDATE `creature_template` SET `faction`=35, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=256, `unit_flags2`=2048 WHERE `entry`=216946; -- Chromie
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=216946 AND `MenuID` = 33614);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(216946, 33614, 55261); -- Chromie
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, 261092, 0, 0, 0, 0, 0, 0, 0, 55261), -- 216946 (Chromie)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 254760, 0, 0, 0, 0, 0, 0, 0, 55261); -- 216946 (Chromie)
DELETE FROM `gossip_menu` WHERE (`MenuID`=34417 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=33614 AND `TextID`=@NPCTEXTID+1);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(34417, @NPCTEXTID+0, 55261), -- 216946 (Chromie)
(33614, @NPCTEXTID+1, 55261); -- 216946 (Chromie)
DELETE FROM `gossip_menu_option` WHERE (`OptionID`=0 AND `MenuID` IN (33614,34417));
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(33614, 121716, 0, 0, 'What was your Visage Day like?', 0, 0, 0, 34417, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 55261),
(34417, 122651, 0, 0, 'I want to ask about something else.', 149761, 0, 0, 33614, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 55261);
-- Phasing
DELETE FROM `phase_name` WHERE `ID` = 23362;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(23362, 'Cosmetic - See Chromie in Valdrakken');
DELETE FROM `phase_area` WHERE (`PhaseId` = 23362 AND `AreaId` = 13862);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(13862, 23362, 'Cosmetic - See Chromie in Valdrakken');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 23362 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 23362, 0, 0, 0, 47, 0, 79511, 64, 0, 1, 'Apply Phase 23362 if Quest 79511 is not rewarded');
-- Quest
DELETE FROM `quest_offer_reward` WHERE `ID`=79511;
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
(79511, 1, 0, 0, 0, 0, 0, 0, 0, 'I take it Chromie sent you?', 55261); -- Identity Crisis
DELETE FROM `quest_details` WHERE `ID` IN (79512 /*Who Are You?*/, 79511 /*Identity Crisis*/);
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(79512, 1, 0, 0, 0, 0, 0, 0, 0, 55261), -- Who Are You?
(79511, 1, 0, 0, 0, 0, 0, 0, 0, 55261); -- Identity Crisis
DELETE FROM `creature_queststarter` WHERE (`id`=216945 AND `quest`=79512) OR (`id`=216946 AND `quest`=79511);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(216945, 79512, 55261), -- Who Are You? offered by Scalecommander Emberthal
(216946, 79511, 55261); -- Identity Crisis offered by Chromie
DELETE FROM `creature_questender` WHERE (`id`=216945 AND `quest`=79511);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(216945, 79511, 55261); -- Identity Crisis ended by Scalecommander Emberthal
-- Difficulty
DELETE FROM `creature_template_difficulty` WHERE `DifficultyID`=0 AND `Entry` = 216946;
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`) VALUES
(216946, 0, 9, 50, 1, 266436, 4, 0); -- Chromie
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2828, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216946 AND `DifficultyID`=0); -- 216946 (Chromie) - CanSwim
-- Model
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (110931, 113618, 109539, 112097, 112098, 112099, 113211, 111286, 112498, 109269, 115816, 107355, 116193, 113871, 110679, 117912, 116140, 112141);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(110931, 0.722000002861022949, 2, 0, 55261),
(113618, 0.305999994277954101, 1.5, 0, 55261),
(109539, 0.5, 1, 0, 55261),
(112097, 1.404254555702209472, 2.40000009536743164, 0, 55261),
(112098, 1.404254555702209472, 2.40000009536743164, 0, 55261),
(112099, 1.404254555702209472, 2.40000009536743164, 0, 55261),
(113211, 0.305999994277954101, 1.5, 0, 55261),
(111286, 0.382999986410140991, 1.5, 0, 55261),
(112498, 0.700812160968780517, 0.900000035762786865, 0, 55261),
(109269, 0.347000002861022949, 1.5, 0, 55261),
(115816, 0.347222000360488891, 1.5, 0, 55261),
(107355, 0.347000002861022949, 2, 0, 55261),
(116193, 0.305999994277954101, 1.5, 0, 55261),
(113871, 0.236000001430511474, 1.5, 0, 55261),
(110679, 1.930850028991699218, 3.300000190734863281, 0, 55261),
(117912, 0.372000008821487426, 1.5, 0, 55261),
(116140, 0.305999994277954101, 1.5, 0, 55261),
(112141, 0.722000002861022949, 2, 0, 55261);
UPDATE `creature_model_info` SET `CombatReach`=3.60000014305114746, `VerifiedBuild`=55261 WHERE `DisplayID` IN (104928, 104297, 104920, 104935, 104300, 104937, 106902, 104934, 106911, 103055, 104924, 104930, 106903, 104927, 104925, 104929, 104923, 104939, 104933, 106905, 104921);
UPDATE `creature_model_info` SET `VerifiedBuild`=55261 WHERE `DisplayID` IN (105893, 110847, 110484, 105526, 109518, 106214, 109519, 108179, 108178, 108919, 109251, 109522, 108384, 108622, 108466, 108506, 108482, 108498, 108524, 110511, 108583, 108002, 109302, 102031, 67362, 108157, 99952, 102033, 108402, 108464, 109253, 108992, 105828, 107950, 109005, 110241, 108283, 109383, 104555, 107270, 108995, 110350, 107065, 105394, 108164, 110647, 102647, 105851, 106110, 108377, 108267, 108074, 102140, 108135, 105529, 104178, 108158, 110240, 105530, 61527, 108249, 109602, 108657, 106705, 108656, 106707, 108988, 105806, 100847, 104451, 105104, 26375, 108418, 106449, 106946, 106416, 106945, 109473, 70287, 113531, 39211, 110344, 113479, 24746, 107069, 34533, 103825, 77405, 107700, 112292, 61892, 108433, 109669, 116648, 102365, 117262, 106489, 106487, 23439, 112587, 104171, 96559, 111423, 102777, 16412, 109442, 63703, 106310, 28282, 28111, 104323, 106253, 101210, 16431, 115766, 104949, 27823, 112578, 103479, 105218, 106426, 23767, 103828, 42722, 108832, 42720, 110930, 109849, 11686, 105601, 102137, 106367, 77687, 102202, 77406, 77690, 77407, 104308, 106494, 112165, 47166);
UPDATE `creature_model_info` SET `CombatReach`=3, `VerifiedBuild`=55261 WHERE `DisplayID` IN (110855, 108319, 108987);
UPDATE `creature_model_info` SET `CombatReach`=2.40000009536743164, `VerifiedBuild`=55261 WHERE `DisplayID` IN (107026, 106358, 108117, 107027, 107025, 107024, 107023);
UPDATE `creature_model_info` SET `BoundingRadius`=0.476598590612411499, `VerifiedBuild`=55261 WHERE `DisplayID`=107462;
UPDATE `creature_model_info` SET `BoundingRadius`=0.382999986410140991, `CombatReach`=1.5, `VerifiedBuild`=55261 WHERE `DisplayID` IN (109423, 105894);
UPDATE `creature_model_info` SET `BoundingRadius`=1.755318164825439453, `CombatReach`=3, `VerifiedBuild`=55261 WHERE `DisplayID`=108993;
UPDATE `creature_model_info` SET `BoundingRadius`=0.388999998569488525, `CombatReach`=1.5, `VerifiedBuild`=55261 WHERE `DisplayID`=106467;
UPDATE `creature_model_info` SET `BoundingRadius`=0.498713225126266479, `CombatReach`=0.5, `VerifiedBuild`=55261 WHERE `DisplayID`=102843;
UPDATE `creature_model_info` SET `BoundingRadius`=1, `CombatReach`=9, `VerifiedBuild`=55261 WHERE `DisplayID`=109286;
UPDATE `creature_model_info` SET `CombatReach`=3.300000190734863281, `VerifiedBuild`=55261 WHERE `DisplayID` IN (107394, 102218, 102181, 102746, 102940);
UPDATE `creature_model_info` SET `BoundingRadius`=1.014431953430175781, `CombatReach`=2.5, `VerifiedBuild`=55261 WHERE `DisplayID` IN (55233, 106811, 57521);
UPDATE `creature_model_info` SET `BoundingRadius`=1.014432311058044433, `CombatReach`=2.5, `VerifiedBuild`=55261 WHERE `DisplayID`=57522;
UPDATE `creature_model_info` SET `BoundingRadius`=1.755318164825439453, `CombatReach`=2.999999761581420898, `VerifiedBuild`=55261 WHERE `DisplayID` IN (107975, 106448);
UPDATE `creature_model_info` SET `BoundingRadius`=1.05910801887512207, `VerifiedBuild`=55261 WHERE `DisplayID`=100197;
UPDATE `creature_model_info` SET `BoundingRadius`=1.343548059463500976, `CombatReach`=4.024999618530273437, `VerifiedBuild`=55261 WHERE `DisplayID`=106908;
UPDATE `creature_model_info` SET `BoundingRadius`=1.141789793968200683, `VerifiedBuild`=55261 WHERE `DisplayID`=106788;
UPDATE `creature_model_info` SET `BoundingRadius`=0.819302201271057128, `CombatReach`=1, `VerifiedBuild`=55261 WHERE `DisplayID`=104133;
UPDATE `creature_model_info` SET `CombatReach`=2.699999809265136718, `VerifiedBuild`=55261 WHERE `DisplayID`=110235;
UPDATE `creature_model_info` SET `BoundingRadius`=1.755318164825439453, `CombatReach`=3.000000238418579101, `VerifiedBuild`=55261 WHERE `DisplayID` IN (106565, 106646);
UPDATE `creature_model_info` SET `BoundingRadius`=1.014432072639465332, `CombatReach`=2.5, `VerifiedBuild`=55261 WHERE `DisplayID`=55561;
UPDATE `creature_model_info` SET `BoundingRadius`=2.670000076293945312, `CombatReach`=7, `VerifiedBuild`=55261 WHERE `DisplayID`=107010;
UPDATE `creature_model_info` SET `BoundingRadius`=0.228800013661384582, `CombatReach`=1.649999976158142089, `VerifiedBuild`=55261 WHERE `DisplayID`=109761;
UPDATE `creature_model_info` SET `BoundingRadius`=0.509302020072937011, `VerifiedBuild`=55261 WHERE `DisplayID`=109141;
UPDATE `creature_model_info` SET `BoundingRadius`=0.500797629356384277, `CombatReach`=1, `VerifiedBuild`=55261 WHERE `DisplayID` IN (105600, 105602);
UPDATE `creature_model_info` SET `BoundingRadius`=25.37703704833984375, `VerifiedBuild`=55261 WHERE `DisplayID`=92146;
UPDATE `creature_model_info` SET `BoundingRadius`=0.305999994277954101, `CombatReach`=1.5, `VerifiedBuild`=55261 WHERE `DisplayID`=106481;
UPDATE `creature_model_info` SET `BoundingRadius`=22.45141220092773437, `VerifiedBuild`=55261 WHERE `DisplayID`=108926;
UPDATE `creature_model_info` SET `BoundingRadius`=1.343548059463500976, `CombatReach`=4.02500009536743164, `VerifiedBuild`=55261 WHERE `DisplayID`=106647;
UPDATE `creature_model_info` SET `BoundingRadius`=1.584961533546447753, `CombatReach`=2.10000014305114746, `VerifiedBuild`=55261 WHERE `DisplayID`=103508;
@@ -1,101 +0,0 @@
SET @CGUID := 7001350;
SET @SPAWNGROUPID := 1255;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+16;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 134157, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1084.296875, 2623.63623046875, 810.16400146484375, 5.601494789123535156, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Shadow-Borne Warrior (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: )
(@CGUID+1, 133943, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1069.2552490234375, 2659.318603515625, 811.0338134765625, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Minion of Zul (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: 269935 - Bound by Shadow)
(@CGUID+2, 134157, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1077.2100830078125, 2627.87158203125, 810.1683349609375, 5.369873523712158203, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Shadow-Borne Warrior (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: )
(@CGUID+3, 134174, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1082.3853759765625, 2656.47216796875, 810.1707763671875, 5.919741153717041015, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Shadow-Borne Witch Doctor (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: )
(@CGUID+4, 133943, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1070.8541259765625, 2661.4306640625, 810.9376220703125, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Minion of Zul (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: 269935 - Bound by Shadow)
(@CGUID+5, 133943, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1070.96533203125, 2658.845458984375, 811.05706787109375, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Minion of Zul (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: 269935 - Bound by Shadow)
(@CGUID+6, 133943, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1073.2569580078125, 2661.0244140625, 810.9376220703125, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Minion of Zul (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: 269935 - Bound by Shadow)
(@CGUID+7, 134158, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1040.140625, 2637.28564453125, 810.1707763671875, 4.446186065673828125, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Shadow-Borne Champion (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: )
(@CGUID+8, 134157, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1080.8350830078125, 2669.678955078125, 810.1707763671875, 5.609979629516601562, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Shadow-Borne Warrior (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: )
(@CGUID+9, 134174, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1055.0989990234375, 2663.8134765625, 810.1707763671875, 4.17470407485961914, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Shadow-Borne Witch Doctor (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: )
(@CGUID+10, 134157, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1060.3385009765625, 2666.329833984375, 810.1707763671875, 4.488315582275390625, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Shadow-Borne Warrior (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: )
(@CGUID+11, 133943, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1072.842041015625, 2659.14404296875, 810.9376220703125, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Minion of Zul (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: 269935 - Bound by Shadow)
(@CGUID+12, 134158, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1082.53125, 2662.041748046875, 810.1707763671875, 6.203471660614013671, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Shadow-Borne Champion (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: )
(@CGUID+13, 134157, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1086.7742919921875, 2650.109375, 810.1707763671875, 5.949019432067871093, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Shadow-Borne Warrior (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: )
(@CGUID+14, 134157, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1049.03125, 2660.283935546875, 810.1707763671875, 3.988105535507202148, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Shadow-Borne Warrior (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: )
(@CGUID+15, 133943, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1068.4930419921875, 2661.75341796875, 810.9376220703125, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988), -- Minion of Zul (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: 269935 - Bound by Shadow)
(@CGUID+16, 134174, 1762, 9526, 9526, '23,8,2', 0, 0, 0, 0, -1046.3211669921875, 2635.2509765625, 810.1707763671875, 4.599164962768554687, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54988); -- Shadow-Borne Witch Doctor (Area: Kings' Rest - Difficulty: Mythic) CreateObject2 (Auras: )
-- Update
UPDATE `gameobject_template` SET `AIName` = '', `ScriptName` = 'go_kings_rest_serpentine_seal' WHERE `entry` = 288466;
UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_kings_rest_shadow_of_zul' WHERE `entry` = 137020;
UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_kings_rest_shadow_borne_warrior' WHERE `entry` = 134157;
UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_kings_rest_shadow_borne_witch_doctor' WHERE `entry` = 134174;
UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_kings_rest_shadow_borne_champion' WHERE `entry` = 134158;
UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_kings_rest_minion_of_zul' WHERE `entry` = 133943;
UPDATE `creature` SET `StringId` = 'DontForceRespawn' WHERE `guid` IN (7000965, 7000970, 7000972, 7000976, 7000969, 7000967, 7000968, 7000981, 7000975, 7000966, 7000971, 7000982, 7000978, 7000979, 7000983, 7000973, 7000977, 7000980, 7000974, 7000993, 7001001, 7000997, 7000990, 7001002, 7000989, 7000998, 7000985);
UPDATE `creature` SET `StringId` = 'TempleEvent' WHERE `guid` IN (@CGUID+1, @CGUID+4, @CGUID+5, @CGUID+6, @CGUID+11, @CGUID+15);
-- Delete SAI Script (converted to C++)
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = 133943;
-- Creature Text
DELETE FROM `creature_text` WHERE `CreatureID` = 137020 AND `GroupID` = 0;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(137020, 0, 0, 'Dis temple is under G\'huun\'s power!', 14, 0, 100, 0, 0, 106154, 151859, 0, 'Shadow of Zul to Player');
-- AreaTrigger
DELETE FROM `areatrigger_template` WHERE (`Id`=17933 AND `IsCustom`=0);
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(17933, 0, 0, 55165);
DELETE FROM `areatrigger_create_properties` WHERE (`Id`=13339 AND `IsCustom`=0);
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `VerifiedBuild`) VALUES
(13339, 0, 17933, 0, 1040, 0, 0, 0, 0, -1, 0, 0, 6283, 30000, 4, 1.5, 1.5, 5, 5, 1, 1, 0, 0, 55165); -- Spell: 269931 (Gust Slash)
DELETE FROM `areatrigger_create_properties_orbit` WHERE (`AreaTriggerCreatePropertiesId`=13339 AND `IsCustom`=0);
INSERT INTO `areatrigger_create_properties_orbit` (`AreaTriggerCreatePropertiesId`, `IsCustom`, `StartDelay`, `CircleRadius`, `BlendFromRadius`, `InitialAngle`, `ZOffset`, `CounterClockwise`, `CanLoop`, `VerifiedBuild`) VALUES
(13339, 0, 0, 5, 0, 0, 0, 0, 1, 55165); -- Spell: 269931 (Gust Slash)
UPDATE `areatrigger_create_properties` SET `ScriptName` = 'at_kings_rest_gust_slash' WHERE (`Id`=13339 AND `IsCustom`=0);
-- Spawngroups
DELETE FROM `spawn_group_template` WHERE `groupId` = @SPAWNGROUPID;
INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES
(@SPAWNGROUPID, 'Kings Rest - Zul activates temple spawns', 0x04);
DELETE FROM `spawn_group` WHERE `groupId` = @SPAWNGROUPID AND `spawnType`= 0;
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES
(@SPAWNGROUPID, 0, @CGUID+0),
(@SPAWNGROUPID, 0, @CGUID+1),
(@SPAWNGROUPID, 0, @CGUID+2),
(@SPAWNGROUPID, 0, @CGUID+3),
(@SPAWNGROUPID, 0, @CGUID+4),
(@SPAWNGROUPID, 0, @CGUID+5),
(@SPAWNGROUPID, 0, @CGUID+6),
(@SPAWNGROUPID, 0, @CGUID+7),
(@SPAWNGROUPID, 0, @CGUID+8),
(@SPAWNGROUPID, 0, @CGUID+9),
(@SPAWNGROUPID, 0, @CGUID+10),
(@SPAWNGROUPID, 0, @CGUID+11),
(@SPAWNGROUPID, 0, @CGUID+12),
(@SPAWNGROUPID, 0, @CGUID+13),
(@SPAWNGROUPID, 0, @CGUID+14),
(@SPAWNGROUPID, 0, @CGUID+15),
(@SPAWNGROUPID, 0, @CGUID+16);
-- Condition (Targets)
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceEntry` IN (270692));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(13, 1, 270692, 0, 0, 31, 0, 3, 137652, 0, '', 0, 'Potential target of the spell is creature, entry is Untainted Guard Spirit (137652)'),
(13, 1, 270692, 0, 0, 58, 0, 0, 0, 0, 'DontForceRespawn', 1, 'Potential target of the spell is not DontForceRespawn'),
(13, 1, 270692, 0, 1, 31, 0, 3, 137650, 0, '', 0, 'Potential target of the spell is creature, entry is Untainted Spirit (137650)'),
(13, 1, 270692, 0, 1, 58, 0, 0, 0, 0, 'DontForceRespawn', 1, 'Potential target of the spell is not DontForceRespawn'),
(13, 1, 270692, 0, 2, 31, 0, 3, 137651, 0, '', 0, 'Potential target of the spell is creature, entry is Untainted Priest Spirit (137651)'),
(13, 1, 270692, 0, 2, 58, 0, 0, 0, 0, 'DontForceRespawn', 1, 'Potential target of the spell is not DontForceRespawn');
-- SAI
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` IN (137652, 137650, 137651);
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` IN (137652, 137650, 137651);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(137652, 0, 0, 0, '', 8, 0, 100, 0, 270692, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On spell 270692 hit - Self: Despawn in 3 s'),
(137650, 0, 0, 0, '', 8, 0, 100, 0, 270692, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On spell 270692 hit - Self: Despawn in 3 s'),
(137651, 0, 0, 0, '', 8, 0, 100, 0, 270692, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On spell 270692 hit - Self: Despawn in 3 s');
@@ -1,89 +0,0 @@
-- Instance
DELETE FROM `instance_template` WHERE `map`=1862;
INSERT INTO `instance_template` (`map`, `parent`, `script`) VALUES
(1862, 0, 'instance_waycrest_manor');
-- Creature
DELETE FROM `creature` WHERE `guid`=7001260;
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=500, `StaticFlags1`=805306624, `VerifiedBuild`=55165 WHERE (`Entry`=131824 AND `DifficultyID`=0); -- 131824 (Sister Solena) - Sessile, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=500, `StaticFlags1`=805306624, `VerifiedBuild`=55165 WHERE (`Entry`=131825 AND `DifficultyID`=0); -- 131825 (Sister Briar) - Sessile, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=500, `StaticFlags1`=805306624, `VerifiedBuild`=55165 WHERE (`Entry`=131823 AND `DifficultyID`=0); -- 131823 (Sister Malady) - Sessile, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=500, `VerifiedBuild`=55165 WHERE (`Entry`=132361 AND `DifficultyID`=0); -- 132361 (Focusing Iris) -
UPDATE `creature_template` SET `ScriptName` = 'boss_sister_briar' WHERE `entry` = 131825;
UPDATE `creature_template` SET `ScriptName` = 'boss_sister_malady' WHERE `entry` = 131823;
UPDATE `creature_template` SET `ScriptName` = 'boss_sister_solena' WHERE `entry` = 131824;
-- Summon Groups
DELETE FROM `creature_summon_groups` WHERE `summonerId`=131824;
INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`, `Comment`) VALUES
(131824, 0, 0, 132361, -574.691, -151.559, 235.268, 4.71697, 8, 0, 'Heartsbane Triad - Group 0 - Focusing Iris');
-- Texts
DELETE FROM `creature_text` WHERE `CreatureID` IN (131823, 131824, 131825);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
-- SAY AGGRO
(131823, 0, 0, 'I\'ll carve screams from your flesh!', 14, 0, 100, 0, 0, 97511, 144939, 0, 'Sister Malady to Player'),
(131824, 0, 0, 'You have no power here!', 14, 0, 100, 0, 0, 97519, 144931, 0, 'Sister Solena to Player'),
(131825, 0, 0, 'Such supple bones!', 14, 0, 100, 0, 0, 97503, 144951, 0, 'Sister Briar to Player'),
-- SAY_CLAIM_THE_IRIS
(131823, 1, 0, 'You\'ve had your turn!', 14, 0, 100, 0, 0, 97515, 144944, 0, 'Sister Malady'),
(131824, 1, 0, 'Give me the iris, you fool! Only I can focus its power!', 14, 0, 100, 0, 0, 97523, 144935, 0, 'Sister Solena'),
(131825, 1, 0, 'Release the iris to me, sister!', 14, 0, 100, 0, 0, 97509, 144962, 0, 'Sister Briar'),
-- SAY_SLAY
(131823, 3, 0, 'Such lovely agony!', 14, 0, 50, 0, 0, 97513, 144941, 0, 'Sister Malady'),
(131823, 3, 1, 'Your torment is far from over.', 14, 0, 50, 0, 0, 97514, 144942, 0, 'Sister Malady'),
(131824, 3, 0, 'Such a fragile soul!', 14, 0, 50, 0, 0, 97520, 144932, 0, 'Sister Solena'),
(131824, 3, 1, 'Your souls belong to me... forever.', 14, 0, 50, 0, 0, 97522, 144934, 0, 'Sister Solena'),
(131825, 3, 0, 'I love the sound of snapping limbs.', 14, 0, 50, 0, 0, 97504, 144955, 0, 'Sister Briar'),
(131825, 3, 1, 'Your skulls will make lovely ornaments.', 14, 0, 50, 0, 0, 97506, 144958, 0, 'Sister Briar'),
-- SAY_DEATH
(131823, 4, 0, 'My body cracks... but my curse... shall linger...', 14, 0, 100, 0, 0, 97512, 144940, 0, 'Sister Malady to Player'),
(131824, 4, 0, 'Death will not silence me...', 14, 0, 100, 0, 0, 97521, 144933, 0, 'Sister Solena to Player'),
(131825, 4, 0, 'My roots will sprout again...', 14, 0, 100, 0, 0, 97509, 144956, 0, 'Sister Briar to Player'),
-- SAY_DIRE_RITUAL_ALERT
(131823, 5, 0, '|TInterface\ICONS\SPELL_SHADOW_ANTISHADOW:20|t %s begins to cast |cFFFF0404|Hspell:260773|h[Dire Ritual]|h|r!', 41, 0, 100, 0, 0, 97526, 151946, 0, 'Sister Malady'),
(131824, 5, 0, '|TInterface\ICONS\SPELL_SHADOW_ANTISHADOW:20|t %s begins to cast |cFFFF0404|Hspell:260773|h[Dire Ritual]|h|r!', 41, 0, 100, 0, 0, 97526, 151946, 0, 'Sister Solena'),
(131825, 5, 0, '|TInterface\ICONS\SPELL_SHADOW_ANTISHADOW:20|t %s begins to cast |cFFFF0404|Hspell:260773|h[Dire Ritual]|h|r!', 41, 0, 100, 0, 0, 97526, 151946, 0, 'Sister Briar'),
-- SAY_DIRE_RITUAL
(131823, 6, 0, 'Rotted flesh and screams so dire, making music like a choir!', 14, 0, 100, 0, 0, 97517, 144946, 0, 'Sister Malady'),
(131824, 6, 0, 'Blackened soul, the pitch of night, lay to waste all those in sight!', 14, 0, 100, 0, 0, 97526, 144938, 0, 'Sister Solena'),
(131825, 6, 0, 'Powers high and spirits low, grant my thistles room to grow!', 14, 0, 100, 0, 0, 97515, 144944, 0, 'Sister Briar'),
-- Sister Malady
(131823, 2, 0, 'Your destruction is at hand!', 14, 0, 50, 0, 0, 97516, 144945, 0, 'Sister Malady'),
(131823, 2, 1, 'You bear the black mark!', 14, 0, 50, 0, 0, 97518, 144959, 0, 'Sister Malady'),
-- Sister Solena
(131824, 2, 0, 'Dance, puppet! Dance!', 14, 0, 50, 0, 0, 97524, 144936, 0, 'Sister Solena'),
(131824, 2, 1, 'You belong to me now!', 14, 0, 50, 0, 0, 97525, 144937, 0, 'Sister Solena'),
-- Sister Briar
(131825, 2, 0, 'My thorns will rip you to shreds!', 14, 0, 50, 0, 0, 97508, 144961, 0, 'Sister Briar to Player'),
(131825, 2, 1, 'The more you struggle, the more you\'ll bleed!', 14, 0, 50, 0, 0, 97507, 144960, 0, 'Sister Briar to Player');
-- Areatrigger
DELETE FROM `areatrigger_create_properties` WHERE (`IsCustom`=0 AND `Id` IN (13196, 13179, 13177));
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `ScriptName`, `VerifiedBuild`) VALUES
(13196, 0, 17807, 0, 4, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 200, 200, 0, 0, 0, 0, 0, 0, 'at_heartsbane_triad_aura_of_thorns', 52485), -- Spell: 268122 (Aura of Thorns)
(13179, 0, 17791, 0, 4, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 200, 200, 0, 0, 0, 0, 0, 0, 'at_heartsbane_triad_aura_of_dread', 52485), -- Spell: 268088 (Aura of Dread)
(13177, 0, 17789, 0, 4, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 200, 200, 0, 0, 0, 0, 0, 0, 'at_heartsbane_triad_aura_of_apathy', 52485); -- Spell: 268077 (Aura of Apathy)
DELETE FROM `areatrigger_template` WHERE (`IsCustom`=0 AND `Id` IN (17807, 17791, 17789));
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(17807, 0, 0, 52485),
(17791, 0, 0, 52485),
(17789, 0, 0, 52485);
-- Spells
DELETE FROM `spell_script_names` WHERE `spell_id` IN (260741, 260852, 260854, 260907, 260923, 260703, 260773, 268077, 268088, 268085, 268122);
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(260741, 'spell_heartsbane_triad_jagged_nettles'),
(260852, 'spell_heartsbane_triad_claim_the_iris'),
(260854, 'spell_heartsbane_triad_drop_the_iris'),
(260907, 'spell_heartsbane_triad_soul_manipulation_selector'),
(260923, 'spell_heartsbane_triad_soul_manipulation_periodic'),
(260703, 'spell_heartsbane_triad_unstable_runic_mark'),
(260773, 'spell_heartsbane_triad_dire_ritual'),
(268077, 'spell_heartsbane_triad_aura_of_apathy'),
(268088, 'spell_heartsbane_triad_aura_of_dread'),
(268085, 'spell_heartsbane_triad_aura_of_dread_movement_check'),
(268122, 'spell_heartsbane_triad_aura_of_thorns');
@@ -1,301 +0,0 @@
SET @CGUID := 9004167;
SET @NPCTEXTID := 590116;
SET @TRANSPORTID := 34;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+13;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 223514, 2708, 15105, 15121, '0', '0', 0, 0, 0, -47.4000396728515625, 4.740094661712646484, -2.33254122734069824, 3.179655313491821289, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Druid of the Fin (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+1, 223514, 2708, 15105, 15121, '0', '0', 0, 0, 0, -23.7593326568603515, 13.4630279541015625, -3.0103921890258789, 3.179655313491821289, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Druid of the Fin (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+2, 223500, 2708, 15105, 15121, '0', '0', 0, 0, 0, -43.48583984375, 5.54296875, 8.691546440124511718, 3.073985576629638671, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Druid of the Talon (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+3, 223514, 2708, 15105, 15121, '0', '0', 0, 0, 0, -43.7457923889160156, -7.4768686294555664, -2.91291046142578125, 3.005150079727172851, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Druid of the Fin (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+4, 223500, 2708, 15105, 15121, '0', '0', 0, 0, 0, 23.45166015625, -16.191650390625, 15.0529794692993164, 3.051739215850830078, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Druid of the Talon (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+5, 223460, 2708, 15105, 15121, '0', '0', 0, 0, 1, -26.80615234375, -0.02099609375, 6.256015777587890625, 0, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Mariner Everwatch (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+6, 223500, 2708, 15105, 15121, '0', '0', 0, 0, 0, 32.08899688720703125, 7.917928218841552734, 26.39356040954589843, 2.644264459609985351, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Druid of the Talon (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+7, 223462, 2708, 15105, 15121, '0', '0', 0, 0, 1, -11.1299562454223632, -4.64913845062255859, 5.113069534301757812, 3.118079185485839843, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Mariner Softsong (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+8, 223596, 2708, 15105, 15121, '0', '0', 0, 0, 1, 13.93906307220458984, -5.77332162857055664, 5.892809867858886718, 4.108254432678222656, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Merchant Felagunne (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+9, 223470, 2708, 15105, 15121, '0', '0', 0, 0, 1, 20.65731239318847656, 0.552238166332244873, 12.19228267669677734, 3.461781263351440429, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Mariner Moonblade (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+10, 223597, 2708, 15105, 15121, '0', '0', 0, 0, 1, 14.03762340545654296, -7.86949920654296875, 5.900602340698242187, 1.873324751853942871, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Galley Chief Alunwea (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+11, 223454, 2708, 15105, 15121, '0', '0', 0, 0, 0, 32.10377120971679687, -1.71056187152862548, 17.628265380859375, 3.329177141189575195, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Wisp (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+12, 223471, 2708, 15105, 15121, '0', '0', 0, 0, 1, 32.16616058349609375, 9.724039077758789062, 17.29249763488769531, 3.018790245056152343, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Mariner Stillwake (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
(@CGUID+13, 216722, 2708, 15105, 15121, '0', '0', 0, 0, 0, 31.81662750244140625, 1.327973008155822753, 17.62497711181640625, 3.046808958053588867, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261); -- Captain Talar Oaktalon (Area: -Unknown- - Difficulty: 0) CreateObject1 - !!! on transport - transport template not found !!!
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+13;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 0, 1, 0, 0, 27325, 0, 0, 0, ''), -- Druid of the Fin
(@CGUID+1, 0, 0, 0, 0, 0, 1, 0, 0, 27325, 0, 0, 0, ''), -- Druid of the Fin
(@CGUID+2, 0, 0, 0, 3, 0, 1, 0, 0, 28645, 0, 0, 0, ''), -- Druid of the Talon
(@CGUID+3, 0, 0, 0, 0, 0, 1, 0, 0, 27325, 0, 0, 0, ''), -- Druid of the Fin
(@CGUID+4, 0, 0, 0, 3, 0, 1, 0, 0, 28645, 0, 0, 0, ''), -- Druid of the Talon
(@CGUID+6, 0, 0, 0, 0, 0, 1, 0, 455, 0, 0, 0, 0, ''), -- Druid of the Talon
(@CGUID+8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Merchant Felagunne
(@CGUID+9, 0, 0, 0, 0, 0, 0, 0, 733, 0, 0, 0, 0, ''), -- Mariner Moonblade
(@CGUID+10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Galley Chief Alunwea
(@CGUID+11, 0, 0, 0, 3, 0, 1, 1, 0, 0, 0, 0, 0, ''); -- Wisp
-- Template
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216719; -- Mariner Farsight
UPDATE `creature_template` SET `faction`=1971, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216722; -- Captain Talar Oaktalon
UPDATE `creature_template` SET `faction`=1971, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=223471; -- Mariner Stillwake
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=512, `unit_flags2`=2048 WHERE `entry`=223454; -- Wisp
UPDATE `creature_template` SET `faction`=1733, `npcflag`=128, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=223597; -- Galley Chief Alunwea
UPDATE `creature_template` SET `faction`=1971, `npcflag`=1, `speed_run`=1.428571462631225585, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=223470; -- Mariner Moonblade
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=1500, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216540; -- Feralas Visitor
UPDATE `creature_template` SET `faction`=1733, `npcflag`=6272, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=223596; -- Merchant Felagunne
UPDATE `creature_template` SET `faction`=1971, `npcflag`=1, `speed_run`=1.428571462631225585, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=223462; -- Mariner Softsong
UPDATE `creature_template` SET `faction`=1971, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=223460; -- Mariner Everwatch
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=256, `unit_flags2`=2048 WHERE `entry`=223500; -- Druid of the Talon
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=256, `unit_flags2`=2048 WHERE `entry`=223514; -- Druid of the Fin
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216718; -- Mariner Swiftstar
UPDATE `creature_template` SET `faction`=1971, `npcflag`=1, `speed_run`=1.385714292526245117, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216803; -- Sentinel Eriadnar
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216763; -- Cerellean Whiteclaw
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216432; -- Kaldorei Angler
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=216753; -- Grimclaw
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=216710; -- Bel'ameth Watcher
DELETE FROM `gameobject_template` WHERE `entry` IN (419028 /*Boat*/, 421186 /*Kaldorei Spyglass*/, 420982 /*Portal to Feathermoon Stronghold*/);
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
(419028, 15, 72595, 'Boat', '', '', '', 1, 9543, 30, 1, 0, 0, 1, 2708, 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, 55261), -- Boat
(421186, 3, 87321, 'Kaldorei Spyglass', 'questinteract', '', '', 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6019, 121585, 0, 0, 0, 0, 2484, 55261), -- Kaldorei Spyglass
(420982, 22, 5231, 'Portal to Feathermoon Stronghold', '', '', '', 1.5, 433173, -1, 0, 1, 1, 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, 876, 55261); -- Portal to Feathermoon Stronghold
-- Transport
DELETE FROM `transports` WHERE `guid` = @TRANSPORTID;
INSERT INTO `transports` (`guid`, `entry`, `name`, `phaseUseFlags`, `phaseid`, `phasegroup`, `ScriptName`) VALUES
(@TRANSPORTID, 419028, 'Bel''Ameth and Gilneas (\"Moonlit Rose\")', 0, 0, 0, '');
DELETE FROM `gameobject_template_addon` WHERE `entry`= 419028;
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `mingold`, `maxgold`, `WorldEffectID`, `AIAnimKitID`) VALUES
(419028, 0, 0x100028, 0, 0, 0, 0);
-- Creature Equip
DELETE FROM `creature_equip_template` WHERE (`ID`=1 AND `CreatureID` IN (216719,223471,223597,223470,223596,223462,223460,216718,216763,216432));
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(216719, 1, 213012, 0, 0, 0, 0, 0, 5258, 0, 0, 55261), -- Mariner Farsight
(223471, 1, 213012, 0, 0, 0, 0, 0, 5258, 0, 0, 55261), -- Mariner Stillwake
(223597, 1, 200751, 0, 0, 0, 0, 0, 0, 0, 0, 55261), -- Galley Chief Alunwea
(223470, 1, 213012, 0, 0, 0, 0, 0, 5258, 0, 0, 55261), -- Mariner Moonblade
(223596, 1, 154988, 0, 0, 0, 0, 0, 0, 0, 0, 55261), -- Merchant Felagunne
(223462, 1, 213012, 0, 0, 0, 0, 0, 5258, 0, 0, 55261), -- Mariner Softsong
(223460, 1, 213012, 0, 0, 0, 0, 0, 5258, 0, 0, 55261), -- Mariner Everwatch
(216718, 1, 213012, 0, 0, 0, 0, 0, 5258, 0, 0, 55261), -- Mariner Swiftstar
(216763, 1, 3494, 0, 0, 0, 0, 0, 0, 0, 0, 55261), -- Cerellean Whiteclaw
(216432, 1, 116826, 0, 0, 0, 0, 0, 0, 0, 0, 55261); -- Kaldorei Angler
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`MenuID`=34913 AND `CreatureID`=216722) OR (`MenuID`=9056 AND `CreatureID`=223471) OR (`MenuID`=9054 AND `CreatureID` IN (223470,223462)) OR (`MenuID`=9057 AND `CreatureID`=223460);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(216722, 34913, 55261), -- Captain Talar Oaktalon
(223471, 9056, 55261), -- Mariner Stillwake
(223470, 9054, 55261), -- Mariner Moonblade
(223462, 9054, 55261), -- Mariner Softsong
(223460, 9057, 55261); -- Mariner Everwatch
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+0;
INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES
(@NPCTEXTID+0, 1, 0, 0, 0, 0, 0, 0, 0, 263770, 0, 0, 0, 0, 0, 0, 0, 55261); -- 216722 (Captain Talar Oaktalon)
DELETE FROM `gossip_menu` WHERE (`MenuID`=34913 AND `TextID`=@NPCTEXTID+0);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(34913, @NPCTEXTID+0, 55261); -- 216722 (Captain Talar Oaktalon)
-- Difficulty
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=0 AND `Entry` IN (223471,223454,223597,223470,223596,223462,223460,223514,223500,218647,218977,218646));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`) VALUES
(223471, 0, 9, 2, 1, 274298, 0, 0), -- Mariner Stillwake
(223454, 0, 9, 1.019999980926513671, 1, 274281, 0, 0), -- Wisp
(223597, 0, 9, 1, 1, 274456, 0, 0), -- Galley Chief Alunwea
(223470, 0, 9, 2, 1, 274297, 0, 0), -- Mariner Moonblade
(223596, 0, 9, 1, 1, 274455, 0, 0), -- Merchant Felagunne
(223462, 0, 9, 2, 1, 274289, 0, 0), -- Mariner Softsong
(223460, 0, 9, 2, 1, 274287, 0, 0), -- Mariner Everwatch
(223514, 0, 9, 1, 1, 274341, 4096, 0), -- Druid of the Fin
(223500, 0, 9, 1, 1, 274327, 4096, 0), -- Druid of the Talon
(218647, 0, 9, 1, 1, 268162, 0, 0), -- Glamrok
(218977, 0, 9, 1, 1, 268541, 0, 0), -- Happy
(218646, 0, 9, 1, 1, 268161, 0, 0); -- Bubbles
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216719 AND `DifficultyID`=0); -- 216719 (Mariner Farsight) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216722 AND `DifficultyID`=0); -- 216722 (Captain Talar Oaktalon) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=966, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=223471 AND `DifficultyID`=0); -- 223471 (Mariner Stillwake) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=536870912, `VerifiedBuild`=55261 WHERE (`Entry`=223454 AND `DifficultyID`=0); -- 223454 (Wisp) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=966, `VerifiedBuild`=55261 WHERE (`Entry`=223597 AND `DifficultyID`=0); -- 223597 (Galley Chief Alunwea) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=966, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=223470 AND `DifficultyID`=0); -- 223470 (Mariner Moonblade) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216540 AND `DifficultyID`=0); -- 216540 (Feralas Visitor) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=966, `VerifiedBuild`=55261 WHERE (`Entry`=223596 AND `DifficultyID`=0); -- 223596 (Merchant Felagunne) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=966, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=223462 AND `DifficultyID`=0); -- 223462 (Mariner Softsong) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=966, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=223460 AND `DifficultyID`=0); -- 223460 (Mariner Everwatch) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=805306368, `VerifiedBuild`=55261 WHERE (`Entry`=223500 AND `DifficultyID`=0); -- 223500 (Druid of the Talon) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=223514 AND `DifficultyID`=0); -- 223514 (Druid of the Fin) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216718 AND `DifficultyID`=0); -- 216718 (Mariner Swiftstar) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216803 AND `DifficultyID`=0); -- 216803 (Sentinel Eriadnar) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216763 AND `DifficultyID`=0); -- 216763 (Cerellean Whiteclaw) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216432 AND `DifficultyID`=0); -- 216432 (Kaldorei Angler) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216753 AND `DifficultyID`=0); -- 216753 (Grimclaw) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=805306368, `VerifiedBuild`=55261 WHERE (`Entry`=216710 AND `DifficultyID`=0); -- 216710 (Bel'ameth Watcher) - CanSwim, Floating
-- Model
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (117023, 116742, 119487, 119575, 119485, 116946, 119574, 119472, 119469, 120148, 119526, 120117, 117021, 114248, 116224, 116973, 116972);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(117023, 0.305999994277954101, 1.5, 0, 55261),
(116742, 0.466800004243850708, 1.80000007152557373, 0, 55261),
(119487, 0.305999994277954101, 1.5, 0, 55261),
(119575, 0.305999994277954101, 1.5, 0, 55261),
(119485, 0.305999994277954101, 1.5, 0, 55261),
(116946, 0.388999998569488525, 1.5, 0, 55261),
(119574, 0.388999998569488525, 1.5, 0, 55261),
(119472, 0.305999994277954101, 1.5, 0, 55261),
(119469, 0.305999994277954101, 1.5, 0, 55261),
(120148, 1, 1, 0, 55261),
(119526, 0.349999994039535522, 0.800000011920928955, 0, 55261),
(120117, 0.984943270683288574, 1.5, 0, 55261),
(117021, 0.305999994277954101, 1.5, 0, 55261),
(114248, 0.305999994277954101, 1.5, 0, 55261),
(116224, 0.388999998569488525, 1.5, 0, 55261),
(116973, 0.388999998569488525, 1.5, 0, 55261),
(116972, 0.305999994277954101, 1.5, 0, 55261);
UPDATE `creature_model_info` SET `BoundingRadius`=1.5, `CombatReach`=2.25, `VerifiedBuild`=55261 WHERE `DisplayID`=68815;
UPDATE `creature_model_info` SET `VerifiedBuild`=55261 WHERE `DisplayID` IN (37729, 2428, 913);
UPDATE `creature_model_info` SET `BoundingRadius`=2.062988519668579101, `VerifiedBuild`=55261 WHERE `DisplayID`=106536;
-- Vendor
DELETE FROM `npc_vendor` WHERE (`entry`=223597 AND `item`=2678 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=30817 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=8950 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=4601 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=4544 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=4542 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=4541 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=4540 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=8957 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=21552 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=4594 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=4593 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=4592 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=787 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=8766 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=1645 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=1708 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=1205 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=1179 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=159 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223597 AND `item`=4600 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=64670 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=39505 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=20815 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=6532 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=6530 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=4400 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=4399 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=4289 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=3371 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=4340 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=4342 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=4341 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=2325 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=2604 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=2324 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=3857 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=160298 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=3466 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=2880 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=2678 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=14341 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=8343 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=4291 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=2321 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=2320 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=6217 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=5956 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=6256 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=2901 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=85663 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=223596 AND `item`=7005 AND `ExtendedCost`=0 AND `type`=1);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(223597, 21, 2678, 0, 0, 1, 0, 0, 55261), -- Mild Spices
(223597, 20, 30817, 0, 0, 1, 0, 0, 55261), -- Simple Flour
(223597, 19, 8950, 0, 0, 1, 0, 0, 55261), -- Homemade Cherry Pie
(223597, 18, 4601, 0, 0, 1, 0, 0, 55261), -- Soft Banana Bread
(223597, 17, 4544, 0, 0, 1, 0, 0, 55261), -- Mulgore Spice Bread
(223597, 16, 4542, 0, 0, 1, 0, 0, 55261), -- Moist Cornbread
(223597, 15, 4541, 0, 0, 1, 0, 0, 55261), -- Freshly Baked Bread
(223597, 14, 4540, 0, 0, 1, 0, 0, 55261), -- Tough Hunk of Bread
(223597, 13, 8957, 0, 0, 1, 0, 0, 55261), -- Spinefin Halibut
(223597, 12, 21552, 0, 0, 1, 0, 0, 55261), -- Striped Yellowtail
(223597, 11, 4594, 0, 0, 1, 0, 0, 55261), -- Rockscale Cod
(223597, 10, 4593, 0, 0, 1, 0, 0, 55261), -- Bristle Whisker Catfish
(223597, 9, 4592, 0, 0, 1, 0, 0, 55261), -- Longjaw Mud Snapper
(223597, 8, 787, 0, 0, 1, 0, 0, 55261), -- Slitherskin Mackerel
(223597, 7, 8766, 0, 0, 1, 0, 0, 55261), -- Morning Glory Dew
(223597, 6, 1645, 0, 0, 1, 0, 0, 55261), -- Moonberry Juice
(223597, 5, 1708, 0, 0, 1, 0, 0, 55261), -- Sweet Nectar
(223597, 4, 1205, 0, 0, 1, 0, 0, 55261), -- Melon Juice
(223597, 3, 1179, 0, 0, 1, 0, 0, 55261), -- Ice Cold Milk
(223597, 2, 159, 0, 0, 1, 0, 0, 55261), -- Refreshing Spring Water
(223597, 1, 4600, 0, 0, 1, 0, 0, 55261), -- Cherry Grog
(223596, 31, 64670, 0, 0, 1, 0, 0, 55261), -- Vanishing Powder
(223596, 30, 39505, 0, 0, 1, 0, 0, 55261), -- Virtuoso Inking Set
(223596, 29, 20815, 0, 0, 1, 0, 0, 55261), -- Jeweler's Toolset
(223596, 28, 6532, 0, 0, 1, 0, 0, 55261), -- Bright Baubles
(223596, 27, 6530, 0, 0, 1, 0, 0, 55261), -- Nightcrawlers
(223596, 26, 4400, 0, 0, 1, 0, 0, 55261), -- Heavy Stock
(223596, 25, 4399, 0, 0, 1, 0, 0, 55261), -- Wooden Stock
(223596, 24, 4289, 0, 0, 1, 0, 0, 55261), -- Salt
(223596, 23, 3371, 0, 0, 1, 0, 0, 55261), -- Crystal Vial
(223596, 22, 4340, 0, 0, 1, 0, 0, 55261), -- Gray Dye
(223596, 21, 4342, 0, 0, 1, 0, 0, 55261), -- Purple Dye
(223596, 20, 4341, 0, 0, 1, 0, 0, 55261), -- Yellow Dye
(223596, 19, 2325, 0, 0, 1, 0, 0, 55261), -- Black Dye
(223596, 18, 2604, 0, 0, 1, 0, 0, 55261), -- Red Dye
(223596, 17, 2324, 0, 0, 1, 0, 0, 55261), -- Bleach
(223596, 16, 3857, 0, 0, 1, 0, 0, 55261), -- Coal
(223596, 15, 160298, 0, 0, 1, 0, 0, 55261), -- Durable Flux
(223596, 14, 3466, 0, 0, 1, 0, 0, 55261), -- Strong Flux
(223596, 13, 2880, 0, 0, 1, 0, 0, 55261), -- Weak Flux
(223596, 12, 2678, 0, 0, 1, 0, 0, 55261), -- Mild Spices
(223596, 11, 14341, 0, 0, 1, 0, 0, 55261), -- Rune Thread
(223596, 10, 8343, 0, 0, 1, 0, 0, 55261), -- Heavy Silken Thread
(223596, 9, 4291, 0, 0, 1, 0, 0, 55261), -- Silken Thread
(223596, 8, 2321, 0, 0, 1, 0, 0, 55261), -- Fine Thread
(223596, 7, 2320, 0, 0, 1, 0, 0, 55261), -- Coarse Thread
(223596, 6, 6217, 0, 0, 1, 0, 0, 55261), -- Copper Rod
(223596, 5, 5956, 0, 0, 1, 0, 0, 55261), -- Blacksmith Hammer
(223596, 4, 6256, 0, 0, 1, 0, 0, 55261), -- Fishing Pole
(223596, 3, 2901, 0, 0, 1, 0, 0, 55261), -- Mining Pick
(223596, 2, 85663, 0, 0, 1, 0, 0, 55261), -- Herbalist's Spade
(223596, 1, 7005, 0, 0, 1, 0, 0, 55261); -- Skinning Knife
-- Mariner Everwatch smart ai
SET @ENTRY := 223460;
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`, `Difficulties`, `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, 3, 0, 0, 80, 22346000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 3 - Self: Start timed action list id #Mariner Everwatch #0 (22346000) (update out of combat)');
-- Timed list 22346000 smart ai
SET @ENTRY := 22346000;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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, 9, 0, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 17, 743, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Set emote state to 743'),
(@ENTRY, 9, 1, 0, '', 0, 0, 100, 0, 13000, 13000, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 13 seconds - Self: Set emote state to 0');
-- Path for Mariner Stillwake
SET @ENTRY := 223471;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Mariner Stillwake - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 26.02051, 7.3479, 11.85602, NULL, 0),
(@PATH, 1, 24.02002, 5.13269, 11.85602, NULL, 6513),
(@PATH, 2, 24.61279, -4.212036, 11.80343, NULL, 0),
(@PATH, 3, 25.00098, -7.122681, 11.85602, NULL, 0),
(@PATH, 4, 29.37598, -9.937744, 15.04989, NULL, 0),
(@PATH, 5, 33.51416, -10.32849, 17.84612, NULL, 0),
(@PATH, 6, 38.84619, -9.051758, 17.68892, NULL, 0),
(@PATH, 7, 40.92529, -4.958862, 17.69354, NULL, 8172),
(@PATH, 8, 38.75, 7.836548, 17.77995, NULL, 0),
(@PATH, 9, 35.51514, 9.309692, 17.83146, NULL, 0),
(@PATH, 10, 29.63916, 10.03577, 15.28821, NULL, 0),
(@PATH, 11, 26.01953, 7.3479, 11.85602, NULL, 0),
(@PATH, 12, 24.01904, 5.132813, 11.85602, NULL, 6657),
(@PATH, 13, 24.61182, -4.211792, 11.80341, NULL, 0);
UPDATE `creature` SET `position_x`= 26.02051, `position_y`= 7.3479, `position_z`= 11.85602, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+12;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+12;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+12, @PATH, 0);
-- Path for Mariner Softsong
SET @ENTRY := 223462;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Mariner Softsong - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -25.33398, -2.862061, 6.067297, 0.1254, 23756),
(@PATH, 1, -9.031738, -5.387207, 4.281772, NULL, 0),
(@PATH, 2, -1.157715, -5.617554, 4.902032, NULL, 0),
(@PATH, 3, 1.369141, -4.943115, 5.275206, NULL, 8288),
(@PATH, 4, -21.3833, -4.407837, 5.856016, NULL, 0);
UPDATE `creature` SET `position_x`= -25.33398, `position_y`= -2.862061, `position_z`= 6.067297, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+7;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+7;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+7, @PATH, 0);
-- Path for Mariner Everwatch
SET @ENTRY := 223460;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Mariner Everwatch - Scripted Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -8.838379, 5.444092, 4.294831, NULL, 0),
(@PATH, 1, -5.549316, 6.186035, 4.641192, NULL, 0),
(@PATH, 2, -3.063965, 7.110962, 4.766873, NULL, 5255),
(@PATH, 3, -26.80713, -0.02148438, 6.256016, 0.1254, 14102),
(@PATH, 4, -8.839355, 5.443848, 4.294807, NULL, 0);
UPDATE `creature` SET `position_x`= -8.838379, `position_y`= 5.444092, `position_z`= 4.294831, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+5;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+5;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+5, @PATH, 0);
@@ -1,678 +0,0 @@
SET @CGUID := 9004181;
SET @OGUID := 9003904;
SET @NPCTEXTID := 590117;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+64;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 216753, 2444, 15105, 15121, '0', '0', 0, 0, 0, -266.900146484375, 7135.68896484375, 0.200000002980232238, 3.579563617706298828, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Grimclaw (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+1, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -297.164947509765625, 7086.11474609375, 7.150786399841308593, 4.880284309387207031, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433075 - -Unknown-)
(@CGUID+2, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -269.164947509765625, 7109.57275390625, 6.850209712982177734, 1.881934404373168945, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433075 - -Unknown-)
(@CGUID+3, 216763, 2444, 15105, 15121, '0', '0', 0, 0, 1, -253.08160400390625, 7115.45751953125, 6.850206851959228515, 1.917820692062377929, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Cerellean Whiteclaw (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+4, 216803, 2444, 15105, 15121, '0', '0', 0, 0, 0, -223.630203247070312, 7108.71337890625, 6.447843074798583984, 0.735533118247985839, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Sentinel Eriadnar (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+5, 223484, 2444, 15105, 15121, '0', '0', 0, 0, 0, -348.291656494140625, 7079.12255859375, 11.12598705291748046, 6.185538768768310546, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Captain Idrilae (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+6, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -350.661468505859375, 7130.546875, 7.436840534210205078, 0.203238606452941894, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433073 - -Unknown-)
(@CGUID+7, 216415, 2444, 15105, 15121, '0', '0', 0, 0, 0, -346.807281494140625, 7078.705078125, 11.12423515319824218, 2.960374116897583007, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Taldar Windsinger (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+8, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -354.10589599609375, 7144.36962890625, 6.850209712982177734, 0.234330475330352783, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433075 - -Unknown-)
(@CGUID+9, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -363.454864501953125, 7103.3056640625, 9.853794097900390625, 3.213033199310302734, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433075 - -Unknown-)
(@CGUID+10, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -344.3663330078125, 7034.7646484375, 7.354232311248779296, 3.265764951705932617, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433075 - -Unknown-)
(@CGUID+11, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -371.916656494140625, 7088.94091796875, 9.856652259826660156, 2.546609401702880859, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433073 - -Unknown-)
(@CGUID+12, 216718, 2444, 15105, 15121, '0', '0', 0, 0, 1, -419.639312744140625, 7064.31884765625, 6.385642528533935546, 0.237088143825531005, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Mariner Swiftstar (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+13, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -428.03472900390625, 7071.6025390625, 6.850209712982177734, 1.711673855781555175, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433075 - -Unknown-)
(@CGUID+14, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -442.876739501953125, 7051.0478515625, 7.141425132751464843, 4.964255809783935546, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433073 - -Unknown-)
(@CGUID+15, 216719, 2444, 15105, 15121, '0', '0', 0, 0, 1, -450.8497314453125, 7056.1572265625, 7.589092731475830078, 0.238633275032043457, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Mariner Farsight (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+16, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -500.392364501953125, 7054.8818359375, 7.086116790771484375, 1.935032606124877929, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433070 - -Unknown-)
(@CGUID+17, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -544.76739501953125, 7027.01123046875, 7.113870143890380859, 4.58954620361328125, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433070 - -Unknown-)
(@CGUID+18, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -548.81768798828125, 7043.650390625, 7.129825592041015625, 1.658250808715820312, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433073 - -Unknown-)
(@CGUID+19, 216721, 2444, 15105, 15121, '0', '0', 0, 0, 1, -587.109375, 7017.1318359375, 11.81060981750488281, 3.38821578025817871, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Belanaar Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+20, 216721, 2444, 15105, 15121, '0', '0', 0, 0, 1, -589.373291015625, 7033.2734375, 11.41394233703613281, 3.38821578025817871, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Belanaar Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+21, 216721, 2444, 15105, 15121, '0', '0', 0, 0, 1, -655.0867919921875, 7029.19091796875, 13.24126625061035156, 1.656360507011413574, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Belanaar Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+22, 216721, 2444, 15105, 15121, '0', '0', 0, 0, 1, -665.1163330078125, 7028.32373046875, 13.22318077087402343, 1.82561659812927246, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Belanaar Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+23, 216716, 2444, 15105, 15121, '0', '0', 0, 0, 1, -645.37701416015625, 7009.88330078125, 15.16833305358886718, 0.276973307132720947, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Mariner Bladewhisper (Area: -Unknown- - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+24, 210761, 2444, 15105, 15121, '0', '0', 0, 0, 0, -695.9500732421875, 7006.59423828125, 18.88764381408691406, 5.683033943176269531, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Fount Flutterer (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+25, 210761, 2444, 15105, 15121, '0', '0', 0, 0, 0, -707.50091552734375, 7041.5126953125, 26.15556907653808593, 0.960539042949676513, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Fount Flutterer (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+26, 216715, 2444, 15105, 15121, '0', '0', 0, 0, 1, -649.09552001953125, 7013.830078125, 15.04267692565917968, 4.356632709503173828, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Merchant Fallel Stargazer (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+27, 216720, 2444, 15105, 15121, '0', '0', 0, 0, 1, -671.42535400390625, 7011.43310546875, 15.04267692565917968, 6.056697368621826171, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Galley Chief Mariss (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+28, 223452, 2444, 15105, 15121, '0', '0', 0, 0, 0, -696.69268798828125, 7004.31005859375, 15.04267692565917968, 5.158831596374511718, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Ishala (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+29, 215488, 2444, 15105, 15121, '0', '0', 0, 0, 0, -697.170166015625, 7003.30126953125, 15.04267692565917968, 0.339478462934494018, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Belysra Starbreeze (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+30, 216797, 2444, 15105, 15121, '0', '0', 0, 0, 0, -673.36419677734375, 7007.40576171875, 19.10426521301269531, 3.419671058654785156, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Dendrythis (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+31, 210958, 2444, 15105, 15121, '0', '0', 0, 0, 0, -663.42706298828125, 7049.970703125, 16.63963699340820312, 3.323985099792480468, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Vassandra Stormclaw (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+32, 223451, 2444, 15105, 15121, '0', '0', 0, 0, 1, -665.328125, 7050.0087890625, 16.51070022583007812, 6.163814067840576171, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Celestine of the Harvest (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+33, 216646, 2444, 15105, 15121, '0', '0', 0, 0, 0, -671.61285400390625, 7021.10791015625, 14.5685272216796875, 1.979763627052307128, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Shen'dralar Sorcerer (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+34, 210761, 2444, 15105, 15121, '0', '0', 0, 0, 0, -591.45489501953125, 7022.3486328125, 19.62247085571289062, 4.928734779357910156, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Fount Flutterer (Area: -Unknown- - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+35, 210761, 2444, 15105, 15121, '0', '0', 0, 0, 0, -708.74908447265625, 6924.23388671875, 4.966912269592285156, 4.443448066711425781, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Fount Flutterer (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+36, 210761, 2444, 15105, 15121, '0', '0', 0, 0, 0, -734.91497802734375, 6949.80908203125, 5.613886833190917968, 1.550159573554992675, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Fount Flutterer (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+37, 214214, 2444, 15105, 15121, '0', '0', 0, 0, 0, -684.7899169921875, 7016.51904296875, 14.3928384780883789, 4.948853015899658203, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Vigilant Turtle (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 382619 - Cosmetic - Sleep Zzz (With Aggro Change) - Breath (Scale 2, Up 1))
(@CGUID+38, 215480, 2444, 15105, 15121, '0', '0', 0, 0, 0, -631.43231201171875, 6949.93994140625, 0.240694344043731689, 4.160667896270751953, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Tobias Mistmantle (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433073 - -Unknown-)
(@CGUID+39, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -662.51214599609375, 6960.95849609375, 9.387533187866210937, 4.432619571685791015, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433073 - -Unknown-)
(@CGUID+40, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -678.33160400390625, 6958.6171875, 10.43561458587646484, 4.963687896728515625, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433070 - -Unknown-)
(@CGUID+41, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -763.326416015625, 6925.12060546875, 2.462358951568603515, 6.108506202697753906, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433075 - -Unknown-)
(@CGUID+42, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -802.13543701171875, 7006.99853515625, 2.403669118881225585, 2.924001693725585937, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433075 - -Unknown-)
(@CGUID+43, 216721, 2444, 15105, 15121, '0', '0', 0, 0, 1, -758.72222900390625, 7012.83349609375, 4.313039302825927734, 4.828908443450927734, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Belanaar Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+44, 216721, 2444, 15105, 15121, '0', '0', 0, 0, 1, -827.93402099609375, 6936.91650390625, 2.480532407760620117, 3.192994356155395507, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Belanaar Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+45, 223440, 2444, 15105, 15121, '0', '0', 0, 0, 0, -841.732666015625, 6946.9833984375, 1.720060229301452636, 5.63374948501586914, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Silvia (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+46, 214214, 2444, 15105, 15131, '0', '0', 0, 0, 0, -657.70660400390625, 6797.533203125, 1.782032370567321777, 1.515710949897766113, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Vigilant Turtle (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 382619 - Cosmetic - Sleep Zzz (With Aggro Change) - Breath (Scale 2, Up 1))
(@CGUID+47, 214214, 2444, 15105, 15131, '0', '0', 0, 0, 0, -610.09722900390625, 6782.8662109375, -1.513932466506958, 0.757005155086517333, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Vigilant Turtle (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 382619 - Cosmetic - Sleep Zzz (With Aggro Change) - Breath (Scale 2, Up 1))
(@CGUID+48, 216432, 2444, 15105, 15121, '0', '0', 0, 0, 1, -851.4305419921875, 6963.587890625, 1.638122797012329101, 1.62959146499633789, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433075 - -Unknown-)
(@CGUID+49, 212502, 2444, 15105, 15121, '0', '0', 0, 0, 0, -551.7430419921875, 7092.81689453125, 0.701282799243927001, 3.469984292984008789, 120, 6, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Petaldancer Salamanther (Area: -Unknown- - Difficulty: 0) CreateObject2
(@CGUID+50, 214214, 2444, 15105, 15121, '0', '0', 0, 0, 0, -580.9461669921875, 7064.59033203125, 2.162050724029541015, 5.706527233123779296, 120, 6, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Vigilant Turtle (Area: -Unknown- - Difficulty: 0) CreateObject2
(@CGUID+51, 214197, 2444, 15105, 15121, '0', '0', 0, 0, 0, -519.078125, 7171.19189453125, 2.06640625, 1.006168961524963378, 120, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Petalgum Biter (Area: -Unknown- - Difficulty: 0) CreateObject2
(@CGUID+52, 214197, 2444, 15105, 15121, '0', '0', 0, 0, 0, -513.84375, 7121.4384765625, 1.22928619384765625, 4.425022602081298828, 120, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Petalgum Biter (Area: -Unknown- - Difficulty: 0) CreateObject2
(@CGUID+53, 212502, 2444, 15105, 15121, '0', '0', 0, 0, 0, -509.489593505859375, 7162.61279296875, 1.148871541023254394, 0.980930626392364501, 120, 6, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Petaldancer Salamanther (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+54, 223448, 2444, 15105, 15131, '0', '0', 0, 0, 1, -714.30902099609375, 6790.65966796875, 6.457492828369140625, 2.142138481140136718, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Tambre (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+55, 216756, 2444, 15105, 15131, '0', '0', 0, 0, 1, -659.685791015625, 6849.98974609375, 36.106475830078125, 0.52385866641998291, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Drelanim Whisperwind (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+56, 223598, 2444, 15105, 15131, '0', '0', 0, 0, 1, -658.85589599609375, 6848.859375, 36.106475830078125, 0.462048858404159545, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Admiral Nightwind (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+57, 216721, 2444, 15105, 15131, '0', '0', 0, 0, 1, -701.076416015625, 6842.9443359375, 5.821938514709472656, 4.808942794799804687, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Belanaar Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+58, 216721, 2444, 15105, 15131, '0', '0', 0, 0, 1, -650.92706298828125, 6844.38525390625, 17.34432220458984375, 0.6321183443069458, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Belanaar Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+59, 216721, 2444, 15105, 15131, '0', '0', 0, 0, 1, -656.01910400390625, 6851.9130859375, 17.37213706970214843, 0.452021509408950805, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Belanaar Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+60, 216721, 2444, 15105, 15131, '0', '0', 0, 0, 1, -678.39581298828125, 6806.9130859375, 5.061420440673828125, 2.664102792739868164, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Belanaar Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+61, 223437, 2444, 15105, 15131, '0', '0', 0, 0, 0, -782.09893798828125, 6833.751953125, 2.673566818237304687, 3.082252979278564453, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Adella (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+62, 216432, 2444, 15105, 15131, '0', '0', 0, 0, 1, -777.451416015625, 6859.158203125, 0.66485762596130371, 0.584368884563446044, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433070 - -Unknown-)
(@CGUID+63, 216432, 2444, 15105, 15131, '0', '0', 0, 0, 1, -779.32464599609375, 6862.29150390625, 0.476192235946655273, 0.678981423377990722, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Kaldorei Angler (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433073 - -Unknown-)
(@CGUID+64, 216710, 2444, 15105, 15131, '0', '0', 0, 0, 0, -670.10418701171875, 6851.36376953125, 37.82958984375, 1.951726317405700683, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261); -- Bel'ameth Watcher (Area: -Unknown- - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+64;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+37, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, '382619'), -- Vigilant Turtle - 382619 - Cosmetic - Sleep Zzz (With Aggro Change) - Breath (Scale 2, Up 1)
(@CGUID+46, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, '382619'), -- Vigilant Turtle - 382619 - Cosmetic - Sleep Zzz (With Aggro Change) - Breath (Scale 2, Up 1)
(@CGUID+47, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, '382619'), -- Vigilant Turtle - 382619 - Cosmetic - Sleep Zzz (With Aggro Change) - Breath (Scale 2, Up 1)
(@CGUID+64, 0, 0, 1, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Bel'ameth Watcher
-- GameObjects
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+9;
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, 420982, 2444, 15105, 15121, '0', '0', 0, -676.29864501953125, 7022.548828125, 14.54606342315673828, 0, 0, 0, 0, 1, 120, 255, 1, 55261), -- Portal to Feathermoon Stronghold (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+1, 421186, 2444, 15105, 15121, '0', '0', 0, -330.380218505859375, 7000.59716796875, 7.33856964111328125, 1.933421611785888671, 0, 0, 0.823021888732910156, 0.568009674549102783, 120, 255, 1, 55261), -- Kaldorei Spyglass (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+2, 421750, 2444, 15105, 15121, '0', '0', 0, -649.217041015625, 6999.111328125, 14.96323013305664062, 3.447027206420898437, 0, 0, -0.98836135864257812, 0.152124300599098205, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+3, 421751, 2444, 15105, 15121, '0', '0', 0, -653.1319580078125, 6998.38037109375, 14.97868824005126953, 0.061086613684892654, 0, 0, 0.030538558959960937, 0.999533593654632568, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+4, 421180, 2444, 15105, 15121, '0', '0', 0, -658.3992919921875, 6974.34375, 21.22912406921386718, 5.441168785095214843, 0, 0, -0.40868091583251953, 0.912677347660064697, 120, 255, 1, 55261), -- Kaldorei Backpack (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+5, 421773, 2444, 15105, 15121, '0', '0', 0, -677.982666015625, 7050.2041015625, 14.57712173461914062, 3.691374778747558593, 0, 0, -0.96245479583740234, 0.271441996097564697, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+6, 421753, 2444, 15105, 15121, '0', '0', 0, -688.18402099609375, 7049.8115234375, 14.33808708190917968, 5.70722818374633789, 0, 0, -0.28401470184326171, 0.958819925785064697, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+7, 421781, 2444, 15105, 15121, '0', '0', 0, -685.45489501953125, 6987.1865234375, 14.95934391021728515, 1.797688722610473632, 0, 0, 0.7826080322265625, 0.622514784336090087, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+8, 421774, 2444, 15105, 15121, '0', '0', 0, -647.935791015625, 6839.791015625, 17.29960441589355468, 0.253072351217269897, 0, 0, 0.126198768615722656, 0.992004990577697753, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+9, 421775, 2444, 15105, 15121, '0', '0', 0, -659.1632080078125, 6856.60400390625, 17.29593276977539062, 0.820303261280059814, 0, 0, 0.398748397827148437, 0.917060375213623046, 120, 255, 1, 55261); -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+9;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+0, 0, 0, 0, 1, 0, 3503); -- Portal to Feathermoon Stronghold
-- Template
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=212496; -- Shadelapper Duckling
UPDATE `creature_template` SET `faction`=188, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=212498; -- Mistfoot Hopper
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=1500, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216646; -- Shen'dralar Sorcerer
UPDATE `creature_template` SET `faction`=2237, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=215480; -- Tobias Mistmantle
UPDATE `creature_template` SET `faction`=2237, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=215488; -- Belysra Starbreeze
UPDATE `creature_template` SET `faction`=1971, `npcflag`=128, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216720; -- Galley Chief Mariss
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=512, `unit_flags2`=2048 WHERE `entry`=216797; -- Dendrythis
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=214231; -- Rockhorn Argali
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=223451; -- Celestine of the Harvest
UPDATE `creature_template` SET `faction`=2136, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=212495; -- Shadelapper Duck
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=223452; -- Ishala
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=210958; -- Vassandra Stormclaw
UPDATE `creature_template` SET `faction`=1971, `npcflag`=6272, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216715; -- Merchant Fallel Stargazer
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216716; -- Mariner Bladewhisper
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=216707; -- Watchful Somnowl
UPDATE `creature_template` SET `faction`=1971, `speed_run`=1.428571462631225585, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216721; -- Belanaar Sentinel
UPDATE `creature_template` SET `faction`=190, `speed_run`=0.992062866687774658, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=214214; -- Vigilant Turtle
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags`=64, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=212504; -- Keen-Eye Ohuna
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=214197; -- Petalgum Biter
UPDATE `creature_template` SET `faction`=188, `speed_run`=0.857142865657806396, `BaseAttackTime`=2000, `unit_flags`=512, `unit_flags2`=2048 WHERE `entry`=210761; -- Fount Flutterer
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=212502; -- Petaldancer Salamanther
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216717; -- Mariner Evenmist
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216415; -- Taldar Windsinger
UPDATE `creature_template` SET `faction`=1971, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=223484; -- Captain Idrilae
UPDATE `creature_template` SET `faction`=35, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=768 WHERE `entry`=223440; -- Silvia
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768 WHERE `entry`=223448; -- Tambre
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768 WHERE `entry`=223437; -- Adella
UPDATE `creature_template` SET `faction`=35, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=223598; -- Admiral Nightwind
UPDATE `creature_template` SET `faction`=2854, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=216756; -- Drelanim Whisperwind
DELETE FROM `gameobject_template` WHERE `entry` IN (421775 /*Bench*/, 421774 /*Bench*/, 421751 /*Bench*/, 421753 /*Bench*/, 421180 /*Kaldorei Backpack*/, 421750 /*Bench*/, 421781 /*Bench*/, 421773 /*Bench*/);
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
(421775, 7, 85900, 'Bench', '', '', '', 1.029999971389770507, 2, 2, 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, 55261), -- Bench
(421774, 7, 85900, 'Bench', '', '', '', 1.029999971389770507, 2, 2, 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, 55261), -- Bench
(421751, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55261), -- Bench
(421753, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55261), -- Bench
(421180, 3, 87315, 'Kaldorei Backpack', 'questinteract', '', '', 1.20000004768371582, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6015, 121578, 0, 0, 0, 0, 2484, 55261), -- Kaldorei Backpack
(421750, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55261), -- Bench
(421781, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55261), -- Bench
(421773, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55261); -- Bench
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (216721 /*216721 (Belanaar Sentinel) - Invisibility and Stealth Detection*/, 216803 /*216803 (Sentinel Eriadnar)*/, 216763 /*216763 (Cerellean Whiteclaw)*/, 216797 /*216797 (Dendrythis)*/, 223451 /*223451 (Celestine of the Harvest)*/, 223440 /*223440 (Silvia)*/, 223448 /*223448 (Tambre)*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(216721, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '18950'), -- 216721 (Belanaar Sentinel) - Invisibility and Stealth Detection
(216803, 0, 89248, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 216803 (Sentinel Eriadnar)
(216763, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 216763 (Cerellean Whiteclaw)
(216797, 0, 0, 0, 3, 0, 1, 1, 0, 0, 0, 0, 0, ''), -- 216797 (Dendrythis)
(223451, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 223451 (Celestine of the Harvest)
(223440, 0, 0, 0, 0, 0, 1, 0, 0, 27495, 0, 0, 0, ''), -- 223440 (Silvia)
(223448, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- 223448 (Tambre)
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (421186 /*Kaldorei Spyglass*/, 268883 /*Fishing Bobber*/, 421180 /*Kaldorei Backpack*/, 420982 /*Portal to Feathermoon Stronghold*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(421186, 35, 2113536, 0, 0), -- Kaldorei Spyglass
(268883, 1971, 0, 2773, 0), -- Fishing Bobber
(421180, 35, 2113536, 0, 0), -- Kaldorei Backpack
(420982, 1732, 32, 0, 3503); -- Portal to Feathermoon Stronghold
-- Creature Equip
DELETE FROM `creature_equip_template` WHERE (`ID`=1 AND `CreatureID` IN (216721,216715,216720,223451,216716,223598,216756,223448));
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(216721, 1, 213018, 0, 0, 0, 0, 0, 0, 0, 0, 55261), -- Belanaar Sentinel
(216715, 1, 1902, 0, 0, 0, 0, 0, 0, 0, 0, 55261), -- Merchant Fallel Stargazer
(216720, 1, 0, 0, 0, 3757, 0, 0, 0, 0, 0, 55261), -- Galley Chief Mariss
(223451, 1, 50695, 0, 0, 0, 0, 0, 0, 0, 0, 55261), -- Celestine of the Harvest
(216716, 1, 213012, 0, 0, 0, 0, 0, 5258, 0, 0, 55261), -- Mariner Bladewhisper
(223598, 1, 0, 0, 0, 0, 0, 0, 2552, 0, 0, 55261), -- Admiral Nightwind
(216756, 1, 97129, 0, 0, 0, 0, 0, 0, 0, 0, 55261), -- Drelanim Whisperwind
(223448, 1, 31802, 0, 0, 31803, 0, 0, 0, 0, 0, 55261); -- Tambre
-- Difficulty
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=0 AND `Entry` IN (223437,223448,223484,223598,223440,223452,223451));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`) VALUES
(223437, 0, 9, 1, 1, 274262, 4096, 0), -- Adella
(223448, 0, 9, 1, 1, 274273, 4096, 0), -- Tambre
(223484, 0, 9, 1.10000002384185791, 1, 274311, 0, 0), -- Captain Idrilae
(223598, 0, 9, 10, 1, 274457, 0, 0), -- Admiral Nightwind
(223440, 0, 9, 1, 1, 274265, 4096, 0), -- Silvia
(223452, 0, 9, 1, 1, 274279, 0, 0), -- Ishala
(223451, 0, 9, 15, 1, 274278, 0, 0); -- Celestine of the Harvest
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216716 AND `DifficultyID`=0); -- 216716 (Mariner Bladewhisper) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2152, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=212481 AND `DifficultyID`=0); -- 212481 (Murkfur Alpha) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=81, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=212497 AND `DifficultyID`=0); -- 212497 (Bloompaw Rabbit) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=223437 AND `DifficultyID`=0); -- 223437 (Adella) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=81, `StaticFlags1`=805306368, `VerifiedBuild`=55261 WHERE (`Entry`=214216 AND `DifficultyID`=0); -- 214216 (Gladeskipper Butterfly) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2152, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=214681 AND `DifficultyID`=0); -- 214681 (Emerald Dragon) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=223448 AND `DifficultyID`=0); -- 223448 (Tambre) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=81, `StaticFlags1`=805306368, `VerifiedBuild`=55261 WHERE (`Entry`=214196 AND `DifficultyID`=0); -- 214196 (Dappleflier) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2152, `StaticFlags1`=805306368, `VerifiedBuild`=55261 WHERE (`Entry`=212490 AND `DifficultyID`=0); -- 212490 (Coastwinged Slyvern) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216717 AND `DifficultyID`=0); -- 216717 (Mariner Evenmist) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216415 AND `DifficultyID`=0); -- 216415 (Taldar Windsinger) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=223484 AND `DifficultyID`=0); -- 223484 (Captain Idrilae) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2736, `StaticFlags1`=268435456, `StaticFlags3`=262144, `VerifiedBuild`=55261 WHERE (`Entry`=223598 AND `DifficultyID`=0); -- 223598 (Admiral Nightwind) - CanSwim - AllowInteractionWhileInCombat
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216756 AND `DifficultyID`=0); -- 216756 (Drelanim Whisperwind) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2152, `StaticFlags1`=805306368, `VerifiedBuild`=55261 WHERE (`Entry`=212504 AND `DifficultyID`=0); -- 212504 (Keen-Eye Ohuna) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `StaticFlags3`=33554432, `VerifiedBuild`=55261 WHERE (`Entry`=223440 AND `DifficultyID`=0); -- 223440 (Silvia) - CanSwim - CannotTurn
UPDATE `creature_template_difficulty` SET `ContentTuningID`=81, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=212496 AND `DifficultyID`=0); -- 212496 (Shadelapper Duckling) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2152, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=212495 AND `DifficultyID`=0); -- 212495 (Shadelapper Duck) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2736, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=215488 AND `DifficultyID`=0); -- 215488 (Belysra Starbreeze) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=223452 AND `DifficultyID`=0); -- 223452 (Ishala) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216646 AND `DifficultyID`=0); -- 216646 (Shen'dralar Sorcerer) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2736, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=215480 AND `DifficultyID`=0); -- 215480 (Tobias Mistmantle) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2736, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=210958 AND `DifficultyID`=0); -- 210958 (Vassandra Stormclaw) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `VerifiedBuild`=55261 WHERE (`Entry`=216720 AND `DifficultyID`=0); -- 216720 (Galley Chief Mariss) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=536870912, `VerifiedBuild`=55261 WHERE (`Entry`=216797 AND `DifficultyID`=0); -- 216797 (Dendrythis) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2254, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=214231 AND `DifficultyID`=0); -- 214231 (Rockhorn Argali) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=223451 AND `DifficultyID`=0); -- 223451 (Celestine of the Harvest) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=81, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=212498 AND `DifficultyID`=0); -- 212498 (Mistfoot Hopper) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216715 AND `DifficultyID`=0); -- 216715 (Merchant Fallel Stargazer) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2699, `StaticFlags1`=805306368, `VerifiedBuild`=55261 WHERE (`Entry`=216707 AND `DifficultyID`=0); -- 216707 (Watchful Somnowl) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=883, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216721 AND `DifficultyID`=0); -- 216721 (Belanaar Sentinel) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=371, `StaticFlags1`=805306368, `VerifiedBuild`=55261 WHERE (`Entry`=210761 AND `DifficultyID`=0); -- 210761 (Fount Flutterer) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2469, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=214214 AND `DifficultyID`=0); -- 214214 (Vigilant Turtle) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=81, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=214197 AND `DifficultyID`=0); -- 214197 (Petalgum Biter) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2152, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=212502 AND `DifficultyID`=0); -- 212502 (Petaldancer Salamanther) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2152, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=212482 AND `DifficultyID`=0); -- 212482 (Murkfur Pup) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216808 AND `DifficultyID`=0); -- 216808 (Huntress Iczelia) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216465 AND `DifficultyID`=0); -- 216465 (Ancient Protector) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2152, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=212480 AND `DifficultyID`=0); -- 212480 (Murkfur Bakar) - CanSwim
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=216803 AND `MenuID`=34915) OR (`CreatureID`=223484 AND `MenuID`=34914) OR (`CreatureID`=223440 AND `MenuID`=23778) OR (`CreatureID`=223598 AND `MenuID`=12609);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(216803, 34915, 55261), -- Sentinel Eriadnar
(223484, 34914, 55261), -- Captain Idrilae
(223440, 23778, 55261), -- Silvia
(223598, 12609, 55261); -- Admiral Nightwind
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, 263780, 0, 0, 0, 0, 0, 0, 0, 55261), -- 223484 (Captain Idrilae)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 263781, 0, 0, 0, 0, 0, 0, 0, 55261); -- 216803 (Sentinel Eriadnar)
DELETE FROM `gossip_menu` WHERE (`MenuID`=34914 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=34915 AND `TextID`=@NPCTEXTID+1);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(34914, @NPCTEXTID+0, 55261), -- 223484 (Captain Idrilae)
(34915, @NPCTEXTID+1, 55261); -- 216803 (Sentinel Eriadnar)
DELETE FROM `gossip_menu` WHERE (`MenuID`=23778 AND `TextID`=37177);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(23778, 37177, 55261); -- 223440 (Silvia)
UPDATE `gossip_menu` SET `VerifiedBuild`=55261 WHERE (`MenuID`=12609 AND `TextID`=17749);
-- Model
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (116850, 119581, 119577, 116851, 116974, 117018, 116849, 116975, 117020, 117019, 116848, 116971, 116970, 117012, 117035, 113045, 116985, 117034, 117024, 119578, 116944, 119583, 116931, 116924, 117022, 110876, 110878, 116998, 110079, 101619, 116984);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(116850, 0.305999994277954101, 1.5, 0, 55261),
(119581, 0.388999998569488525, 1.5, 0, 55261),
(119577, 0.388999998569488525, 1.5, 0, 55261),
(116851, 0.305999994277954101, 1.5, 0, 55261),
(116974, 0.388999998569488525, 1.5, 0, 55261),
(117018, 0.388999998569488525, 1.5, 0, 55261),
(116849, 0.305999994277954101, 1.5, 0, 55261),
(116975, 0.388999998569488525, 1.5, 0, 55261),
(117020, 0.388999998569488525, 1.5, 0, 55261),
(117019, 0.388999998569488525, 1.5, 0, 55261),
(116848, 0.305999994277954101, 1.5, 0, 55261),
(116971, 0.305999994277954101, 1.5, 0, 55261),
(116970, 0.305999994277954101, 1.5, 0, 55261),
(117012, 0.447349995374679565, 1.724999904632568359, 0, 55261),
(117035, 0.388999998569488525, 1.5, 0, 55261),
(113045, 0.305999994277954101, 1.5, 0, 55261),
(116985, 1.07983410358428955, 0, 0, 55261),
(117034, 0.305999994277954101, 1.5, 0, 55261),
(117024, 0.305999994277954101, 1.5, 0, 55261),
(119578, 0.305999994277954101, 1.5, 0, 55261),
(116944, 0.388999998569488525, 1.5, 0, 55261),
(119583, 0.388999998569488525, 1.5, 0, 55261),
(116931, 0.305999994277954101, 1.5, 0, 55261),
(116924, 0.305999994277954101, 1.5, 0, 55261),
(117022, 0.305999994277954101, 1.5, 0, 55261),
(110876, 0.73621445894241333, 0, 0, 55261),
(110878, 0.73621445894241333, 0, 0, 55261),
(116998, 0.305999994277954101, 1.5, 0, 55261),
(110079, 0.567548632621765136, 1.5, 0, 55261),
(101619, 0.851322948932647705, 2.25, 0, 55261),
(116984, 1.07983410358428955, 0, 0, 55261);
UPDATE `creature_model_info` SET `VerifiedBuild`=55261 WHERE `DisplayID` IN (78834, 104675, 101135, 100702, 22468, 28501, 33508, 30813, 106535, 104135, 65532, 100704, 104045, 103367);
UPDATE `creature_model_info` SET `CombatReach`=1.399999976158142089, `VerifiedBuild`=55261 WHERE `DisplayID` IN (105961, 105962);
-- Vendor
DELETE FROM `npc_vendor` WHERE (`entry`=216720 AND `item`=2678 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=30817 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=8950 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=4601 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=4544 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=4542 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=4541 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=4540 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=8957 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=21552 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=4594 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=4593 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=4592 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=787 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=8766 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=1645 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=1708 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=1205 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=1179 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=159 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216720 AND `item`=4600 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=64670 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=39505 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=20815 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=6532 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=6530 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=4400 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=4399 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=4289 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=3371 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=4340 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=4342 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=4341 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=2325 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=2604 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=2324 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=3857 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=160298 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=3466 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=2880 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=2678 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=14341 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=8343 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=4291 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=2321 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=2320 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=6217 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=5956 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=6256 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=2901 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=85663 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=216715 AND `item`=7005 AND `ExtendedCost`=0 AND `type`=1);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(216720, 21, 2678, 0, 0, 1, 0, 0, 55261), -- Mild Spices
(216720, 20, 30817, 0, 0, 1, 0, 0, 55261), -- Simple Flour
(216720, 19, 8950, 0, 0, 1, 0, 0, 55261), -- Homemade Cherry Pie
(216720, 18, 4601, 0, 0, 1, 0, 0, 55261), -- Soft Banana Bread
(216720, 17, 4544, 0, 0, 1, 0, 0, 55261), -- Mulgore Spice Bread
(216720, 16, 4542, 0, 0, 1, 0, 0, 55261), -- Moist Cornbread
(216720, 15, 4541, 0, 0, 1, 0, 0, 55261), -- Freshly Baked Bread
(216720, 14, 4540, 0, 0, 1, 0, 0, 55261), -- Tough Hunk of Bread
(216720, 13, 8957, 0, 0, 1, 0, 0, 55261), -- Spinefin Halibut
(216720, 12, 21552, 0, 0, 1, 0, 0, 55261), -- Striped Yellowtail
(216720, 11, 4594, 0, 0, 1, 0, 0, 55261), -- Rockscale Cod
(216720, 10, 4593, 0, 0, 1, 0, 0, 55261), -- Bristle Whisker Catfish
(216720, 9, 4592, 0, 0, 1, 0, 0, 55261), -- Longjaw Mud Snapper
(216720, 8, 787, 0, 0, 1, 0, 0, 55261), -- Slitherskin Mackerel
(216720, 7, 8766, 0, 0, 1, 0, 0, 55261), -- Morning Glory Dew
(216720, 6, 1645, 0, 0, 1, 0, 0, 55261), -- Moonberry Juice
(216720, 5, 1708, 0, 0, 1, 0, 0, 55261), -- Sweet Nectar
(216720, 4, 1205, 0, 0, 1, 0, 0, 55261), -- Melon Juice
(216720, 3, 1179, 0, 0, 1, 0, 0, 55261), -- Ice Cold Milk
(216720, 2, 159, 0, 0, 1, 0, 0, 55261), -- Refreshing Spring Water
(216720, 1, 4600, 0, 0, 1, 0, 0, 55261), -- Cherry Grog
(216715, 31, 64670, 0, 0, 1, 0, 0, 55261), -- Vanishing Powder
(216715, 30, 39505, 0, 0, 1, 0, 0, 55261), -- Virtuoso Inking Set
(216715, 29, 20815, 0, 0, 1, 0, 0, 55261), -- Jeweler's Toolset
(216715, 28, 6532, 0, 0, 1, 0, 0, 55261), -- Bright Baubles
(216715, 27, 6530, 0, 0, 1, 0, 0, 55261), -- Nightcrawlers
(216715, 26, 4400, 0, 0, 1, 0, 0, 55261), -- Heavy Stock
(216715, 25, 4399, 0, 0, 1, 0, 0, 55261), -- Wooden Stock
(216715, 24, 4289, 0, 0, 1, 0, 0, 55261), -- Salt
(216715, 23, 3371, 0, 0, 1, 0, 0, 55261), -- Crystal Vial
(216715, 22, 4340, 0, 0, 1, 0, 0, 55261), -- Gray Dye
(216715, 21, 4342, 0, 0, 1, 0, 0, 55261), -- Purple Dye
(216715, 20, 4341, 0, 0, 1, 0, 0, 55261), -- Yellow Dye
(216715, 19, 2325, 0, 0, 1, 0, 0, 55261), -- Black Dye
(216715, 18, 2604, 0, 0, 1, 0, 0, 55261), -- Red Dye
(216715, 17, 2324, 0, 0, 1, 0, 0, 55261), -- Bleach
(216715, 16, 3857, 0, 0, 1, 0, 0, 55261), -- Coal
(216715, 15, 160298, 0, 0, 1, 0, 0, 55261), -- Durable Flux
(216715, 14, 3466, 0, 0, 1, 0, 0, 55261), -- Strong Flux
(216715, 13, 2880, 0, 0, 1, 0, 0, 55261), -- Weak Flux
(216715, 12, 2678, 0, 0, 1, 0, 0, 55261), -- Mild Spices
(216715, 11, 14341, 0, 0, 1, 0, 0, 55261), -- Rune Thread
(216715, 10, 8343, 0, 0, 1, 0, 0, 55261), -- Heavy Silken Thread
(216715, 9, 4291, 0, 0, 1, 0, 0, 55261), -- Silken Thread
(216715, 8, 2321, 0, 0, 1, 0, 0, 55261), -- Fine Thread
(216715, 7, 2320, 0, 0, 1, 0, 0, 55261), -- Coarse Thread
(216715, 6, 6217, 0, 0, 1, 0, 0, 55261), -- Copper Rod
(216715, 5, 5956, 0, 0, 1, 0, 0, 55261), -- Blacksmith Hammer
(216715, 4, 6256, 0, 0, 1, 0, 0, 55261), -- Fishing Pole
(216715, 3, 2901, 0, 0, 1, 0, 0, 55261), -- Mining Pick
(216715, 2, 85663, 0, 0, 1, 0, 0, 55261), -- Herbalist's Spade
(216715, 1, 7005, 0, 0, 1, 0, 0, 55261); -- Skinning Knife
-- Kaldorei Angler smart ai
SET @ENTRY := 216432;
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`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 1, 1000, 1000, 0, 0, 85, 433070, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Time = 1 seconds (OOC) - Self: Cast spell 433070 on self'),
(@ENTRY, 0, 1, 0, '', 1, 0, 100, 1, 1000, 1000, 0, 0, 85, 433073, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Time = 1 seconds (OOC) - Self: Cast spell 433073 on self'),
(@ENTRY, 0, 2, 0, '', 1, 0, 100, 0, 1000, 1000, 0, 0, 85, 433075, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Time = 1 seconds (OOC) - Self: Cast spell 433075 on self');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceGroup` IN (1,2,3) AND `SourceEntry` = @ENTRY;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(22, 1, @ENTRY, 0, 0, 58, 1, 0, 0, 0, 'AzsunaBobber', 0, 'Scripted creature has StringId ''AzsunaBobber'''),
(22, 2, @ENTRY, 0, 0, 58, 1, 0, 0, 0, 'SuramarBobber', 0, 'Scripted creature has StringId ''SuramarBobber'''),
(22, 3, @ENTRY, 0, 0, 58, 1, 0, 0, 0, 'ValsharahBobber', 0, 'Scripted creature has StringId ''ValsharahBobber''');
UPDATE `creature` SET `StringId`='AzsunaBobber' WHERE `guid` IN (@CGUID+16, @CGUID+17, @CGUID+40, @CGUID+62);
UPDATE `creature` SET `StringId`='SuramarBobber' WHERE `guid` IN (@CGUID+6, @CGUID+11, @CGUID+14, @CGUID+18, @CGUID+39, @CGUID+63);
UPDATE `creature` SET `StringId`='ValsharahBobber' WHERE `guid` IN (@CGUID+1, @CGUID+2, @CGUID+8, @CGUID+9, @CGUID+10, @CGUID+13, @CGUID+41, @CGUID+42, @CGUID+48);
-- Captain Idrilae smart ai
SET @ENTRY := 223484;
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`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 1000, 3000, 7000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 7 - 10 seconds (1 - 3s initially) (OOC) - Self: Play emote 1');
-- Taldar Windsinger smart ai
SET @ENTRY := 216415;
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`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 1000, 3000, 7000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 7 - 10 seconds (1 - 3s initially) (OOC) - Self: Play emote 1');
-- Celestine of the Harvest smart ai
SET @ENTRY := 223451;
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`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 1000, 3000, 7000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 7 - 10 seconds (1 - 3s initially) (OOC) - Self: Play emote 1');
-- Vassandra Stormclaw smart ai
SET @ENTRY := 210958;
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`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 1000, 3000, 7000, 10000, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 7 - 10 seconds (1 - 3s initially) (OOC) - Self: Play emote 1');
-- Tobias Mistmantle smart ai
SET @ENTRY := 215480;
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`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 1000, 1000, 0, 0, 85, 433073, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Time = 1 seconds (OOC) - Self: Cast spell 433073 on self');
-- Path for Maginer Swiftstar
SET @ENTRY := 216718;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Mariner Swiftstar - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -444.2235, 7058.679, 6.714916, NULL, 0),
(@PATH, 1, -424.8285, 7063.065, 6.385643, NULL, 0),
(@PATH, 2, -398.4327, 7069.443, 6.499007, NULL, 0),
(@PATH, 3, -378.1887, 7075.13, 9.679476, NULL, 0),
(@PATH, 4, -358.6361, 7080.143, 10.86702, NULL, 0),
(@PATH, 5, -355.0426, 7087.062, 11.32119, NULL, 0),
(@PATH, 6, -349.6088, 7092.846, 11.24374, NULL, 0),
(@PATH, 7, -342.2732, 7091.438, 11.19068, NULL, 0),
(@PATH, 8, -336.4789, 7084.798, 11.03285, NULL, 0),
(@PATH, 9, -328.0341, 7087.375, 10.68585, NULL, 0),
(@PATH, 10, -314.0624, 7090.527, 9.352626, NULL, 0),
(@PATH, 11, -294.4077, 7094.997, 6.419819, NULL, 0),
(@PATH, 12, -279.6555, 7098.687, 6.385643, NULL, 0),
(@PATH, 13, -264.7729, 7102.727, 6.43664, NULL, 0),
(@PATH, 14, -228.8735, 7111.226, 6.385643, NULL, 0),
(@PATH, 15, -218.9809, 7113.837, 6.420766, NULL, 0),
(@PATH, 16, -210.873, 7115.52, 6.385643, NULL, 4799),
(@PATH, 17, -229.2167, 7112.437, 6.385643, NULL, 0),
(@PATH, 18, -237.2074, 7110.013, 6.385643, NULL, 0),
(@PATH, 19, -249.9359, 7107.223, 6.385643, NULL, 0),
(@PATH, 20, -265.0708, 7103.95, 6.477472, NULL, 0),
(@PATH, 21, -279.973, 7099.904, 6.385643, NULL, 0),
(@PATH, 22, -294.6999, 7096.22, 6.385643, NULL, 0),
(@PATH, 23, -314.3082, 7091.762, 9.304844, NULL, 0),
(@PATH, 24, -328.3756, 7088.585, 10.67763, NULL, 0),
(@PATH, 25, -336.2573, 7085.612, 10.98274, NULL, 0),
(@PATH, 26, -341.8518, 7092.169, 11.09546, NULL, 0),
(@PATH, 27, -349.8669, 7093.649, 11.14192, NULL, 0),
(@PATH, 28, -355.6841, 7087.641, 11.26579, NULL, 0),
(@PATH, 29, -359.1521, 7080.812, 10.79189, NULL, 0),
(@PATH, 30, -378.6967, 7077.153, 9.656857, NULL, 0),
(@PATH, 31, -425.3035, 7065.096, 6.385643, NULL, 0),
(@PATH, 32, -444.7002, 7060.709, 6.707929, NULL, 0),
(@PATH, 33, -459.1752, 7057.187, 9.332377, NULL, 0),
(@PATH, 34, -475.6627, 7053.481, 10.26716, NULL, 0),
(@PATH, 35, -488.8684, 7050.419, 8.091465, NULL, 0),
(@PATH, 36, -507.0684, 7045.768, 6.385643, NULL, 0),
(@PATH, 37, -541.7162, 7037.717, 6.376152, NULL, 0),
(@PATH, 38, -569.29, 7030.037, 10.25049, NULL, 0),
(@PATH, 39, -586.4127, 7026.879, 11.7824, NULL, 0),
(@PATH, 40, -591.7389, 7027.344, 11.31566, NULL, 0),
(@PATH, 41, -591.92, 7024.52, 11.30678, NULL, 8977),
(@PATH, 42, -568.821, 7028.005, 10.21195, NULL, 0),
(@PATH, 43, -541.2004, 7035.696, 6.376152, NULL, 0),
(@PATH, 44, -506.574, 7043.741, 6.521868, NULL, 0),
(@PATH, 45, -488.3746, 7048.393, 8.09162, NULL, 0),
(@PATH, 46, -475.1985, 7051.448, 10.29431, NULL, 0),
(@PATH, 47, -458.6998, 7055.155, 9.311718, NULL, 0);
UPDATE `creature` SET `position_x`= -444.2235, `position_y`= 7058.679, `position_z`= 6.714916, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+12;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+12;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+12, @PATH, 1);
-- Path for Mariner Farsight
SET @ENTRY := 216719;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Mariner Farsight - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -249.5549, 7105.473, 6.385643, NULL, 0),
(@PATH, 1, -236.7553, 7108.279, 6.385643, NULL, 0),
(@PATH, 2, -228.7282, 7110.714, 6.385643, NULL, 0),
(@PATH, 3, -218.8514, 7113.32, 6.421762, NULL, 0),
(@PATH, 4, -210.7597, 7115.042, 6.385643, NULL, 0),
(@PATH, 5, -229.3621, 7112.949, 6.385643, NULL, 0),
(@PATH, 6, -237.3419, 7110.528, 6.385643, NULL, 0),
(@PATH, 7, -250.0493, 7107.743, 6.385643, NULL, 0),
(@PATH, 8, -265.197, 7104.467, 6.494731, NULL, 0),
(@PATH, 9, -280.1075, 7100.42, 6.385643, NULL, 0),
(@PATH, 10, -294.8236, 7096.739, 6.385643, NULL, 0),
(@PATH, 11, -314.3249, 7092.304, 9.285481, NULL, 0),
(@PATH, 12, -328.5202, 7089.098, 10.67416, NULL, 0),
(@PATH, 13, -336.9212, 7085.755, 11.14953, NULL, 0),
(@PATH, 14, -339.8725, 7077.064, 11.20037, NULL, 0),
(@PATH, 15, -345.2392, 7072.23, 11.06675, NULL, 0),
(@PATH, 16, -342.8441, 7055.837, 10.2385, NULL, 0),
(@PATH, 17, -340.8018, 7048.103, 9.273314, NULL, 0),
(@PATH, 18, -336.5584, 7031.103, 6.494926, NULL, 0),
(@PATH, 19, -333.2668, 7014.417, 6.385643, NULL, 0),
(@PATH, 20, -331.533, 7014.78, 6.385643, NULL, 4041),
(@PATH, 21, -333.9208, 7031.707, 6.484591, NULL, 0),
(@PATH, 22, -338.1809, 7048.776, 9.213841, NULL, 0),
(@PATH, 23, -340.2046, 7056.433, 10.28481, NULL, 0),
(@PATH, 24, -343.9821, 7072.558, 11.02192, NULL, 0),
(@PATH, 25, -350.3765, 7073.145, 11.29751, NULL, 0),
(@PATH, 26, -358.6794, 7081.227, 10.95431, NULL, 0),
(@PATH, 27, -378.9119, 7078.01, 9.650318, NULL, 0),
(@PATH, 28, -399.1829, 7072.315, 6.464396, NULL, 0),
(@PATH, 29, -425.5046, 7065.956, 6.385643, NULL, 0),
(@PATH, 30, -444.902, 7061.569, 6.704981, NULL, 0),
(@PATH, 31, -459.3764, 7058.046, 9.336417, NULL, 0),
(@PATH, 32, -475.8592, 7054.342, 10.25321, NULL, 0),
(@PATH, 33, -489.0775, 7051.278, 8.091434, NULL, 0),
(@PATH, 34, -507.2777, 7046.625, 6.385643, NULL, 0),
(@PATH, 35, -541.8441, 7038.594, 6.376152, NULL, 0),
(@PATH, 36, -569.4886, 7030.898, 10.25623, NULL, 0),
(@PATH, 37, -586.4638, 7027.761, 11.7824, NULL, 0),
(@PATH, 38, -591.6746, 7028.313, 11.31411, NULL, 0),
(@PATH, 39, -591.92, 7024.52, 11.30678, NULL, 5094),
(@PATH, 40, -568.6224, 7027.144, 10.23032, NULL, 0),
(@PATH, 41, -540.9819, 7034.84, 6.376152, NULL, 0),
(@PATH, 42, -506.3647, 7042.883, 6.618725, NULL, 0),
(@PATH, 43, -488.1655, 7047.535, 8.091652, NULL, 0),
(@PATH, 44, -475.0019, 7050.586, 10.29258, NULL, 0),
(@PATH, 45, -458.4986, 7054.295, 9.331022, NULL, 0),
(@PATH, 46, -444.0216, 7057.819, 6.717879, NULL, 0),
(@PATH, 47, -424.6274, 7062.205, 6.385643, NULL, 0),
(@PATH, 48, -398.2095, 7068.588, 6.509305, NULL, 0),
(@PATH, 49, -377.9735, 7074.273, 9.659117, NULL, 0),
(@PATH, 50, -358.4177, 7079.86, 10.92467, NULL, 0),
(@PATH, 51, -354.7052, 7086.943, 11.36219, NULL, 0),
(@PATH, 52, -349.4995, 7092.505, 11.26975, NULL, 0),
(@PATH, 53, -342.5816, 7091.153, 11.2122, NULL, 0),
(@PATH, 54, -336.5728, 7084.453, 11.03427, NULL, 0),
(@PATH, 55, -327.8895, 7086.862, 10.68932, NULL, 0),
(@PATH, 56, -313.9447, 7090.007, 9.372982, NULL, 0),
(@PATH, 57, -294.284, 7094.478, 6.428473, NULL, 0),
(@PATH, 58, -279.521, 7098.171, 6.385643, NULL, 0),
(@PATH, 59, -264.6468, 7102.209, 6.419365, NULL, 0),
(@PATH, 60, -249.5549, 7105.473, 6.385643, NULL, 0),
(@PATH, 61, -236.7553, 7108.279, 6.385643, NULL, 0),
(@PATH, 62, -228.7282, 7110.714, 6.385643, NULL, 0),
(@PATH, 63, -218.8514, 7113.32, 6.421762, NULL, 0),
(@PATH, 64, -210.7597, 7115.042, 6.385643, NULL, 0),
(@PATH, 65, -210.873, 7115.52, 6.385643, NULL, 2769),
(@PATH, 66, -229.3621, 7112.949, 6.385643, NULL, 0),
(@PATH, 67, -237.3419, 7110.528, 6.385643, NULL, 0),
(@PATH, 68, -250.0493, 7107.743, 6.385643, NULL, 0),
(@PATH, 69, -265.197, 7104.467, 6.494731, NULL, 0);
UPDATE `creature` SET `position_x`= -249.5549, `position_y`= 7105.473, `position_z`= 6.385643, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+15;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+15;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+15, @PATH, 1);
-- Mariner Bladewhisper
SET @ENTRY := 216716;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Mariner Bladewhisper - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -613.0415, 7017.007, 12.23408, NULL, 0),
(@PATH, 1, -618.9437, 7011.63, 12.30811, NULL, 0),
(@PATH, 2, -629.3265, 7008.188, 12.22587, NULL, 0),
(@PATH, 3, -641.0456, 7006.237, 14.97975, NULL, 0),
(@PATH, 4, -649.0396, 7003.989, 14.9699, NULL, 0),
(@PATH, 5, -654.7565, 7003.953, 15.0327, NULL, 0),
(@PATH, 6, -660.6396, 7003.655, 15.02556, NULL, 0),
(@PATH, 7, -667.4012, 7002.082, 14.9699, NULL, 0),
(@PATH, 8, -671.6588, 7000.751, 14.9699, NULL, 0),
(@PATH, 9, -672.6371, 7004.577, 14.9699, 3.946133, 11184),
(@PATH, 10, -685.0151, 6995.709, 15.00261, NULL, 0),
(@PATH, 11, -694.0286, 6992.051, 15.00262, NULL, 0),
(@PATH, 12, -701.3373, 6990.289, 14.11864, NULL, 0),
(@PATH, 13, -716.5903, 6988.769, 10.8654, NULL, 0),
(@PATH, 14, -728.7397, 6992.981, 8.732605, NULL, 0),
(@PATH, 15, -736.9479, 7003.715, 6.806355, NULL, 0),
(@PATH, 16, -751.0658, 7006.463, 4.686409, NULL, 0),
(@PATH, 17, -764.0928, 7003.558, 3.341783, NULL, 0),
(@PATH, 18, -773.2811, 6992.816, 2.213021, NULL, 0),
(@PATH, 19, -782.2063, 6985.419, 2.003741, NULL, 0),
(@PATH, 20, -787.8115, 6980.907, 4.150393, NULL, 0),
(@PATH, 21, -795.928, 6974.334, 8.047419, NULL, 0),
(@PATH, 22, -804.1801, 6966.755, 11.57928, NULL, 0),
(@PATH, 23, -811.0738, 6960.971, 11.1927, NULL, 0),
(@PATH, 24, -825.9825, 6948.421, 4.249139, NULL, 0),
(@PATH, 25, -833.5652, 6938.183, 2.172491, NULL, 0),
(@PATH, 26, -837.0329, 6926.361, 2.408709, NULL, 0),
(@PATH, 27, -836.736, 6912.379, 2.454994, NULL, 0),
(@PATH, 28, -837.0348, 6898.241, 1.912582, NULL, 0),
(@PATH, 29, -842.0923, 6883.189, 0.7716143, NULL, 0),
(@PATH, 30, -844.6612, 6872.3, -0.04343073, NULL, 0),
(@PATH, 31, -837.6255, 6867.742, 0.4143121, NULL, 0),
(@PATH, 32, -826.8759, 6860.621, 1.654269, NULL, 0),
(@PATH, 33, -814.9301, 6849.353, 2.774899, NULL, 0),
(@PATH, 34, -797.1307, 6840.74, 2.6756, NULL, 0),
(@PATH, 35, -776.3927, 6838.453, 2.524647, NULL, 0),
(@PATH, 36, -756.4286, 6831.657, 5.298503, NULL, 0),
(@PATH, 37, -737.3784, 6823.675, 2.923245, NULL, 0),
(@PATH, 38, -729.0165, 6822.196, 3.185615, NULL, 0),
(@PATH, 39, -721.4677, 6821.805, 3.372219, NULL, 0),
(@PATH, 40, -711.6631, 6827.57, 4.100808, NULL, 0),
(@PATH, 41, -704.852, 6833.984, 5.047148, NULL, 0),
(@PATH, 42, -691.797, 6825.58, 5.890833, NULL, 5128),
(@PATH, 43, -708.8994, 6823.753, 3.954462, NULL, 0),
(@PATH, 44, -720.3379, 6817.23, 3.435481, NULL, 0),
(@PATH, 45, -729.5251, 6817.512, 3.334493, NULL, 0),
(@PATH, 46, -738.5782, 6819.597, 2.859081, NULL, 0),
(@PATH, 47, -758.0992, 6827.251, 5.383128, NULL, 0),
(@PATH, 48, -777.4198, 6833.854, 2.51456, NULL, 0),
(@PATH, 49, -798.4354, 6836.211, 2.760753, NULL, 0),
(@PATH, 50, -817.6012, 6845.471, 2.946625, NULL, 0),
(@PATH, 51, -829.8012, 6856.926, 1.635958, NULL, 0),
(@PATH, 52, -840.2947, 6863.859, 0.6971288, NULL, 0),
(@PATH, 53, -849.0436, 6870.568, 0.02483641, NULL, 0),
(@PATH, 54, -846.6437, 6884.409, 0.6858225, NULL, 0),
(@PATH, 55, -841.677, 6899.049, 1.834334, NULL, 0),
(@PATH, 56, -841.4481, 6912.379, 2.388713, NULL, 0),
(@PATH, 57, -841.7032, 6926.988, 2.29126, NULL, 0),
(@PATH, 58, -837.7855, 6940.279, 2.023427, NULL, 0),
(@PATH, 59, -829.4203, 6951.644, 4.068499, NULL, 0),
(@PATH, 60, -814.1068, 6964.578, 11.27953, NULL, 0),
(@PATH, 61, -807.2887, 6970.296, 11.53659, NULL, 0),
(@PATH, 62, -799.006, 6977.902, 8.196292, NULL, 0),
(@PATH, 63, -790.7719, 6984.573, 4.143846, NULL, 0),
(@PATH, 64, -785.186, 6989.07, 2.022791, NULL, 0),
(@PATH, 65, -776.573, 6996.188, 2.218696, NULL, 0),
(@PATH, 66, -766.5148, 7007.6, 3.349164, NULL, 0),
(@PATH, 67, -751.1252, 7011.175, 4.498532, NULL, 0),
(@PATH, 68, -734.4584, 7007.716, 7.313743, NULL, 0),
(@PATH, 69, -725.993, 6996.811, 8.713339, NULL, 0),
(@PATH, 70, -716.0555, 6993.45, 10.67449, NULL, 0),
(@PATH, 71, -702.1719, 6994.889, 14.33582, NULL, 0),
(@PATH, 72, -695.0721, 6995.681, 15.03531, NULL, 0),
(@PATH, 73, -686.5231, 6999.172, 15.05334, NULL, 0),
(@PATH, 74, -679.8234, 7002.282, 14.9699, NULL, 0),
(@PATH, 75, -675.0313, 7004.027, 14.9699, NULL, 0),
(@PATH, 76, -668.2966, 7005.751, 14.9699, NULL, 0),
(@PATH, 77, -661.3118, 7007.372, 15.01691, NULL, 0),
(@PATH, 78, -655.0699, 7008.654, 15.08356, NULL, 0),
(@PATH, 79, -649.6931, 7008.656, 14.97278, NULL, 0),
(@PATH, 80, -642.2059, 7010.785, 14.97076, NULL, 0),
(@PATH, 81, -630.4513, 7012.765, 12.3095, NULL, 0),
(@PATH, 82, -621.3203, 7015.7, 12.23718, NULL, 0),
(@PATH, 83, -615.6078, 7020.959, 12.15553, NULL, 0),
(@PATH, 84, -597.9864, 7028.916, 11.17155, NULL, 0),
(@PATH, 85, -591.92, 7024.52, 11.30678, NULL, 4187),
(@PATH, 86, -613.0415, 7017.007, 12.23408, NULL, 0),
(@PATH, 87, -618.9437, 7011.63, 12.30811, NULL, 0),
(@PATH, 88, -629.3265, 7008.188, 12.22587, NULL, 0),
(@PATH, 89, -641.0456, 7006.237, 14.97975, NULL, 0),
(@PATH, 90, -649.0396, 7003.989, 14.9699, NULL, 0),
(@PATH, 91, -654.7565, 7003.953, 15.0327, NULL, 0),
(@PATH, 92, -660.6396, 7003.655, 15.02556, NULL, 0),
(@PATH, 93, -667.4012, 7002.082, 14.9699, NULL, 0),
(@PATH, 94, -671.6588, 7000.751, 14.9699, NULL, 0),
(@PATH, 95, -672.6371, 7004.577, 14.9699, NULL, 0);
UPDATE `creature` SET `position_x`= -613.0415, `position_y`= 7017.007, `position_z`= 12.23408, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+23;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+23;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+23, @PATH, 1);
-- Path for Adella
SET @ENTRY := 223437;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Adella - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -721.0695, 6814.263, 3.540386, NULL, 0),
(@PATH, 1, -732.0139, 6817.4, 3.307072, NULL, 0),
(@PATH, 2, -753.7778, 6824.005, 5.322386, NULL, 0),
(@PATH, 3, -782.0989, 6833.752, 2.673567, NULL, 7874),
(@PATH, 4, -753.7778, 6824.005, 5.322386, NULL, 0),
(@PATH, 5, -732.0139, 6817.4, 3.307072, NULL, 0),
(@PATH, 6, -721.0695, 6814.263, 3.540386, NULL, 0),
(@PATH, 7, -707.3455, 6808.688, 4.269749, NULL, 7704);
UPDATE `creature` SET `position_x`= -721.0695, `position_y`= 6814.263, `position_z`= 3.540386, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+61;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+61;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+61, @PATH, 1);
@@ -1,226 +0,0 @@
SET @CGUID := 6001052;
SET @OGUID := 6000601;
SET @NPCTEXTID := 560009;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+18;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 68, 0, 1519, 5316, '0', 0, 0, 0, 1, -8223.3056640625, 737.59552001953125, 74.54803466796875, 3.687657356262207031, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Stormwind City Guard (Area: Olivia's Pond - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+1, 16908, 0, 1519, 5316, '0', 0, 0, 0, 0, -8258.591796875, 657.30902099609375, 93.00539398193359375, 5.141171932220458984, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Arielle Snapflash (Area: Olivia's Pond - Difficulty: 0) CreateObject1 (Auras: 258389 - Photographer State)
(@CGUID+2, 68, 0, 1519, 5316, '0', 0, 0, 0, 1, -8167.203125, 795.4774169921875, 74.46102142333984375, 3.801042079925537109, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Stormwind City Guard (Area: Olivia's Pond - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+3, 68, 0, 1519, 5316, '0', 0, 0, 0, 1, -8175.07666015625, 803.56597900390625, 74.1561126708984375, 4.07372903823852539, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Stormwind City Guard (Area: Olivia's Pond - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+4, 68, 0, 1519, 5316, '0', 0, 0, 0, 1, -8211.08203125, 759.59503173828125, 72.89377593994140625, 0.833769798278808593, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Stormwind City Guard (Area: Olivia's Pond - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+5, 68, 0, 1519, 5316, '0', 0, 0, 0, 1, -8180.49169921875, 763.4365234375, 71.92041778564453125, 5.810785770416259765, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Stormwind City Guard (Area: Olivia's Pond - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+6, 133675, 0, 1519, 5316, '0', 0, 0, 0, 0, -8273.1923828125, 735.61285400390625, 78.48775482177734375, 5.304184913635253906, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Peasant Worker (Area: Olivia's Pond - Difficulty: 0) CreateObject1
(@CGUID+7, 133675, 0, 1519, 5316, '0', 0, 0, 0, 1, -8263.7294921875, 731.09552001953125, 78.45843505859375, 3.823138713836669921, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Peasant Worker (Area: Olivia's Pond - Difficulty: 0) CreateObject1
(@CGUID+8, 19269, 0, 1519, 5316, '0', 0, 0, 0, 0, -8259.66796875, 656.43756103515625, 93.0065460205078125, 4.108332157135009765, 120, 2, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Shutterbug (Area: Olivia's Pond - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+9, 133675, 0, 1519, 5316, '0', 0, 0, 0, 1, -8239.50390625, 712.86285400390625, 77.01202392578125, 3.41656351089477539, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Peasant Worker (Area: Olivia's Pond - Difficulty: 0) CreateObject1
(@CGUID+10, 68, 0, 1519, 5316, '0', 0, 0, 0, 1, -8257.6220703125, 761.40972900390625, 79.53528594970703125, 0.789030730724334716, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Stormwind City Guard (Area: Olivia's Pond - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+11, 68, 0, 1519, 5316, '0', 0, 0, 0, 1, -8232.40625, 748.013916015625, 74.309295654296875, 4.028546810150146484, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Stormwind City Guard (Area: Olivia's Pond - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+12, 44395, 0, 1519, 5316, '0', 0, 0, 0, 1, -8284.138671875, 724.4132080078125, 79.99713897705078125, 0.562285959720611572, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Celestine of the Harvest (Area: Olivia's Pond - Difficulty: 0) CreateObject1
(@CGUID+13, 68, 0, 1519, 5316, '0', 0, 0, 0, 1, -8210.1943359375, 801.638916015625, 70.34906005859375, 0.369651556015014648, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Stormwind City Guard (Area: Olivia's Pond - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+14, 68, 0, 1519, 9171, '0', 0, 0, 0, 1, -8154.38037109375, 838.404541015625, 74.29506683349609375, 2.348163366317749023, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Stormwind City Guard (Area: Stormwind Embassy - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+15, 68, 0, 1519, 9171, '0', 0, 0, 0, 1, -8131.37841796875, 815.201416015625, 73.996673583984375, 5.414008617401123046, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Stormwind City Guard (Area: Stormwind Embassy - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+16, 68, 0, 1519, 5316, '0', 0, 0, 0, 1, -8291.30859375, 619.75225830078125, 94.01540374755859375, 1.932029128074645996, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Stormwind City Guard (Area: Olivia's Pond - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+17, 68, 0, 1519, 9171, '0', 0, 0, 0, 1, -8132.67236328125, 846.6009521484375, 75.0034637451171875, 3.431411504745483398, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Stormwind City Guard (Area: Stormwind Embassy - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+18, 68, 0, 1519, 9171, '0', 0, 0, 0, 1, -8141.84033203125, 858.125, 75.83577728271484375, 3.661317110061645507, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261); -- Stormwind City Guard (Area: Stormwind Embassy - Difficulty: 0) CreateObject1 (Auras: )
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+18;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+7, 0, 0, 0, 0, 0, 1, 0, 234, 0, 0, 0, 0, ''), -- Peasant Worker
(@CGUID+9, 0, 0, 0, 0, 0, 1, 0, 0, 15024, 0, 0, 0, ''), -- Peasant Worker
(@CGUID+10, 0, 0, 0, 0, 0, 1, 1, 415, 0, 0, 0, 0, ''); -- Stormwind City Guard
-- 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, 281304, 0, 1519, 5316, '0', 0, 0, -8268.5400390625, 726.38714599609375, 78.07082366943359375, 2.438763141632080078, 0, 0, 0.938886642456054687, 0.34422650933265686, 120, 255, 1, 55261), -- Heavy Logs (Area: Olivia's Pond - Difficulty: 0) CreateObject1
(@OGUID+1, 281304, 0, 1519, 5316, '0', 0, 0, -8264.3193359375, 730.4461669921875, 78.6899261474609375, 5.337895393371582031, 0.782235622406005859, -0.3968353271484375, -0.22313117980957031, 0.425254762172698974, 120, 255, 1, 55261), -- Heavy Logs (Area: Olivia's Pond - Difficulty: 0) CreateObject1
(@OGUID+2, 281304, 0, 1519, 5316, '0', 0, 0, -8273.4912109375, 732.451416015625, 78.08438873291015625, 0.599288463592529296, 0, 0, 0.295180320739746093, 0.955441534519195556, 120, 255, 1, 55261), -- Heavy Logs (Area: Olivia's Pond - Difficulty: 0) CreateObject1
(@OGUID+3, 231870, 0, 1519, 5316, '0', 0, 0, -8268.0908203125, 739.046875, 78.3805389404296875, 0.758019685745239257, -0.0019698143005371, 0.006880760192871093, 0.369986534118652343, 0.929009556770324707, 120, 255, 1, 55261); -- Lumber (Area: Olivia's Pond - Difficulty: 0) CreateObject1
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` = (16908 /*16908 (Arielle Snapflash) - Photographer State*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(16908, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '258389'); -- 16908 (Arielle Snapflash) - Photographer State
-- Gossip
UPDATE `creature_template_gossip` SET `VerifiedBuild`=55261 WHERE (`CreatureID`=16908 AND `MenuID`=21896);
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+0;
INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES
(@NPCTEXTID+0, 1, 0, 0, 0, 0, 0, 0, 0, 141834, 0, 0, 0, 0, 0, 0, 0, 55261); -- 16908 (Arielle Snapflash)
DELETE FROM `gossip_menu` WHERE (`MenuID`=21898 AND `TextID`=@NPCTEXTID+0);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(21898, @NPCTEXTID+0, 55261); -- 16908 (Arielle Snapflash)
DELETE FROM `gossip_menu` WHERE (`MenuID`=21897 AND `TextID`=33468);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(21897, 33468, 55261); -- 16908 (Arielle Snapflash)
UPDATE `gossip_menu_option` SET `GossipOptionID`=48098, `ActionMenuID`=21898, `VerifiedBuild`=55261 WHERE (`MenuID`=21896 AND `OptionID`=2);
UPDATE `gossip_menu_option` SET `GossipOptionID`=48096, `ActionMenuID`=21897, `VerifiedBuild`=55261 WHERE (`MenuID`=21896 AND `OptionID`=0);
-- Path for Stormwind City Guard
SET @ENTRY := 68;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Stormwind City Guard - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -8275.764, 583.2049, 106.7072, NULL, 0),
(@PATH, 1, -8279.741, 592.9045, 102.313, NULL, 0),
(@PATH, 2, -8284.179, 602.6858, 99.55208, NULL, 0),
(@PATH, 3, -8288.979, 613.5608, 96.47079, NULL, 0),
(@PATH, 4, -8291.721, 620.8438, 93.61145, NULL, 0),
(@PATH, 5, -8295.143, 626.2239, 91.91206, NULL, 0),
(@PATH, 6, -8299.415, 631.5816, 92.14259, NULL, 0),
(@PATH, 7, -8302.382, 635.0521, 92.14259, NULL, 5693),
(@PATH, 8, -8299.415, 631.5816, 92.14259, NULL, 0),
(@PATH, 9, -8295.143, 626.2239, 91.91206, NULL, 0),
(@PATH, 10, -8291.721, 620.8438, 93.61145, NULL, 0),
(@PATH, 11, -8288.979, 613.5608, 96.47079, NULL, 0),
(@PATH, 12, -8284.179, 602.6858, 99.55208, NULL, 0),
(@PATH, 13, -8279.741, 592.9045, 102.313, NULL, 0),
(@PATH, 14, -8275.764, 583.2049, 106.7072, NULL, 0),
(@PATH, 15, -8274.021, 575.0851, 111.3611, NULL, 0),
(@PATH, 16, -8272.524, 567.7448, 115.3792, NULL, 0),
(@PATH, 17, -8272.408, 563.0035, 116.4623, NULL, 0),
(@PATH, 18, -8271.732, 556.5104, 117.4161, NULL, 5705),
(@PATH, 19, -8272.408, 563.0035, 116.4623, NULL, 0),
(@PATH, 20, -8272.524, 567.7448, 115.3792, NULL, 0),
(@PATH, 21, -8274.021, 575.0851, 111.3611, NULL, 0);
UPDATE `creature` SET `position_x`= -8275.764, `position_y`= 583.2049, `position_z`= 106.7072, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+16;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+16;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+16, @PATH, 1);
-- Path for Stormwind City Guard
SET @ENTRY := 68;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Stormwind City Guard - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -8227.866, 743.2621, 73.81104, NULL, 0),
(@PATH, 1, -8220.775, 750.3027, 73.46011, NULL, 0),
(@PATH, 2, -8211.764, 758.8438, 72.91174, NULL, 0),
(@PATH, 3, -8201.335, 770.3195, 72.51305, NULL, 5148),
(@PATH, 4, -8211.764, 758.8438, 72.91174, NULL, 0),
(@PATH, 5, -8220.705, 750.368, 73.48283, NULL, 0),
(@PATH, 6, -8227.866, 743.2621, 73.81104, NULL, 0),
(@PATH, 7, -8239.181, 732.4219, 74.42826, NULL, 0),
(@PATH, 8, -8246.879, 722.7899, 76.25071, NULL, 0),
(@PATH, 9, -8253.113, 714.3281, 77.88731, NULL, 0),
(@PATH, 10, -8261.564, 704.1511, 79.80952, NULL, 0),
(@PATH, 11, -8270.486, 697.7361, 82.16895, NULL, 0),
(@PATH, 12, -8279.255, 691.382, 84.48003, NULL, 0),
(@PATH, 13, -8287.52, 684.9566, 86.71638, NULL, 0),
(@PATH, 14, -8292.708, 680.368, 87.31591, NULL, 6104),
(@PATH, 15, -8287.52, 684.9566, 86.71638, NULL, 0),
(@PATH, 16, -8279.255, 691.382, 84.48003, NULL, 0),
(@PATH, 17, -8270.486, 697.7361, 82.16895, NULL, 0),
(@PATH, 18, -8261.564, 704.1511, 79.80952, NULL, 0),
(@PATH, 19, -8253.113, 714.3281, 77.88731, NULL, 0),
(@PATH, 20, -8246.879, 722.7899, 76.25071, NULL, 0),
(@PATH, 21, -8239.181, 732.4219, 74.42826, NULL, 0);
UPDATE `creature` SET `position_x`= -8227.866, `position_y`= 743.2621, `position_z`= 73.81104, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+4;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+4;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+4, @PATH, 1);
-- Path for Stormwind City Guard
SET @ENTRY := 68;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Stormwind City Guard - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -8202.014, 793.2118, 71.56516, NULL, 0),
(@PATH, 1, -8200.861, 786.1805, 72.43179, NULL, 0),
(@PATH, 2, -8197.779, 778.5469, 72.43179, NULL, 0),
(@PATH, 3, -8194.969, 773.9132, 72.43184, NULL, 0),
(@PATH, 4, -8189.84, 769.3403, 72.38821, NULL, 0),
(@PATH, 5, -8185.043, 765.6893, 72.07549, NULL, 0),
(@PATH, 6, -8171.463, 758.5364, 71.90871, NULL, 0),
(@PATH, 7, -8160.479, 757.8715, 71.34776, NULL, 0),
(@PATH, 8, -8152.073, 758.4705, 71.90298, NULL, 0),
(@PATH, 9, -8143.925, 760.559, 70.3463, NULL, 0),
(@PATH, 10, -8138.712, 763.25, 68.64584, NULL, 0),
(@PATH, 11, -8130.672, 768.2327, 67.60023, NULL, 0),
(@PATH, 12, -8120.094, 778.6146, 67.83028, NULL, 0),
(@PATH, 13, -8115.304, 783.3559, 67.87724, NULL, 0),
(@PATH, 14, -8109.165, 789.7274, 67.37494, NULL, 0),
(@PATH, 15, -8104.455, 794.6823, 67.89471, NULL, 0),
(@PATH, 16, -8099.837, 800.7101, 68.05727, NULL, 0),
(@PATH, 17, -8095.335, 807.7882, 69.25739, NULL, 0),
(@PATH, 18, -8093.356, 813.691, 70.05808, NULL, 0),
(@PATH, 19, -8093.306, 820.2118, 70.10638, NULL, 0),
(@PATH, 20, -8094.741, 828.132, 70.05286, NULL, 0),
(@PATH, 21, -8097.566, 836.5643, 70.05286, NULL, 0),
(@PATH, 22, -8101.535, 841.9184, 70.8119, NULL, 0),
(@PATH, 23, -8105.8, 845.5156, 72.00533, NULL, 0),
(@PATH, 24, -8110.396, 846.7934, 73.04762, NULL, 0),
(@PATH, 25, -8115.587, 847.868, 74.20078, NULL, 0),
(@PATH, 26, -8120.559, 848.4102, 75.03396, NULL, 0),
(@PATH, 27, -8124.399, 848.4514, 75.46967, NULL, 0),
(@PATH, 28, -8128.837, 847.7448, 75.34218, NULL, 0),
(@PATH, 29, -8133.653, 846.3073, 74.95817, NULL, 0),
(@PATH, 30, -8139.639, 847.4583, 75.17739, NULL, 0),
(@PATH, 31, -8144.391, 849.6927, 75.39097, NULL, 0),
(@PATH, 32, -8150.736, 852.2413, 75.03195, NULL, 0),
(@PATH, 33, -8156.207, 853.7639, 74.01491, NULL, 0),
(@PATH, 34, -8161.844, 853.0938, 72.29739, NULL, 0),
(@PATH, 35, -8169.999, 849.5764, 70.54916, NULL, 0),
(@PATH, 36, -8176.272, 844.7864, 70.06846, NULL, 0),
(@PATH, 37, -8180.471, 839.9184, 70.06846, NULL, 0),
(@PATH, 38, -8183.74, 836.0278, 70.1051, NULL, 0),
(@PATH, 39, -8189.064, 829.0816, 70.11334, NULL, 0),
(@PATH, 40, -8191.901, 824.5486, 70.04467, NULL, 0),
(@PATH, 41, -8195.717, 817.8108, 70.04467, NULL, 0),
(@PATH, 42, -8199.051, 810.1927, 70.2079, NULL, 0),
(@PATH, 43, -8201.641, 798.9861, 70.74409, NULL, 0);
UPDATE `creature` SET `position_x`= -8202.014, `position_y`= 793.2118, `position_z`= 71.56516, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+5;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+5;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+5, @PATH, 1);
-- Path for Stormwind City Guard
SET @ENTRY := 68;
SET @PATHOFFSET := 3;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Stormwind City Guard - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -8119.018, 825.3455, 74.83813, NULL, 5684),
(@PATH, 1, -8124.037, 826.3507, 74.05501, NULL, 0),
(@PATH, 2, -8129.217, 830.5452, 73.93543, NULL, 0),
(@PATH, 3, -8134.293, 835.7274, 74.09576, NULL, 0),
(@PATH, 4, -8138.397, 840.0643, 74.22985, NULL, 0),
(@PATH, 5, -8141.396, 845.8906, 74.76312, NULL, 6828),
(@PATH, 6, -8138.397, 840.0643, 74.22985, NULL, 0),
(@PATH, 7, -8134.293, 835.7274, 74.09576, NULL, 0),
(@PATH, 8, -8129.217, 830.5452, 73.93543, NULL, 0),
(@PATH, 9, -8124.037, 826.3507, 74.05501, NULL, 0);
UPDATE `creature` SET `position_x`= -8119.018, `position_y`= 825.3455, `position_z`= 74.83813, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+17;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+17;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+17, @PATH, 1);
@@ -1,516 +0,0 @@
SET @CGUID := 9004246;
SET @OGUID := 9003914;
SET @NPCTEXTID := 590119;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+30;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 216775, 2444, 15115, 15115, '0', '0', 0, 0, 1, -1929.4739990234375, 6865.16162109375, 183.390350341796875, 5.128407001495361328, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Maelir (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+1, 216646, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1892.486083984375, 6874.5703125, 186.787017822265625, 5.84744882583618164, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Shen'dralar Sorcerer (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+2, 216647, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1890.5867919921875, 6874.150390625, 186.7882080078125, 2.853504657745361328, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Highborne Lorekeeper (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+3, 216642, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1946.0103759765625, 6862.1318359375, 185.028564453125, 1.216089844703674316, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Archmage Mordent Evenshade (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 433952 - -Unknown-)
(@CGUID+4, 216274, 2444, 15115, 15115, '0', '0', 0, 0, 1, -1907.78955078125, 6902.65380859375, 177.893524169921875, 2.8787384033203125, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Bel'ameth Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+5, 216274, 2444, 15115, 15115, '0', '0', 0, 0, 1, -1852.9461669921875, 6909.62158203125, 176.211090087890625, 3.350155591964721679, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Bel'ameth Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+6, 216646, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1927.829833984375, 6863.59033203125, 183.373931884765625, 3.01143646240234375, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Shen'dralar Sorcerer (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+7, 216647, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1891.734375, 6885.6943359375, 177.6788482666015625, 1.884295105934143066, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Highborne Lorekeeper (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 397765 - Cosmetic - Reading Book, Standing)
(@CGUID+8, 216254, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1885.592041015625, 6883.21533203125, 177.679168701171875, 0, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Feyden Darkin (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+9, 216754, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1929.5867919921875, 6862.64404296875, 183.3408203125, 1.190743565559387207, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Solarys Thorngale (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+10, 216646, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1950.7742919921875, 6874.7568359375, 184.5648193359375, 5.432595252990722656, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Shen'dralar Sorcerer (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+11, 216678, 2444, 15115, 15115, '0', '0', 0, 0, 0, -2000.5989990234375, 7021.77880859375, 162.398468017578125, 0, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Trained Nightsaber (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+12, 216677, 2444, 15115, 15115, '0', '0', 0, 0, 0, -2000.0069580078125, 7020.828125, 162.519683837890625, 2.127778053283691406, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Lelanai (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+13, 216274, 2444, 15115, 15115, '0', '0', 0, 0, 1, -2011.44970703125, 7109.88037109375, 170.8522796630859375, 4.763429641723632812, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Bel'ameth Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+14, 214196, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1937.3177490234375, 6958.94580078125, 170.3463897705078125, 2.971749544143676757, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Dappleflier (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+15, 216272, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1853.545166015625, 6897.33056640625, 177.3778839111328125, 4.24706125259399414, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Telonis (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+16, 214196, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1874.3182373046875, 6941.98046875, 172.08709716796875, 3.300736665725708007, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Dappleflier (Area: -Unknown- - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+17, 216450, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1855.2535400390625, 6894.35400390625, 177.3778839111328125, 1.212544679641723632, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Darianna (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+18, 214196, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1908.727783203125, 6919.6005859375, 177.4272003173828125, 2.094139575958251953, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Dappleflier (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+19, 216251, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1831.532958984375, 6893.4921875, 179.313446044921875, 4.479478359222412109, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Professor Ash (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 302400 - Cosmetic - ChannelCastOmni Breakable (Druid - Nature)) (possible waypoints or random movement)
(@CGUID+20, 216284, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1855.6632080078125, 6909.92724609375, 176.17529296875, 0.070138074457645416, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Mythrin'dir (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 427624 - [DNT] Flower Crown)
(@CGUID+21, 216271, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1845.96875, 6888.18212890625, 177.3778839111328125, 1.562944293022155761, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Jelena Nightsky (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+22, 214196, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1973.99365234375, 6975.88720703125, 171.5369110107421875, 0.879547297954559326, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Dappleflier (Area: -Unknown- - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+23, 214196, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1832.585693359375, 6909.19677734375, 175.745819091796875, 1.915223360061645507, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Dappleflier (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+24, 216265, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1816.2725830078125, 6875.9755859375, 181.074005126953125, 5.231531620025634765, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Tel'Athir (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 171987 - Hold Potion)
(@CGUID+25, 216778, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1812.4034423828125, 6896.77978515625, 181.288238525390625, 4.572015762329101562, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55261), -- Denalan (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+26, 214196, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1865.17919921875, 6992.58154296875, 160.5094757080078125, 2.13652968406677246, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Dappleflier (Area: -Unknown- - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+27, 214196, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1776.69580078125, 6896.6748046875, 184.680389404296875, 3.63034820556640625, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Dappleflier (Area: -Unknown- - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+28, 214196, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1790.6502685546875, 6948.27783203125, 175.9986572265625, 2.326062917709350585, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Dappleflier (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+29, 214196, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1958.7611083984375, 7018.47705078125, 159.2208251953125, 0.938952863216400146, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261), -- Dappleflier (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+30, 214196, 2444, 15115, 15115, '0', '0', 0, 0, 0, -2036.8785400390625, 7105.47216796875, 176.939727783203125, 5.664341926574707031, 120, 3, 0, 100, 1, NULL, NULL, NULL, NULL, 55261); -- Dappleflier (Area: -Unknown- - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+30;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+10, 0, 0, 0, 0, 0, 1, 0, 714, 0, 0, 0, 0, ''), -- Shen'dralar Sorcerer
(@CGUID+11, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Trained Nightsaber
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+26;
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, 421536, 2444, 15115, 15115, '0', '0', 0, -1899.4000244140625, 6891.54248046875, 177.574737548828125, 1.320165038108825683, 0, 0, 0.61318206787109375, 0.789941608905792236, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+1, 421537, 2444, 15115, 15115, '0', '0', 0, -1905.330810546875, 6893.06103515625, 177.574737548828125, 1.320165038108825683, 0, 0, 0.61318206787109375, 0.789941608905792236, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+2, 421538, 2444, 15115, 15115, '0', '0', 0, -1900.53125, 6909.23388671875, 177.5478057861328125, 4.437390327453613281, 0, 0, -0.79735374450683593, 0.603512227535247802, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+3, 421539, 2444, 15115, 15115, '0', '0', 0, -1895.942626953125, 6908.09033203125, 177.56927490234375, 4.426036357879638671, 0, 0, -0.8007669448852539, 0.598976016044616699, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+4, 421532, 2444, 15115, 15115, '0', '0', 0, -1879.4879150390625, 6906.99853515625, 186.6046600341796875, 3.053933382034301757, 0, 0, 0.999039649963378906, 0.043815590441226959, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+5, 421533, 2444, 15115, 15115, '0', '0', 0, -1886.2542724609375, 6907.97216796875, 186.6046600341796875, 6.019930839538574218, 0, 0, -0.13124752044677734, 0.991349637508392333, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+6, 421534, 2444, 15115, 15115, '0', '0', 0, -1884.489501953125, 6884.828125, 186.6082305908203125, 2.743263721466064453, 0, 0, 0.98023223876953125, 0.197850331664085388, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+7, 421535, 2444, 15115, 15115, '0', '0', 0, -1891.72607421875, 6887.21826171875, 186.6082305908203125, 6.073245525360107421, 0, 0, -0.10477733612060546, 0.994495689868927001, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+8, 421148, 2444, 15115, 15115, '0', '0', 0, -1823.422119140625, 6878.365234375, 181.0181121826171875, 1.842603445053100585, 0, 0, 0.796389579772949218, 0.604783952236175537, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+9, 421540, 2444, 15115, 15115, '0', '0', 0, -1883.994873046875, 6912.90869140625, 177.576690673828125, 4.718366146087646484, 0, 0, -0.70499038696289062, 0.709216892719268798, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+10, 421541, 2444, 15115, 15115, '0', '0', 0, -1888.8375244140625, 6880.6943359375, 177.5579986572265625, 1.289340734481811523, 0, 0, 0.600934982299804687, 0.799297928810119628, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+11, 420912, 2444, 15115, 15115, '0', '0', 0, -1960.3785400390625, 6853.9296875, 187.0005035400390625, 0, 0, 0, 0, 1, 120, 255, 1, 55261), -- Portal to Darkshore (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+12, 420913, 2444, 15115, 15115, '0', '0', 0, -1967.80908203125, 6864, 186.8143310546875, 0, 0, 0, 0, 1, 120, 255, 1, 55261), -- Portal to Val'sharah (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+13, 420909, 2444, 15115, 15115, '0', '0', 0, -1934.43408203125, 6852.17724609375, 183.277313232421875, 0, 0, 0, 0, 1, 120, 255, 1, 55261), -- Portal to Stormwind (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+14, 420910, 2444, 15115, 15115, '0', '0', 0, -1968.7274169921875, 6854.96728515625, 187.0005035400390625, 0.046476732939481735, 0, 0, 0.023236274719238281, 0.99972999095916748, 120, 255, 1, 55261), -- Portal to Mount Hyjal (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+15, 421183, 2444, 15115, 15115, '0', '0', 0, -1954.017333984375, 6859.6162109375, 187.0221099853515625, 1.44789433479309082, -0.36081314086914062, 0.446298599243164062, 0.529017448425292968, 0.625117599964141845, 120, 255, 1, 55261), -- Kaldorei Bag (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+16, 420993, 2444, 15115, 15115, '0', '0', 0, -1708.5133056640625, 6945.7021484375, 180.8152618408203125, 4.372049331665039062, 0, 0, -0.81664180755615234, 0.577144801616668701, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+17, 421185, 2444, 15115, 15115, '0', '0', 0, -1714.8211669921875, 6935.31591796875, 182.0263214111328125, 4.327532291412353515, -0.6273961067199707, 0.259771347045898437, -0.72699546813964843, 0.101835615932941436, 120, 255, 1, 55261), -- Kaldorei Spear (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+18, 420994, 2444, 15115, 15115, '0', '0', 0, -1693.2120361328125, 6944.7373046875, 188.0771636962890625, 2.993224143981933593, 0, 0, 0.997249603271484375, 0.074116282165050506, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+19, 421764, 2444, 15115, 15115, '0', '0', 0, -1685.986083984375, 6929.42529296875, 188.2059326171875, 1.605701684951782226, 0, 0, 0.719339370727539062, 0.694658815860748291, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+20, 422660, 2444, 15115, 15115, '0', '0', 0, -2011.91845703125, 7134.18603515625, 171.930145263671875, 2.801248550415039062, 0, 0, 0.985555648803710937, 0.169351965188980102, 120, 255, 1, 55261), -- Cookpot (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+21, 421768, 2444, 15115, 15115, '0', '0', 0, -2011.6771240234375, 7125.66162109375, 171.897552490234375, 6.169740200042724609, 0, 0, -0.05669212341308593, 0.998391687870025634, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+22, 421769, 2444, 15115, 15115, '0', '0', 0, -2007.001708984375, 7125.66064453125, 171.904083251953125, 3.272519350051879882, 0, 0, -0.99785804748535156, 0.065416477620601654, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+23, 421778, 2444, 15115, 15115, '0', '0', 0, -2102.65283203125, 7081.9365234375, 189.6996917724609375, 2.478367090225219726, 0, 0, 0.94551849365234375, 0.325568377971649169, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+24, 421182, 2444, 15115, 15115, '0', '0', 0, -2119.376708984375, 7116.51416015625, 203.4230499267578125, 5.470659255981445312, 0.910351276397705078, -0.38622760772705078, -0.08833217620849609, 0.119524978101253509, 120, 255, 1, 55261), -- Kaldorei Horn (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+25, 421780, 2444, 15115, 15115, '0', '0', 0, -2150.272705078125, 7079.7509765625, 189.6996612548828125, 0.488691210746765136, 0, 0, 0.241921424865722656, 0.970295846462249755, 120, 255, 1, 55261), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+26, 421779, 2444, 15115, 15115, '0', '0', 0, -2155.4775390625, 7085.79150390625, 189.6996612548828125, 0.863936781883239746, 0, 0, 0.418659210205078125, 0.908143401145935058, 120, 255, 1, 55261); -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+26;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+0, 0, 0, 0.991444885730743408, 0.130526408553123474, 0, 0), -- Bench
(@OGUID+1, 0, 0, 0.991444885730743408, 0.130526408553123474, 0, 0), -- Bench
(@OGUID+2, 0, 0, 0.991444885730743408, 0.130526408553123474, 0, 0), -- Bench
(@OGUID+3, 0, 0, 0.991444885730743408, 0.130526408553123474, 0, 0), -- Bench
(@OGUID+4, 0, 0, 0.991444885730743408, 0.130526408553123474, 0, 0), -- Bench
(@OGUID+5, 0, 0, 0.991444885730743408, 0.130526408553123474, 0, 0), -- Bench
(@OGUID+6, 0, 0, 0.991444885730743408, 0.130526408553123474, 0, 0), -- Bench
(@OGUID+7, 0, 0, 0.991444885730743408, 0.130526408553123474, 0, 0), -- Bench
(@OGUID+8, 0, 0, 0.824125945568084716, 0.566406548023223876, 0, 0), -- Bench
(@OGUID+9, 0, 0, 0.991444885730743408, 0.130526408553123474, 0, 0), -- Bench
(@OGUID+10, 0, 0, 0.991444885730743408, 0.130526408553123474, 0, 0), -- Bench
(@OGUID+11, 0, 0, 0, 1, 0, 3503), -- Portal to Darkshore
(@OGUID+12, 0, 0, 0, 1, 0, 3503), -- Portal to Val'sharah
(@OGUID+13, 0, 0, 0, 1, 0, 3503), -- Portal to Stormwind
(@OGUID+14, 0, 0, 0, 1, 0, 3503), -- Portal to Mount Hyjal
(@OGUID+16, 0, 0, -0.08715587854385375, 0.996194720268249511, 0, 0), -- Bench
(@OGUID+18, 0, 0, -0.08715587854385375, 0.996194720268249511, 0, 0); -- Bench
-- Template
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216431; -- Sentinel of the New Moon
UPDATE `creature_template` SET `faction`=35, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=217169; -- Archdruid Hamuul Runetotem
UPDATE `creature_template` SET `faction`=188, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=212494; -- Lifedrip
UPDATE `creature_template` SET `faction`=1971, `npcflag`=128, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216677; -- Lelanai
UPDATE `creature_template` SET `faction`=1971, `npcflag`=16777216, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216678; -- Trained Nightsaber
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=212491; -- Coastglider Pup
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=18432 WHERE `entry`=216778; -- Denalan
UPDATE `creature_template` SET `faction`=1971, `npcflag`=81, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216265; -- Tel'Athir
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=212497; -- Bloompaw Rabbit
UPDATE `creature_template` SET `faction`=35, `npcflag`=16777216, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=217142; -- Nat
UPDATE `creature_template` SET `faction`=35, `npcflag`=16777216, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=217143; -- Hannah
UPDATE `creature_template` SET `faction`=188, `speed_run`=0.857142865657806396, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=214195; -- Forest Burrower
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags`=64, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=216694; -- Efflorescent Matriarch
UPDATE `creature_template` SET `faction`=1971, `npcflag`=81, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216271; -- Jelena Nightsky
UPDATE `creature_template` SET `faction`=1971, `npcflag`=129, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216284; -- Mythrin'dir
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=216786; -- Nantar
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=33555200, `unit_flags2`=67110912, `unit_flags3`=1 WHERE `entry`=212109; -- (Bunny) Sessile
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216754; -- Solarys Thorngale
UPDATE `creature_template` SET `faction`=35, `npcflag`=81, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216251; -- Professor Ash
UPDATE `creature_template` SET `faction`=1971, `npcflag`=82, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216254; -- Feyden Darkin
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=217003; -- Finel
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=1500, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216539; -- Darkshore Visitor
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=512, `unit_flags2`=2048 WHERE `entry`=216787; -- Shandrina
UPDATE `creature_template` SET `faction`=1971, `npcflag`=83, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216450; -- Darianna
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=1500, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216512; -- Hyjal Visitor
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=216781; -- Aayndia Floralwind
UPDATE `creature_template` SET `faction`=1971, `speed_run`=1.428571462631225585, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216274; -- Bel'ameth Sentinel
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216272; -- Telonis
UPDATE `creature_template` SET `faction`=1971, `npcflag`=1, `BaseAttackTime`=1500, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216642; -- Archmage Mordent Evenshade
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216462; -- Amirdrassil Settler
UPDATE `creature_template` SET `faction`=188, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=214196; -- Dappleflier
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=216693; -- Efflorescent Taloncub
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=1500, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216647; -- Highborne Lorekeeper
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=216695; -- Efflorescent Umbraclaw
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=1500, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216533; -- Val'sharah Visitor
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216775; -- Maelir
DELETE FROM `gameobject_template` WHERE `entry` IN (421779 /*Bench*/, 421780 /*Bench*/, 421182 /*Kaldorei Horn*/, 422660 /*Cookpot*/, 421778 /*Bench*/, 421769 /*Bench*/, 421768 /*Bench*/, 421764 /*Bench*/, 420994 /*Bench*/, 421185 /*Kaldorei Spear*/, 420993 /*Bench*/, 421183 /*Kaldorei Bag*/, 420912 /*Portal to Darkshore*/, 420913 /*Portal to Val'sharah*/, 420909 /*Portal to Stormwind*/, 420910 /*Portal to Mount Hyjal*/, 421539 /*Bench*/, 421535 /*Bench*/, 421148 /*Bench*/, 421540 /*Bench*/, 421536 /*Bench*/, 421532 /*Bench*/, 421541 /*Bench*/, 421537 /*Bench*/, 421533 /*Bench*/, 421538 /*Bench*/, 421534 /*Bench*/);
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
(421779, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55261), -- Bench
(421780, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55261), -- Bench
(421182, 3, 87317, 'Kaldorei Horn', 'questinteract', '', '', 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6017, 121580, 0, 0, 0, 0, 2484, 55261), -- Kaldorei Horn
(422660, 8, 56971, 'Cookpot', '', '', '', 1, 4, 10, 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, 55261), -- Cookpot
(421778, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55261), -- Bench
(421769, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55261), -- Bench
(421768, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55261), -- Bench
(421764, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55261), -- Bench
(420994, 7, 85900, 'Bench', '', '', '', 0.999999463558197021, 2, 2, 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, 55261), -- Bench
(421185, 3, 87320, 'Kaldorei Spear', 'questinteract', '', '', 1.5, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6011, 121576, 0, 0, 0, 0, 2484, 55261), -- Kaldorei Spear
(420993, 7, 85900, 'Bench', '', '', '', 0.999999463558197021, 2, 2, 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, 55261), -- Bench
(421183, 3, 87318, 'Kaldorei Bag', 'questinteract', '', '', 1, 43, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6010, 121548, 0, 0, 0, 0, 2484, 55261), -- Kaldorei Bag
(420912, 22, 36660, 'Portal to Darkshore', '', '', '', 1, 433023, -1, 0, 1, 1, 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, 876, 55261), -- Portal to Darkshore
(420913, 22, 5231, 'Portal to Val\'sharah', '', '', '', 1, 433025, -1, 0, 1, 1, 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, 876, 55261), -- Portal to Val'sharah
(420909, 22, 66650, 'Portal to Stormwind', '', '', '', 1, 433013, -1, 0, 1, 1, 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, 876, 55261), -- Portal to Stormwind
(420910, 22, 4393, 'Portal to Mount Hyjal', '', '', '', 1, 433018, -1, 0, 1, 1, 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, 876, 55261), -- Portal to Mount Hyjal
(421539, 7, 85900, 'Bench', '', '', '', 0.999999880790710449, 2, 2, 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, 55261), -- Bench
(421535, 7, 85900, 'Bench', '', '', '', 0.999999761581420898, 2, 2, 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, 55261), -- Bench
(421148, 7, 85900, 'Bench', '', '', '', 0.999999821186065673, 2, 2, 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, 55261), -- Bench
(421540, 7, 85900, 'Bench', '', '', '', 0.999999761581420898, 2, 2, 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, 55261), -- Bench
(421536, 7, 85900, 'Bench', '', '', '', 0.999999761581420898, 2, 2, 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, 55261), -- Bench
(421532, 7, 85900, 'Bench', '', '', '', 0.999999761581420898, 2, 2, 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, 55261), -- Bench
(421541, 7, 85900, 'Bench', '', '', '', 0.999999821186065673, 2, 2, 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, 55261), -- Bench
(421537, 7, 85900, 'Bench', '', '', '', 0.999999761581420898, 2, 2, 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, 55261), -- Bench
(421533, 7, 85900, 'Bench', '', '', '', 0.999999821186065673, 2, 2, 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, 55261), -- Bench
(421538, 7, 85900, 'Bench', '', '', '', 0.999999821186065673, 2, 2, 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, 55261), -- Bench
(421534, 7, 85900, 'Bench', '', '', '', 0.999999821186065673, 2, 2, 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, 55261); -- Bench
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (216647 /*216647 (Highborne Lorekeeper) - Cosmetic - Reading Book, Standing*/, 216642 /*216642 (Archmage Mordent Evenshade) - -Unknown-*/, 216646 /*216646 (Shen'dralar Sorcerer)*/, 216775 /*216775 (Maelir)*/,216778 /*216778 (Denalan)*/, 216265 /*216265 (Tel'Athir) - Hold Potion*/, 216284 /*216284 (Mythrin'dir) - [DNT] Flower Crown*/, 216251 /*216251 (Professor Ash) - Cosmetic - ChannelCastOmni Breakable (Druid - Nature)*/, 214196 /*214196 (Dappleflier)*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(216647, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '397765'), -- 216647 (Highborne Lorekeeper) - Cosmetic - Reading Book, Standing
(216642, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '433952'), -- 216642 (Archmage Mordent Evenshade) - -Unknown-
(216646, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 216646 (Shen'dralar Sorcerer)
(216775, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 216775 (Maelir)
(216778, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 216778 (Denalan)
(216265, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 216265 (Tel'Athir) - Hold Potion
(216284, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '427624'), -- 216284 (Mythrin'dir) - [DNT] Flower Crown
(216251, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 216251 (Professor Ash) - Cosmetic - ChannelCastOmni Breakable (Druid - Nature)
(214196, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- 214196 (Dappleflier)
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (421182 /*Kaldorei Horn*/, 421185 /*Kaldorei Spear*/, 421183 /*Kaldorei Bag*/, 420910 /*Portal to Mount Hyjal*/, 420909 /*Portal to Stormwind*/, 420913 /*Portal to Val'sharah*/, 420912 /*Portal to Darkshore*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(421182, 35, 2113536, 0, 0), -- Kaldorei Horn
(421185, 35, 2113536, 0, 0), -- Kaldorei Spear
(421183, 35, 2113536, 0, 0), -- Kaldorei Bag
(420910, 1732, 32, 0, 3503), -- Portal to Mount Hyjal
(420909, 1732, 32, 0, 3503), -- Portal to Stormwind
(420913, 1732, 32, 0, 3503), -- Portal to Val'sharah
(420912, 1732, 32, 0, 3503); -- Portal to Darkshore
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=216642 AND `MenuID`=33655) OR (`CreatureID`=216265 AND `MenuID`=8516) OR (`CreatureID`=216251 AND `MenuID`=32377) OR (`CreatureID`=216271 AND `MenuID`=7842) OR (`CreatureID`=216450 AND `MenuID`=8520) OR (`CreatureID`=216284 AND `MenuID`=32004);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(216642, 33655, 55261), -- Archmage Mordent Evenshade
(216265, 8516, 55261), -- Tel'Athir
(216251, 32377, 55261), -- Professor Ash
(216271, 7842, 55261), -- Jelena Nightsky
(216450, 8520, 55261), -- Darianna
(216284, 32004, 55261); -- Mythrin'dir
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+2;
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, 254750, 0, 0, 0, 0, 0, 0, 0, 55261), -- 216642 (Archmage Mordent Evenshade)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 246860, 0, 0, 0, 0, 0, 0, 0, 55261), -- 216251 (Professor Ash)
(@NPCTEXTID+2, 1, 0, 0, 0, 0, 0, 0, 0, 244787, 0, 0, 0, 0, 0, 0, 0, 55261); -- 216284 (Mythrin'dir)
DELETE FROM `gossip_menu` WHERE (`MenuID`=33655 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=32377 AND `TextID`=@NPCTEXTID+1) OR (`MenuID`=32004 AND `TextID`=@NPCTEXTID+2);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(33655, @NPCTEXTID+0, 55261), -- 216642 (Archmage Mordent Evenshade)
(32377, @NPCTEXTID+1, 55261), -- 216251 (Professor Ash)
(32004, @NPCTEXTID+2, 55261); -- 216284 (Mythrin'dir)
DELETE FROM `gossip_menu` WHERE (`MenuID`=8516 AND `TextID`=10649) OR (`MenuID`=8520 AND `TextID`=10653);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(8516, 10649, 55261), -- 216265 (Tel'Athir)
(8520, 10653, 55261); -- 216450 (Darianna)
UPDATE `gossip_menu` SET `VerifiedBuild`=55261 WHERE (`MenuID`=7842 AND `TextID`=9599);
DELETE FROM `gossip_menu_option` WHERE (`OptionID`=0 AND `MenuID` IN (8516,32004,8520)) OR (`OptionID`=2 AND `MenuID`=32377);
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(8516, 35791, 0, 3, 'Train me.', 3266, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 55261),
(32004, 110480, 0, 1, 'Show me your wares.', 58437, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 55261), -- OptionBroadcastTextID: 58437 - 90189 - 180077
(32377, 110918, 2, 3, 'Train me in Herbalism.', 47112, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 55261),
(8520, 35450, 0, 3, 'Train me.', 3266, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 55261);
-- Creature Equip
DELETE FROM `creature_equip_template` WHERE (`ID`=1 AND `CreatureID` IN (216431,217169,216274,216775));
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(216431, 1, 213018, 0, 0, 213011, 0, 0, 0, 0, 0, 55261), -- Sentinel of the New Moon
(217169, 1, 63052, 0, 0, 0, 0, 0, 0, 0, 0, 55261), -- Archdruid Hamuul Runetotem
(216274, 1, 208761, 0, 0, 0, 0, 0, 0, 0, 0, 55261), -- Bel'ameth Sentinel
(216775, 1, 109677, 0, 0, 0, 0, 0, 0, 0, 0, 55261); -- Maelir
-- NPC spellclick
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` = 216678;
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
(216678, 406024, 1, 0);
-- Professor Ash smart ai
SET @ENTRY := 216251;
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`, `Difficulties`, `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, 11, 0, 0, 80, 21625100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 11 - Self: Start timed action list id #Professor Ash #0 (21625100) (update out of combat)'),
(@ENTRY, 0, 1, 0, '', 34, 0, 100, 0, 2, 17, 0, 0, 80, 21625100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 17 - Self: Start timed action list id #Professor Ash #0 (21625100) (update out of combat)'),
(@ENTRY, 0, 2, 0, '', 34, 0, 100, 0, 0, 26, 0, 0, 80, 21625100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement inform, point 26 - Self: Start timed action list id #Professor Ash #0 (21625100) (update out of combat)');
-- Timed list 21625100 smart ai
SET @ENTRY := 21625100;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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, 9, 0, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 85, 302400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Cast spell 302400 on self'),
(@ENTRY, 9, 1, 0, '', 0, 0, 100, 0, 11000, 11000, 0, 0, 92, 0, 302400, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 11 seconds - Self: Interrupt casted spell 302400');
-- Vendor data
DELETE FROM `npc_vendor` WHERE `entry` IN (216677, 216284);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(216677, 7, 18766, 0, 0, 1, 0, 0, 55261), -- Reins of the Swift Frostsaber
(216677, 6, 18767, 0, 0, 1, 0, 0, 55261), -- Reins of the Swift Mistsaber
(216677, 5, 18902, 0, 0, 1, 0, 0, 55261), -- Reins of the Swift Stormsaber
(216677, 4, 8629, 0, 0, 1, 0, 0, 55261), -- Reins of the Striped Nightsaber
(216677, 3, 8632, 0, 0, 1, 0, 0, 55261), -- Reins of the Spotted Frostsaber
(216677, 2, 8631, 0, 0, 1, 0, 0, 55261), -- Reins of the Striped Frostsaber
(216677, 1, 47100, 0, 0, 1, 0, 0, 55261), -- Reins of the Striped Dawnsaber
(216284, 26, 211399, 0, 6071, 1, 0, 0, 55261), -- Technique: Glyph of the Lunar Chameleon
(216284, 25, 188152, 0, 0, 1, 0, 0, 55261), -- Gateway Control Shard
(216284, 24, 64670, 0, 0, 1, 0, 0, 55261), -- Vanishing Powder
(216284, 23, 138293, 0, 0, 1, 0, 0, 55261), -- Explorer's Pack
(216284, 22, 85663, 0, 0, 1, 0, 0, 55261), -- Herbalist's Spade
(216284, 21, 2901, 0, 0, 1, 0, 0, 55261), -- Mining Pick
(216284, 20, 7005, 0, 0, 1, 0, 0, 55261), -- Skinning Knife
(216284, 19, 39505, 0, 0, 1, 0, 0, 55261), -- Virtuoso Inking Set
(216284, 18, 6256, 0, 0, 1, 0, 0, 55261), -- Fishing Pole
(216284, 17, 10498, 0, 0, 1, 0, 0, 55261), -- Gyromatic Micro-Adjustor
(216284, 16, 6219, 0, 0, 1, 0, 0, 55261), -- Arclight Spanner
(216284, 15, 20815, 0, 0, 1, 0, 0, 55261), -- Jeweler's Toolset
(216284, 14, 6218, 0, 0, 1, 0, 0, 55261), -- Runed Copper Rod
(216284, 13, 5956, 0, 0, 1, 0, 0, 55261), -- Blacksmith Hammer
(216284, 12, 197753, 0, 0, 1, 0, 0, 55261), -- Thaldraszian Cocoa Powder
(216284, 11, 197752, 0, 0, 1, 0, 0, 55261), -- Conveniently Packaged Ingredients
(216284, 10, 197751, 0, 0, 1, 0, 0, 55261), -- Pastry Packets
(216284, 9, 197750, 0, 0, 1, 0, 0, 55261), -- Three-Cheese Blend
(216284, 8, 197749, 0, 0, 1, 0, 0, 55261), -- Ohn'ahran Potato
(216284, 7, 38682, 0, 0, 1, 0, 0, 55261), -- Enchanting Vellum
(216284, 6, 200860, 0, 0, 1, 0, 0, 55261), -- Draconic Stopper
(216284, 5, 191474, 0, 0, 1, 0, 0, 55261), -- Draconic Vial
(216284, 4, 192833, 0, 0, 1, 0, 0, 55261), -- Misshapen Filigree
(216284, 3, 198487, 0, 0, 1, 0, 0, 55261), -- Iridescent Water
(216284, 2, 194784, 0, 0, 1, 0, 0, 55261), -- Glittering Parchment
(216284, 1, 190452, 0, 0, 1, 0, 0, 55261); -- Primal Flux
-- Trainer data
DELETE FROM `creature_trainer` WHERE (`CreatureID`=216254 AND `MenuID`=0 AND `OptionID`=0) OR (`CreatureID`=216265 AND `MenuID`=8516 AND `OptionID`=0) OR (`CreatureID`=216251 AND `MenuID`=32377 AND `OptionID`=2) OR (`CreatureID`=216271 AND `MenuID`=7842 AND `OptionID`=0) OR (`CreatureID`=216450 AND `MenuID`=8520 AND `OptionID`=0);
INSERT INTO `creature_trainer` (`CreatureID`, `TrainerID`, `MenuID`, `OptionID`) VALUES
(216254, 1078, 0, 0),
(216265, 1083, 8516, 0),
(216251, 1087, 32377, 2),
(216271, 1085, 7842, 0),
(216450, 1076, 8520, 0);
DELETE FROM `trainer` WHERE `Id` IN (1078, 1083, 1087, 1085, 1076);
INSERT INTO `trainer` (`Id`, `Type`, `Greeting`, `VerifiedBuild`) VALUES
(1078, 2, 'Hello, friend!', 55261),
(1083, 2, 'Hello, friend!', 55261),
(1087, 2, 'Hello, friend!', 55261),
(1085, 2, 'Hello, friend!', 55261),
(1076, 2, 'Hello, friend!', 55261);
DELETE FROM `trainer_spell` WHERE (`TrainerId`=1078 AND `SpellId` IN (383539,389193,383529,383546,383530,383572,383547,384949,384948,383791,383790,383562,383561,383560,383556,383555,383554,383563,383544,383543,383525,383551,383527,383549,366241,264495)) OR (`TrainerId`=1083 AND `SpellId` IN (370711,389190,370748,370746,370743,370731,370722,370717,370465,370547,370551,366248,264212)) OR (`TrainerId`=1087 AND `SpellId` IN (366242,265820)) OR (`TrainerId`=1085 AND `SpellId` IN (366263,265856)) OR (`TrainerId`=1076 AND `SpellId` IN (409555,409557,375183,375184,395844,395851,395847,395839,395845,395863,395868,395867,395864,395865,389195,375188,375187,375185,375182,375181,375179,375178,375174,375173,375168,375164,375108,375106,375105,375103,375102,366239,264578));;
INSERT INTO `trainer_spell` (`TrainerId`, `SpellId`, `MoneyCost`, `ReqSkillLine`, `ReqSkillRank`, `ReqAbility1`, `ReqAbility2`, `ReqAbility3`, `ReqLevel`, `VerifiedBuild`) VALUES
(1078, 383539, 1000000, 2828, 15, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 389193, 1000000, 2828, 15, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383529, 1300000, 2828, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383546, 1800000, 2828, 50, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383530, 1000000, 2828, 15, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383572, 1300000, 2828, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383547, 1300000, 2828, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 384949, 800000, 2828, 10, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 384948, 800000, 2828, 10, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383791, 1100000, 2828, 20, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383790, 1500000, 2828, 35, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383562, 1700000, 2828, 45, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383561, 1700000, 2828, 45, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383560, 1700000, 2828, 45, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383556, 1700000, 2828, 45, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383555, 1700000, 2828, 45, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383554, 1700000, 2828, 45, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383563, 800000, 2828, 10, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383544, 1000000, 2828, 15, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383543, 1000000, 2828, 15, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383525, 1300000, 2828, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383551, 1300000, 2828, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383527, 1300000, 2828, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 383549, 1300000, 2828, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 366241, 1000000, 773, 1, 0, 0, 0, 58, 55261), -- No Faction found! MoneyCost not recalculated!
(1078, 264495, 10, 0, 0, 0, 0, 0, 5, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 370711, 1000000, 2823, 15, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 389190, 1300000, 2823, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 370748, 800000, 2823, 10, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 370746, 800000, 2823, 10, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 370743, 800000, 2823, 10, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 370731, 1500000, 2823, 35, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 370722, 800000, 2823, 10, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 370717, 1100000, 2823, 20, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 370465, 1300000, 2823, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 370547, 600000, 2823, 5, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 370551, 1800000, 2823, 50, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 366248, 1000000, 171, 1, 0, 0, 0, 58, 55261), -- No Faction found! MoneyCost not recalculated!
(1083, 264212, 10, 0, 0, 0, 0, 0, 5, 55261), -- No Faction found! MoneyCost not recalculated!
(1087, 366242, 1000000, 182, 1, 0, 0, 0, 58, 55261), -- No Faction found! MoneyCost not recalculated!
(1087, 265820, 10, 0, 0, 0, 0, 0, 5, 55261), -- No Faction found! MoneyCost not recalculated!
(1085, 366263, 1000000, 393, 1, 0, 0, 0, 58, 55261), -- No Faction found! MoneyCost not recalculated!
(1085, 265856, 10, 0, 0, 0, 0, 0, 5, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 409555, 1300000, 2830, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 409557, 1300000, 2830, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375183, 600000, 2830, 5, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375184, 1400000, 2830, 30, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 395844, 1100000, 2830, 20, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 395851, 1600000, 2830, 40, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 395847, 1700000, 2830, 45, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 395839, 1800000, 2830, 50, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 395845, 1300000, 2830, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 395863, 1100000, 2830, 20, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 395868, 1600000, 2830, 40, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 395867, 1700000, 2830, 45, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 395864, 1800000, 2830, 50, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 395865, 1300000, 2830, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 389195, 1000000, 2830, 15, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375188, 1500000, 2830, 35, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375187, 1500000, 2830, 35, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375185, 1400000, 2830, 30, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375182, 1000000, 2830, 15, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375181, 800000, 2830, 10, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375179, 1300000, 2830, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375178, 1300000, 2830, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375174, 1300000, 2830, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375173, 1300000, 2830, 25, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375168, 1000000, 2830, 15, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375164, 800000, 2830, 10, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375108, 800000, 2830, 10, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375106, 600000, 2830, 5, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375105, 800000, 2830, 10, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375103, 600000, 2830, 5, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 375102, 1500000, 2830, 35, 0, 0, 0, 0, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 366239, 1000000, 165, 1, 0, 0, 0, 58, 55261), -- No Faction found! MoneyCost not recalculated!
(1076, 264578, 10, 0, 0, 0, 0, 0, 5, 55261); -- No Faction found! MoneyCost not recalculated!
-- Model
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (113020, 116986, 117033, 116936, 116932, 116135, 117025, 116934, 116930, 116919, 112869, 112872, 117031, 113507, 116696, 116987, 112914, 114045, 113572, 117015, 116948, 116927, 117030, 116921, 112912, 117029, 112868, 116693, 116981, 112864, 116979, 116942, 112916, 116698, 112870, 116717, 117011, 116694);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(113020, 0.388999998569488525, 1.5, 0, 55261),
(116986, 1.07983410358428955, 0, 0, 55261),
(117033, 0.305999994277954101, 1.5, 0, 55261),
(116936, 0.388999998569488525, 1.5, 0, 55261),
(116932, 0.305999994277954101, 1.5, 0, 55261),
(116135, 2.429626703262329101, 0, 0, 55261),
(117025, 0.388999998569488525, 1.5, 0, 55261),
(116934, 0.388999998569488525, 1.5, 0, 55261),
(116930, 0.305999994277954101, 1.5, 0, 55261),
(116919, 0.5, 0, 0, 55261),
(112869, 1.65776073932647705, 3, 0, 55261),
(112872, 1.65776073932647705, 3, 0, 55261),
(117031, 0.305999994277954101, 1.5, 0, 55261),
(113507, 0.388999998569488525, 1.5, 0, 55261),
(116696, 0.351899981498718261, 1.724999904632568359, 0, 55261),
(116987, 1.07983410358428955, 0, 0, 55261),
(112914, 0.240000009536743164, 0, 0, 55261),
(114045, 0.305999994277954101, 1.5, 0, 55261),
(113572, 0.388999998569488525, 1.5, 0, 55261),
(117015, 0.447349995374679565, 1.724999904632568359, 0, 55261),
(116948, 0.267382413148880004, 0, 0, 55261),
(116927, 0.305999994277954101, 1.5, 0, 55261),
(117030, 0.305999994277954101, 1.5, 0, 55261),
(116921, 0.305999994277954101, 1.5, 0, 55261),
(112912, 0.240000009536743164, 0, 0, 55261),
(117029, 0.388999998569488525, 1.5, 0, 55261),
(112868, 1.105173826217651367, 2, 0, 55261),
(116693, 0.42790001630783081, 1.65000009536743164, 0, 55261),
(116981, 1.07983410358428955, 0, 0, 55261),
(112864, 1.105173826217651367, 2, 0, 55261),
(116979, 1.07983410358428955, 0, 0, 55261),
(116942, 0.388999998569488525, 1.5, 0, 55261),
(112916, 0.240000009536743164, 0, 0, 55261),
(116698, 0.351899981498718261, 1.724999904632568359, 0, 55261),
(112870, 1.105173826217651367, 2, 0, 55261),
(116717, 0.305999994277954101, 1.5, 0, 55261),
(117011, 0.351899981498718261, 1.724999904632568359, 0, 55261),
(116694, 0.388999998569488525, 1.5, 0, 55261);
UPDATE `creature_model_info` SET `VerifiedBuild`=55261 WHERE `DisplayID` IN (31605, 104530, 100359, 44820, 1072, 105247, 106534, 103844);
UPDATE `creature_model_info` SET `BoundingRadius`=0.524999976158142089, `CombatReach`=2.25, `VerifiedBuild`=55261 WHERE `DisplayID`=89248;
UPDATE `creature_model_info` SET `BoundingRadius`=0.44829609990119934, `CombatReach`=0.300000011920928955, `VerifiedBuild`=55261 WHERE `DisplayID`=102069;
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216431 AND `DifficultyID`=0); -- 216431 (Sentinel of the New Moon) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2699, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=217169 AND `DifficultyID`=0); -- 217169 (Archdruid Hamuul Runetotem) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=81, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=212494 AND `DifficultyID`=0); -- 212494 (Lifedrip) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216677 AND `DifficultyID`=0); -- 216677 (Lelanai) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216678 AND `DifficultyID`=0); -- 216678 (Trained Nightsaber) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=81, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=212491 AND `DifficultyID`=0); -- 212491 (Coastglider Pup) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2699, `StaticFlags1`=805306368, `VerifiedBuild`=55261 WHERE (`Entry`=216778 AND `DifficultyID`=0); -- 216778 (Denalan) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216265 AND `DifficultyID`=0); -- 216265 (Tel'Athir) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=217142 AND `DifficultyID`=0); -- 217142 (Nat) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=217143 AND `DifficultyID`=0); -- 217143 (Hannah) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=81, `VerifiedBuild`=55261 WHERE (`Entry`=214195 AND `DifficultyID`=0); -- 214195 (Forest Burrower) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2699, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216694 AND `DifficultyID`=0); -- 216694 (Efflorescent Matriarch) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216271 AND `DifficultyID`=0); -- 216271 (Jelena Nightsky) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216284 AND `DifficultyID`=0); -- 216284 (Mythrin'dir) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=536870912, `VerifiedBuild`=55261 WHERE (`Entry`=216786 AND `DifficultyID`=0); -- 216786 (Nantar) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2078, `StaticFlags1`=536871168, `VerifiedBuild`=55261 WHERE (`Entry`=212109 AND `DifficultyID`=0); -- 212109 ((Bunny) Sessile) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216754 AND `DifficultyID`=0); -- 216754 (Solarys Thorngale) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216251 AND `DifficultyID`=0); -- 216251 (Professor Ash) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216254 AND `DifficultyID`=0); -- 216254 (Feyden Darkin) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=217003 AND `DifficultyID`=0); -- 217003 (Finel) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216539 AND `DifficultyID`=0); -- 216539 (Darkshore Visitor) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=536870912, `VerifiedBuild`=55261 WHERE (`Entry`=216787 AND `DifficultyID`=0); -- 216787 (Shandrina) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216450 AND `DifficultyID`=0); -- 216450 (Darianna) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216512 AND `DifficultyID`=0); -- 216512 (Hyjal Visitor) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=536870912, `VerifiedBuild`=55261 WHERE (`Entry`=216781 AND `DifficultyID`=0); -- 216781 (Aayndia Floralwind) - Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=883, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216274 AND `DifficultyID`=0); -- 216274 (Bel'ameth Sentinel) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216272 AND `DifficultyID`=0); -- 216272 (Telonis) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=693, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216642 AND `DifficultyID`=0); -- 216642 (Archmage Mordent Evenshade) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216462 AND `DifficultyID`=0); -- 216462 (Amirdrassil Settler) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2699, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216693 AND `DifficultyID`=0); -- 216693 (Efflorescent Taloncub) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216647 AND `DifficultyID`=0); -- 216647 (Highborne Lorekeeper) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2699, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216695 AND `DifficultyID`=0); -- 216695 (Efflorescent Umbraclaw) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216533 AND `DifficultyID`=0); -- 216533 (Val'sharah Visitor) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55261 WHERE (`Entry`=216775 AND `DifficultyID`=0); -- 216775 (Maelir) - CanSwim
-- Path for Professor Ash
DELETE FROM `creature_formations` WHERE `leaderGUID` = @CGUID+19;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(@CGUID+19, @CGUID+19, 0, 0, 515, 0, 0),
(@CGUID+19, @CGUID+25, 3, 0, 515, 0, 0);
SET @ENTRY := 216251;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Professor Ash - Scripted Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -1804.486, 6891.696, 181.4274, NULL, 0),
(@PATH, 1, -1805.382, 6894.315, 181.1484, NULL, 0),
(@PATH, 2, -1807.668, 6896.853, 180.5937, NULL, 0),
(@PATH, 3, -1809.986, 6898.563, 180.123, NULL, 0),
(@PATH, 4, -1813.063, 6900.1, 179.7017, NULL, 0),
(@PATH, 5, -1815.793, 6900.841, 179.4343, NULL, 0),
(@PATH, 6, -1818.319, 6901.868, 178.9769, NULL, 0),
(@PATH, 7, -1821.238, 6901.434, 178.4305, NULL, 0),
(@PATH, 8, -1824.67, 6900.621, 178.6409, NULL, 0),
(@PATH, 9, -1828.194, 6898.692, 178.8451, NULL, 0),
(@PATH, 10, -1830.771, 6896.577, 178.9955, NULL, 0),
(@PATH, 11, -1831.533, 6893.492, 179.3134, NULL, 13609),
(@PATH, 12, -1827.314, 6899.827, 178.7374, NULL, 0),
(@PATH, 13, -1824.389, 6900.85, 178.5756, NULL, 0),
(@PATH, 14, -1821.243, 6901.306, 178.4706, NULL, 0),
(@PATH, 15, -1818.094, 6901.895, 178.982, NULL, 0),
(@PATH, 16, -1816.332, 6901.115, 179.296, NULL, 0),
(@PATH, 17, -1812.873, 6894.17, 180.1825, 4.06389, 12329),
(@PATH, 18, -1806.839, 6893.612, 181.168, NULL, 0),
(@PATH, 19, -1805.363, 6892.005, 181.3353, NULL, 0),
(@PATH, 20, -1803.984, 6887.497, 181.6766, NULL, 0),
(@PATH, 21, -1803.413, 6884.533, 181.901, NULL, 0),
(@PATH, 22, -1802.352, 6882.453, 182.3664, NULL, 0),
(@PATH, 23, -1801.474, 6879.761, 182.9671, NULL, 0),
(@PATH, 24, -1801.012, 6874.972, 183.623, NULL, 0),
(@PATH, 25, -1801.12, 6871.027, 183.719, NULL, 0),
(@PATH, 26, -1802.269, 6867.556, 183.5601, NULL, 12435),
(@PATH, 27, -1799.632, 6875.53, 183.7888, NULL, 0),
(@PATH, 28, -1800.37, 6879.147, 183.3181, NULL, 0),
(@PATH, 29, -1801.372, 6881.885, 182.664, NULL, 0),
(@PATH, 30, -1802.438, 6885.255, 182.0126, NULL, 0),
(@PATH, 31, -1803.58, 6888.558, 181.6622, NULL, 0);
UPDATE `creature` SET `position_x`= -1804.486, `position_y`= 6891.696, `position_z`= 181.4274, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+19;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+19;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+19, @PATH, 1);
@@ -1,222 +0,0 @@
SET @CGUID := 9004277;
SET @OGUID := 9003941;
SET @NPCTEXTID := 590122;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+18;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 216458, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1725.3941650390625, 6924.61376953125, 180.0595550537109375, 2.08168959617614746, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Sparring Dummy (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+1, 216675, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1695.3646240234375, 6932.78125, 188.2431182861328125, 1.522490859031677246, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Resting Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+2, 216274, 2444, 15115, 15115, '0', '0', 0, 0, 1, -1733.5867919921875, 6936.7490234375, 179.9481658935546875, 3.26306462287902832, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Bel'ameth Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+3, 216676, 2444, 15115, 15115, '0', '0', 0, 0, 1, -1754.205322265625, 6981.67431640625, 175.96343994140625, 5.145911216735839843, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Sparring Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+4, 216274, 2444, 15115, 15115, '0', '0', 0, 0, 1, -1729.1336669921875, 6956.45166015625, 179.5142974853515625, 3.26306462287902832, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Bel'ameth Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+5, 212497, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1759.1024169921875, 6902.376953125, 182.93621826171875, 4.270366668701171875, 120, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 55461), -- Bloompaw Rabbit (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+6, 216674, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1699.6024169921875, 6936.45068359375, 180.9408416748046875, 1.001022577285766601, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Sparring Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+7, 216674, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1698.157958984375, 6938.91162109375, 180.9408416748046875, 4.181617259979248046, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Sparring Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+8, 216274, 2444, 15115, 15115, '0', '0', 0, 0, 1, -1754.8680419921875, 6865.83837890625, 184.611114501953125, 4.923063278198242187, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Bel'ameth Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+9, 212491, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1820.0870361328125, 6975.78955078125, 165.75775146484375, 2.994378328323364257, 120, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 55461), -- Coastglider Pup (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+10, 216675, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1744.1771240234375, 6980.75, 176.9769287109375, 3.301061630249023437, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Resting Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+11, 216675, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1692.001708984375, 6943.8212890625, 180.940765380859375, 3.141888141632080078, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Resting Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+12, 216270, 2444, 15115, 15115, '0', '0', 0, 0, 1, -1712.6678466796875, 6963.5615234375, 179.4542999267578125, 4.924420833587646484, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Ravensmith Ta'lir (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: 421496 - Work)
(@CGUID+13, 216274, 2444, 15115, 15115, '0', '0', 0, 0, 1, -1772.01220703125, 6852.884765625, 184.9517974853515625, 5.98280954360961914, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Bel'ameth Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+14, 216675, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1709.4410400390625, 6939.54150390625, 180.940765380859375, 1.312006354331970214, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Resting Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+15, 216674, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1726.6944580078125, 6924.90478515625, 180.081817626953125, 5.315811634063720703, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Sparring Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+16, 212497, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1753.6583251953125, 6859.71826171875, 182.809326171875, 3.524875640869140625, 120, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 55461), -- Bloompaw Rabbit (Area: -Unknown- - Difficulty: 0) CreateObject1
(@CGUID+17, 216676, 2444, 15115, 15115, '0', '0', 0, 0, 1, -1752.816650390625, 6978.67431640625, 176.314178466796875, 2.0043182373046875, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 55461), -- Sparring Sentinel (Area: -Unknown- - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+18, 212497, 2444, 15115, 15115, '0', '0', 0, 0, 0, -1696.9293212890625, 6956.607421875, 180.1136016845703125, 5.708446979522705078, 120, 4, 0, 100, 1, NULL, NULL, NULL, NULL, 55461); -- Bloompaw Rabbit (Area: -Unknown- - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+18;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+1, 0, 0, 0, 0, 0, 1, 0, 720, 0, 0, 0, 0, ''), -- Resting Sentinel
(@CGUID+10, 0, 0, 0, 0, 0, 1, 0, 720, 0, 0, 0, 0, ''), -- Resting Sentinel
(@CGUID+11, 0, 0, 0, 0, 0, 1, 0, 743, 0, 0, 0, 0, ''), -- Resting Sentinel
(@CGUID+14, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Resting Sentinel
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+2;
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, 421761, 2444, 15115, 15115, '0', '0', 0, -1684.2066650390625, 7124.2724609375, 202.23785400390625, 0.95120316743850708, 0, 0, 0.457873344421386718, 0.889017403125762939, 120, 255, 1, 55461), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+1, 421762, 2444, 15115, 15115, '0', '0', 0, -1673.0850830078125, 7134.0712890625, 202.157989501953125, 3.577930212020874023, 0, 0, -0.97629547119140625, 0.216442063450813293, 120, 255, 1, 55461), -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
(@OGUID+2, 421766, 2444, 15115, 15115, '0', '0', 0, -1683.673583984375, 6947.2509765625, 188.221649169921875, 4.380779743194580078, 0, 0, -0.81411457061767578, 0.580704271793365478, 120, 255, 1, 55461); -- Bench (Area: -Unknown- - Difficulty: 0) CreateObject1
-- Template
UPDATE `creature_template` SET `faction`=1971, `speed_run`=1.385714292526245117, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216273; -- Bel'ameth Huntress
UPDATE `creature_template` SET `faction`=1971, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216759; -- Commander Mar'alith
UPDATE `creature_template` SET `faction`=35, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216748; -- Lysander Starshade
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=216792; -- Vannara
UPDATE `creature_template` SET `faction`=1971, `npcflag`=16777216, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216724; -- Saddled Stagwing
UPDATE `creature_template` SET `faction`=1971, `npcflag`=83, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=216270; -- Ravensmith Ta'lir
UPDATE `creature_template` SET `faction`=1971, `speed_run`=1.428571462631225585, `BaseAttackTime`=2000, `unit_flags`=256, `unit_flags2`=2048 WHERE `entry` IN (216674, 216676); -- Sparring Sentinel
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=212500; -- Dutiful Tender
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=216790; -- Alennah Starsong
UPDATE `creature_template` SET `faction`=1971, `speed_run`=1.428571462631225585, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=216675; -- Resting Sentinel
UPDATE `creature_template` SET `faction`=7, `speed_run`=1, `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=8388609 WHERE `entry`=216458; -- Sparring Dummy
UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_training_dummy' WHERE `entry` = 216458; -- Sparring Dummy
DELETE FROM `gameobject_template` WHERE `entry` IN (421761 /*Bench*/, 421762 /*Bench*/, 421766 /*Bench*/);
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
(421761, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55461), -- Bench
(421762, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55461), -- Bench
(421766, 7, 85900, 'Bench', '', '', '', 1, 2, 2, 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, 55461); -- Bench
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (216675 /*216675 (Resting Sentinel)*/, 216270 /*216270 (Ravensmith Ta'lir) - Work*/, 216458 /*216458 (Sparring Dummy) - Training Dummy Marker, [DNT] No Parry*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(216675, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 216675 (Resting Sentinel)
(216270, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 216270 (Ravensmith Ta'lir) - Work 421496
(216458, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '98892 349892'); -- 216458 (Sparring Dummy) - Training Dummy Marker; [DNT] No Parry
-- Creature Equip
DELETE FROM `creature_equip_template` WHERE (`ID`=1 AND `CreatureID` IN (216270,216676));
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(216270, 1, 182578, 0, 0, 0, 0, 0, 0, 0, 0, 55461), -- Ravensmith Ta'lir
(216676, 1, 208761, 0, 0, 165199, 0, 0, 0, 0, 0, 55461); -- Sparring Sentinel
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=216270 AND `MenuID`=32034);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(216270, 32034, 55461); -- Ravensmith Ta'lir
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+0;
INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES
(@NPCTEXTID+0, 1, 0, 0, 0, 0, 0, 0, 0, 244975, 0, 0, 0, 0, 0, 0, 0, 55461); -- 216270 (Ravensmith Ta'lir)
DELETE FROM `gossip_menu` WHERE (`MenuID`=32034 AND `TextID`=@NPCTEXTID+0);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(32034, @NPCTEXTID+0, 55461); -- 216270 (Ravensmith Ta'lir)
DELETE FROM `gossip_menu_option` WHERE (`MenuID`=32034 AND `OptionID`=0);
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(32034, 110533, 0, 3, 'Train me.', 3266, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 55461);
-- Trainer
DELETE FROM `creature_trainer` WHERE (`CreatureID`=216270 AND `MenuID`=32034 AND `OptionID`=0);
INSERT INTO `creature_trainer` (`CreatureID`, `TrainerID`, `MenuID`, `OptionID`) VALUES
(216270, 1080, 32034, 0);
DELETE FROM `trainer` WHERE `Id`=1080;
INSERT INTO `trainer` (`Id`, `Type`, `Greeting`, `VerifiedBuild`) VALUES
(1080, 2, 'Greetings, friend.', 55461);
DELETE FROM `trainer_spell` WHERE (`TrainerId`=1080 AND `SpellId` IN (396777,384314,382407,382346,382348,382387,389192,382402,382401,382330,382398,382397,382396,382395,382394,382393,382392,382391,382390,382389,382388,382386,382385,382384,382383,382380,382379,382378,382377,382376,382375,366244,264478));
INSERT INTO `trainer_spell` (`TrainerId`, `SpellId`, `MoneyCost`, `ReqSkillLine`, `ReqSkillRank`, `ReqAbility1`, `ReqAbility2`, `ReqAbility3`, `ReqLevel`, `VerifiedBuild`) VALUES
(1080, 396777, 1600000, 2827, 40, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 384314, 1000000, 2827, 15, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382407, 1000000, 2827, 15, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382346, 1300000, 2827, 25, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382348, 1600000, 2827, 40, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382387, 1700000, 2827, 45, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 389192, 1000000, 2827, 15, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382402, 1400000, 2827, 30, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382401, 1000000, 2827, 25, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382330, 1300000, 2827, 25, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382398, 1300000, 2827, 25, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382397, 1100000, 2827, 20, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382396, 1300000, 2827, 25, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382395, 1100000, 2827, 20, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382394, 1500000, 2827, 35, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382393, 1000000, 2827, 20, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382392, 1100000, 2827, 20, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382391, 1800000, 2827, 50, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382390, 1800000, 2827, 50, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382389, 1800000, 2827, 50, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382388, 1800000, 2827, 50, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382386, 800000, 2827, 15, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382385, 800000, 2827, 15, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382384, 800000, 2827, 15, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382383, 800000, 2827, 15, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382380, 1000000, 2827, 20, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382379, 1100000, 2827, 20, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382378, 800000, 2827, 10, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382377, 1000000, 2827, 15, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382376, 600000, 2827, 5, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 382375, 500000, 2827, 1, 0, 0, 0, 0, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 366244, 1000000, 202, 1, 0, 0, 0, 58, 55461), -- No Faction found! MoneyCost not recalculated!
(1080, 264478, 10, 0, 0, 0, 0, 0, 5, 55461); -- No Faction found! MoneyCost not recalculated!
-- Difficulty
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=55461 WHERE (`DifficultyID`=0 AND `Entry` IN (143622,216512,212109,217143,217142,212491,216710,212497,216251,216539,216274,216778,214196,216707,216462));
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=883, `StaticFlags1`=268435456, `VerifiedBuild`=55461 WHERE (`Entry`=216273 AND `DifficultyID`=0); -- 216273 (Bel'ameth Huntress) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `VerifiedBuild`=55461 WHERE (`Entry`=216759 AND `DifficultyID`=0); -- 216759 (Commander Mar'alith) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `StaticFlags3`=33554432, `VerifiedBuild`=55461 WHERE (`Entry`=216748 AND `DifficultyID`=0); -- 216748 (Lysander Starshade) - CanSwim - CannotTurn
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=805306368, `VerifiedBuild`=55461 WHERE (`Entry`=216792 AND `DifficultyID`=0); -- 216792 (Vannara) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2078, `StaticFlags1`=268435456, `VerifiedBuild`=55461 WHERE (`Entry`=216724 AND `DifficultyID`=0); -- 216724 (Saddled Stagwing) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=268435456, `StaticFlags3`=33554432, `VerifiedBuild`=55461 WHERE (`Entry`=216270 AND `DifficultyID`=0); -- 216270 (Ravensmith Ta'lir) - CanSwim - CannotTurn
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=883, `StaticFlags1`=268435456, `VerifiedBuild`=55461 WHERE (`Entry`=216674 AND `DifficultyID`=0); -- 216674 (Sparring Sentinel) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=883, `StaticFlags1`=268435456, `VerifiedBuild`=55461 WHERE (`Entry`=216676 AND `DifficultyID`=0); -- 216676 (Sparring Sentinel) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2078, `StaticFlags1`=268435456, `VerifiedBuild`=55461 WHERE (`Entry`=212500 AND `DifficultyID`=0); -- 212500 (Dutiful Tender) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=805306368, `VerifiedBuild`=55461 WHERE (`Entry`=216790 AND `DifficultyID`=0); -- 216790 (Alennah Starsong) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=883, `StaticFlags1`=268435456, `VerifiedBuild`=55461 WHERE (`Entry`=216675 AND `DifficultyID`=0); -- 216675 (Resting Sentinel) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=876, `StaticFlags1`=536871168, `VerifiedBuild`=55461 WHERE (`Entry`=216458 AND `DifficultyID`=0); -- 216458 (Sparring Dummy) - Sessile, Floating
-- Model
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (117017, 114249, 116741, 116992, 116989, 114247, 116990, 116644);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(117017, 0.388999998569488525, 1.5, 0, 55461),
(114249, 0.388999998569488525, 1.5, 0, 55461),
(116741, 0.466800004243850708, 1.80000007152557373, 0, 55461),
(116992, 0.305999994277954101, 1.5, 0, 55461),
(116989, 0.305999994277954101, 1.5, 0, 55461),
(114247, 0.305999994277954101, 1.5, 0, 55461),
(116990, 0.305999994277954101, 1.5, 0, 55461),
(116644, 0.408392846584320068, 0, 0, 55461);
UPDATE `creature_model_info` SET `VerifiedBuild`=55461 WHERE `DisplayID` IN (116851, 102069, 116849, 100359, 116848, 116850);
-- Ravensmith Ta'lir smart ai
SET @ENTRY := 216270;
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`, `Difficulties`, `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, 4, 0, 0, 80, 21627000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 4 - Self: Start timed action list id #Ravensmith Ta\'lir #0 (21627000) (update out of combat)'),
(@ENTRY, 0, 1, 0, '', 34, 0, 100, 0, 2, 9, 0, 0, 80, 21627001, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 9 - Self: Start timed action list id #Ravensmith Ta\'lir #1 (21627001) (update out of combat)'),
(@ENTRY, 0, 2, 0, '', 34, 0, 100, 0, 2, 10, 0, 0, 80, 21627002, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 10 - Self: Start timed action list id #Ravensmith Ta\'lir #2 (21627002) (update out of combat)');
-- Timed list 21627000 smart ai
SET @ENTRY := 21627000;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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, 9, 0, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Set stand state to KNEEL'),
(@ENTRY, 9, 1, 0, '', 0, 0, 100, 0, 4000, 4000, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 4 seconds - Self: Remove stand state KNEEL');
-- Timed list 21627001 smart ai
SET @ENTRY := 21627001;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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, 9, 0, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 85, 421496, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Cast spell 421496 on self'),
(@ENTRY, 9, 1, 0, '', 0, 0, 100, 0, 11000, 11000, 0, 0, 28, 421496, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 11 seconds - Self: Remove aura due to spell 421496');
-- Timed list 21627002 smart ai
SET @ENTRY := 21627002;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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, 9, 0, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 85, 421496, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Cast spell 421496 on self'),
(@ENTRY, 9, 1, 0, '', 0, 0, 100, 0, 7000, 7000, 0, 0, 28, 421496, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 7 seconds - Self: Remove aura due to spell 421496');
-- Path for Ravensmith Tal'ir
SET @ENTRY := 216270;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Ravensmith Ta''lir - Scripted Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -1713.354, 6964.286, 179.4502, NULL, 0),
(@PATH, 1, -1716.773, 6964.987, 179.4457, NULL, 0),
(@PATH, 2, -1719.96, 6965.412, 179.4667, NULL, 0),
(@PATH, 3, -1721.806, 6968.408, 179.4949, NULL, 0),
(@PATH, 4, -1721.875, 6970.304, 179.5261, NULL, 5332),
(@PATH, 5, -1723.677, 6966.156, 179.6047, NULL, 0),
(@PATH, 6, -1724.385, 6963.247, 179.498, NULL, 0),
(@PATH, 7, -1723.458, 6960.532, 179.4515, NULL, 0),
(@PATH, 8, -1721.84, 6959.065, 179.445, NULL, 0),
(@PATH, 9, -1719.469, 6959.993, 179.4458, NULL, 12971),
(@PATH, 10, -1713.368, 6961.27, 179.4545, NULL, 8644);
UPDATE `creature` SET `position_x`= -1713.354, `position_y`= 6964.286, `position_z`= 179.4502, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+12;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+12;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+12, @PATH, 1);
@@ -1,662 +0,0 @@
SET @OGUID := 7000361;
SET @CGUID := 7001367;
SET @TGUID = 35;
SET @NPCTEXTID := 570044;
DELETE FROM `transports` WHERE `guid` IN (@TGUID+0, @TGUID+1);
INSERT INTO `transports` (`guid`, `entry`, `name` , `ScriptName`) VALUES
(@TGUID+0, 278407, 'Sword of Dawn', 'transport_seething_shore'),
(@TGUID+1, 279254, 'The warbringer', 'transport_seething_shore');
UPDATE `world_safe_locs` SET `TransportSpawnId`=@TGUID+0 WHERE `ID` = 6337;
UPDATE `world_safe_locs` SET `TransportSpawnId`=@TGUID+1 WHERE `ID` = 6380;
DELETE FROM `battleground_template` WHERE `ID` = 894;
INSERT INTO `battleground_template` (`ID`, `AllianceStartLoc`, `HordeStartLoc`, `StartMaxDist`, `Weight`, `Comment`) VALUES
(894, 6337, 6380, 0, 1, 'Seething Shore');
DELETE FROM `battleground_scripts` WHERE `MapId` = 1803;
INSERT INTO `battleground_scripts` (`MapId`, `ScriptName`) VALUES
(1803, 'battleground_seething_shore');
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_bg_seething_shore_activate_azerite', 'spell_bg_seething_shore_azerite_geyser', 'spell_bg_seething_shore_rocket_parachute_trigger', 'spell_bg_seething_shore_rocket_parachute_ground_check', 'spell_bg_seething_shore_parachute', 'spell_bg_seething_shore_speed_up');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(248688, 'spell_bg_seething_shore_activate_azerite'),
(248668, 'spell_bg_seething_shore_azerite_geyser'),
(269779, 'spell_bg_seething_shore_parachute'),
(250917, 'spell_bg_seething_shore_rocket_parachute_trigger'),
(250921, 'spell_bg_seething_shore_rocket_parachute_ground_check'),
(294701, 'spell_bg_seething_shore_speed_up');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=248688 AND `ConditionTypeOrReference`=31;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES
(13, 1, 248688, 31, 3, 125253, 'Activate Azerite - Only Target Azerute Fissure');
DELETE FROM `graveyard_zone` WHERE `ID` IN (6337, 6380);
INSERT INTO `graveyard_zone` (`ID`, `GhostZone`, `Comment`) VALUES
(6337, 9136, 'Seething Shore - Alliance Airship'),
(6380, 9136, 'Seething Shore - Horde Airship');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 27 AND `SourceEntry` IN (6337, 6380);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceEntry`, `SourceGroup`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `NegativeCondition`, `Comment`) VALUES
(27, 6337, 9136, 0, 6, 469, 0, 0, 'Graveyard - Seething Shore - Alliance Airship - Team Alliance'),
(27, 6380, 9136, 0, 6, 67, 0, 0, 'Graveyard - Seething Shore - Horde Airship - Team Horde');
DELETE FROM `world_state` WHERE `ID` IN (13846, 13844, 13845);
INSERT INTO `world_state` (`ID`, `DefaultValue`, `MapIDs`, `Comment`) VALUES
(13846, 1500, '1803', 'Seething Shore - Max Score'),
(13844, 0, '1803', 'Seething Shore - Horde Score'),
(13845, 0, '1803', 'Seething Shore - Alliance Score');
DELETE FROM `areatrigger_create_properties` WHERE (`IsCustom`=0 AND `Id` IN (16508));
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `SpellForVisuals`, `ScriptName`, `VerifiedBuild`) VALUES
(16508, 0, 20909, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 300000, 0, 4, 4, 0, 0, 0, 0, 0, 0, 294566, 'at_bg_seething_shore_haste_rune_buff', 54205); -- Spell: 295663 (Create Haste Rune Buff Area Trigger)
DELETE FROM `areatrigger_template` WHERE (`IsCustom`=0 AND `Id` IN (20909));
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(20909, 0, 0, 54205);
DELETE FROM `vehicle_template_accessory` WHERE (`seat_id`=1 AND `entry`=133532) OR (`seat_id`=0 AND `entry` IN (133220, 133266));
INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `description`, `summontype`, `summontimer`) VALUES
(133532, 133533, 1, 1, 'Air Supplies - Air Supplies', 7, 0), -- Air Supplies - Air Supplies
(133220, 93493, 0, 0, 'Goblin Hot Air Balloon - Goblin Sky Bomber', 7, 0), -- Goblin Hot Air Balloon - Goblin Sky Bomber
(133266, 133267, 0, 0, 'Byron Holungo - Byron Holungo', 7, 0);
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN(133532, 133220, 133266);
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
(133532, 46598, 1, 1),
(133220, 43671, 1, 1),
(133266, 46598, 1, 1);
UPDATE `gameobject_template` SET `size`=0.949999988079071044, `Data9`=1, `VerifiedBuild`=54205 WHERE `entry`=281226; -- Horde Airship Prep Collision
UPDATE `gameobject_template` SET `ScriptName`='go_bg_seething_shore_azerite' WHERE `entry` IN (272471, 281306, 281307);
UPDATE `gameobject_template` SET `ScriptName` = 'transport_seething_shore' WHERE `entry` IN (278407, 279254);
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (272471 /*Azerite*/, 281306 /*Azerite*/, 281307 /*Azerite*/, 281224 /*Alliance Airship Prep Collision*/, 281226 /*Horde Airship Prep Collision*/, 278407, 279254);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(272471, 0, 32, 0, 0), -- Azerite
(281306, 0, 32, 0, 0), -- Azerite
(281307, 0, 32, 0, 0), -- Azerite
(281224, 1375, 32, 0, 0), -- Alliance Airship Prep Collision
(281226, 1375, 32, 0, 0), -- Horde Airship Prep Collision
(278407, 0, 1048616, 0, 0), -- Sword of Dawn
(279254, 0, 1048616, 0, 0); -- The Warbringer
UPDATE `gameobject_template_addon` SET `faction`=114 WHERE `entry`=206565; -- Food Buff
UPDATE `gameobject_template_addon` SET `faction`=114 WHERE `entry`=206566; -- Speed Buff
UPDATE `gameobject_template_addon` SET `faction`=114, `flags`=32 WHERE `entry`=206564; -- Berserk Buff
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, 281026, 1857, 9136, 9136, '0', '0', 0, -4.21496200561523437, -18.1041221618652343, 34.19417190551757812, 0, 0, 0, 0, 1, 7200, 255, 1, 54205), -- War Drums (Area: Seething Shore - Difficulty: 0) CreateObject1
(@OGUID+1, 281026, 1857, 9136, 9136, '0', '0', 0, 9.989482879638671875, -18.658599853515625, 34.79845428466796875, 0, 0, 0, 0, 1, 7200, 255, 1, 54205), -- War Drums (Area: Seething Shore - Difficulty: 0) CreateObject1
(@OGUID+2, 278775, 1856, 9136, 9136, '0', '0', 0, 13.60289192199707031, -4.72770023345947265, 20.79595565795898437, 3.103320121765136718, 0, 0, 0.99981689453125, 0.019135080277919769, 7200, 255, 1, 54205), -- Alliance Banner (Area: Seething Shore - Difficulty: 0) CreateObject1
(@OGUID+3, 278775, 1856, 9136, 9136, '0', '0', 0, 13.49236011505126953, 5.149053096771240234, 20.79655265808105468, 3.18142867088317871, 0, 0, -0.9998016357421875, 0.019916549324989318, 7200, 255, 1, 54205), -- Alliance Banner (Area: Seething Shore - Difficulty: 0) CreateObject1
(@OGUID+4, 281226, 1857, 9136, 9136, '0', '0', 0, 1, -1, 1, 0, 0, 0, 0, 1, 7200, 255, 1, 54205), -- Horde Airship Prep Collision (Area: Seething Shore - Difficulty: 0) CreateObject1
(@OGUID+5, 281224, 1856, 9136, 9136, '0', '0', 0, 1, 1, 1, 0, 0, 0, 0, 1, 7200, 255, 1, 54205); -- Alliance Airship Prep Collision (Area: Seething Shore - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+5;
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=67110912, `unit_flags3`=16777216 WHERE `entry`=125253; -- Azerite Fissure
UPDATE `creature_template` SET `unit_flags`=33554432 WHERE `entry`=133223; -- Adder
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=131776; -- Jeron Emberfall
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=132800; -- Mavvus Gingersnap
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags3`=8388608 WHERE `entry`=133059; -- General Harris
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=130682; -- Rylai Crestfall
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=133056; -- Xander Silberman
UPDATE `creature_template` SET `unit_flags`=33554432, `unit_flags2`=0 WHERE `entry`=132702; -- Alliance Gunship Cannon
UPDATE `creature_template` SET `unit_flags`=768, `ScriptName`='npc_bg_seething_shore_commander' WHERE `entry`=131773; -- Nathanos Blightcaller
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry`=132972; -- Skyguard Cannoneer
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=132739; -- Feezzel Gingersnap
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=130677; -- Gunship Grunt
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=130540; -- Skyguard Marine
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry`=133048; -- Tevs Rusthammer
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=130542; -- Deckhand
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=130537; -- Sergeant Blackwell
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=67110912, `unit_flags3`=16777216 WHERE `entry`=125253; -- Azerite Fissure
UPDATE `creature_template` SET `unit_flags`=512, `ScriptName`='npc_bg_seething_shore_commander' WHERE `entry`=130532; -- Master Mathias Shaw
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=133047; -- Peon
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=133042; -- Sky Marshall Gabriel
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=130535; -- Sergeant Schmidt
UPDATE `creature_template` SET `unit_flags`=33554432, `unit_flags3`=25165825, `flags_extra` = `flags_extra`|0x80 WHERE `entry`=125269; -- Controller
UPDATE `creature_template` SET `unit_flags`=512, `unit_flags3`=8388608 WHERE `entry`=93493; -- Goblin Sky Bomber
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags3`=16777216, `ScriptName`='npc_bg_seething_shore_air_supply_ground_dummy' WHERE `entry`=133542; -- Air Supply Ground Dummy
UPDATE `creature_template` SET `unit_flags`=33554944, `unit_flags3`=16777217 WHERE `entry`=133220; -- Goblin Hot Air Balloon
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=131149; -- Flying Machine
UPDATE `creature_template` SET `unit_flags`=33554432, `unit_flags3`=16777216 WHERE `entry`=133225; -- Frog
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=133224; -- Beetle
UPDATE `creature_template` SET `unit_flags`=33554432, `unit_flags3`=16777217 WHERE `entry`=133221; -- Skittering Softshell
UPDATE `creature_template` SET `unit_flags`=33554432, `unit_flags3`=16777216 WHERE `entry`=133222; -- Spider
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=133049; -- Gunship Warguard
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=132718; -- Sky Marshal Damarcus
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=133044; -- Grand Marshal Tremblade
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=133045; -- War Drummer
UPDATE `creature_template` SET `unit_flags`=33554432, `unit_flags2`=0 WHERE `entry`=133046; -- Horde Gunship Cannon
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=133043; -- High Warlord Volrath
UPDATE `creature_template` SET `unit_flags2`=67110912, `ScriptName`='npc_bg_seething_shore_air_supplies_crate', `AIName` = '' WHERE `entry`=133533; -- Air Supplies
UPDATE `creature_template` SET `unit_flags`=768, `unit_flags3`=16777216 WHERE `entry`=133266; -- Byron Holungo
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry`=133267; -- Byron Holungo
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x80, `ScriptName`='npc_bg_seething_shore_vignette_dummy' WHERE `entry`=129344;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 133533 AND `SourceId` = 0;
UPDATE `creature_template` SET `unit_flags2`=0, `ScriptName`='npc_bg_seething_shore_air_supplies_drop' WHERE `entry`=133532; -- Air Supplies
UPDATE `creature_template` SET `unit_flags`=512 WHERE `entry`=132960; -- Battle Alchemist Broadoak
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=54205 WHERE (`Entry`=133533 AND `DifficultyID`=0); -- Air Supplies
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54205 WHERE (`Entry`=133532 AND `DifficultyID`=0); -- Air Supplies
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54205 WHERE (`Entry`=88238 AND `DifficultyID`=0); -- Alliance Spirit Guide
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54205 WHERE (`Entry`=88239 AND `DifficultyID`=0); -- Horde Spirit Guide
UPDATE `creature_template_difficulty` SET `ContentTuningID`=971, `StaticFlags1`=536871168, `VerifiedBuild`=54205 WHERE (`Entry`=129344 AND `DifficultyID`=0); -- Vignette Dummy
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=131776 AND `DifficultyID`=0); -- Jeron Emberfall
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=132800 AND `DifficultyID`=0); -- Mavvus Gingersnap
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=133059 AND `DifficultyID`=0); -- General Harris
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=130682 AND `DifficultyID`=0); -- Rylai Crestfall
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=133056 AND `DifficultyID`=0); -- Xander Silberman
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54205 WHERE (`Entry`=132702 AND `DifficultyID`=0); -- Alliance Gunship Cannon
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=131773 AND `DifficultyID`=0); -- Nathanos Blightcaller
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=132972 AND `DifficultyID`=0); -- Skyguard Cannoneer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=132739 AND `DifficultyID`=0); -- Feezzel Gingersnap
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=130677 AND `DifficultyID`=0); -- Gunship Grunt
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=130540 AND `DifficultyID`=0); -- Skyguard Marine
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54205 WHERE (`Entry`=133048 AND `DifficultyID`=0); -- Tevs Rusthammer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=130537 AND `DifficultyID`=0); -- Sergeant Blackwell
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54205 WHERE (`Entry`=130532 AND `DifficultyID`=0); -- Master Mathias Shaw
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=133047 AND `DifficultyID`=0); -- Peon
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=130535 AND `DifficultyID`=0); -- Sergeant Schmidt
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54205 WHERE (`Entry`=125269 AND `DifficultyID`=0); -- Controller
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=54205 WHERE (`Entry`=93493 AND `DifficultyID`=0); -- Goblin Sky Bomber
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54205 WHERE (`Entry`=133220 AND `DifficultyID`=0); -- Goblin Hot Air Balloon
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368, `StaticFlags3`=262144, `VerifiedBuild`=54205 WHERE (`Entry`=131149 AND `DifficultyID`=0); -- Flying Machine
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=133222 AND `DifficultyID`=0); -- Spider
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=133049 AND `DifficultyID`=0); -- Gunship Warguard
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=132718 AND `DifficultyID`=0); -- Sky Marshal Damarcus
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=133045 AND `DifficultyID`=0); -- War Drummer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54205 WHERE (`Entry`=133046 AND `DifficultyID`=0); -- Horde Gunship Cannon
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=133043 AND `DifficultyID`=0); -- High Warlord Volrath
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=54205 WHERE (`DifficultyID`=0 AND `Entry` IN (133266,133267)); -- Byron Holungo
DELETE FROM `creature_template_addon` WHERE `entry` IN (125253, 133533, 133532, 133220, 133221, 131149, 93493, 132702, 133046, 133047, 132972);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(125253, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 4, ''), -- 125253 (Azerite Fissure)
(133533, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 4, '87992 115048 92406'), -- 133533 (Air Supplies) - Crate State - Rope Beam
(133532, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 4, ''), -- Air Supplies
(133220, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Goblin Hot Air Balloon
(133221, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123168'), -- Skittering Softshell - 123168 - Mod Scale 115-120%
(131149, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Flying Machine
(93493, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, ''), -- Goblin Sky Bomber
(132702, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 4, ''), -- Alliance Gunship Cannon
(133046, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, ''), -- Horde Gunship Cannon
(133047, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '261772'), -- Peon - 261772 - Hold Torch
(132972, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '261772'); -- Skyguard Cannoneer - 261772 - Hold Torch
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+132;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+28, 125253, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1343.720458984375, 2919.94970703125, 32.86999130249023437, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Azerite Fissure (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+32, 125253, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1390.2447509765625, 2570.76904296875, 6.463711261749267578, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Azerite Fissure (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+36, 125253, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1257.40625, 2882.73095703125, 27.95147514343261718, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Azerite Fissure (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+41, 125253, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1361.732666015625, 2643.2666015625, 4.467899322509765625, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Azerite Fissure (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+45, 125253, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1441.05908203125, 2700.151123046875, 9.504968643188476562, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Azerite Fissure (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+66, 125253, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1454.0850830078125, 2598.380126953125, 15.20614147186279296, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Azerite Fissure (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+82, 125253, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1126.6492919921875, 2781.23876953125, 30.86106491088867187, 1.093352198600769042, 7200, 10, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Azerite Fissure (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+112, 125253, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1461.357666015625, 2823.23779296875, 31.6768798828125, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Azerite Fissure (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+115, 125253, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1243.154541015625, 2721.46533203125, 11.90171432495117187, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Azerite Fissure (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+118, 125253, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1339.5555419921875, 2785.6806640625, 2.559282541275024414, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Azerite Fissure (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+121, 125253, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1259.1614990234375, 2571.4228515625, 8.586249351501464843, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Azerite Fissure (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+127, 125253, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1113.923583984375, 2886.9931640625, 38.45600128173828125, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205); -- Azerite Fissure (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `StringId`, `VerifiedBuild`) VALUES
(@CGUID+18, 133542, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1398.7603759765625, 2728.994873046875, 13.15371513366699218, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 'air_supply_ground_dummy_1', 54205), -- Air Supply Ground Dummy (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+19, 133542, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1226.2117919921875, 2935.498291015625, 55.46087265014648437, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 'air_supply_ground_dummy_2', 54205), -- Air Supply Ground Dummy (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+20, 133542, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1226.2066650390625, 2828.38720703125, 30.05081939697265625, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 'air_supply_ground_dummy_3', 54205), -- Air Supply Ground Dummy (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+59, 133542, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1384.6788330078125, 2848.819580078125, 21.447784423828125, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 'air_supply_ground_dummy_4', 54205), -- Air Supply Ground Dummy (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+107, 133542, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1323.0850830078125, 2629.416748046875, 0.848163008689880371, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 'air_supply_ground_dummy_5', 54205), -- Air Supply Ground Dummy (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+108, 133542, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1423.732666015625, 2871.681396484375, 37.09548568725585937, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 'air_supply_ground_dummy_6', 54205); -- Air Supply Ground Dummy (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: )
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 133043, 1857, 9136, 9136, '0', '0', 0, 0, 1, 48.26582717895507812, -0.31279590725898742, 30.178802490234375, 3.185770273208618164, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- High Warlord Volrath (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 164310 - Ashran Lane Mob Scaling Aura) (possible waypoints or random movement)
(@CGUID+1, 133046, 1857, 9136, 9136, '0', '0', 0, 0, 0, -3.8485107421875, 29.91275787353515625, 34.82189178466796875, 1.578369140625, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Horde Gunship Cannon (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+2, 133045, 1857, 9136, 9136, '0', '0', 0, 0, 1, -4.36667919158935546, -19.4284820556640625, 34.2917022705078125, 1.542391896247863769, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- War Drummer (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 228832 - Mod Scale Increase) (possible waypoints or random movement)
(@CGUID+3, 133044, 1856, 9136, 9136, '0', '0', 0, 0, 1, 44.0166168212890625, 0.043116465210914611, 25.20822525024414062, 3.087687015533447265, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Grand Marshal Tremblade (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+4, 132718, 1856, 9136, 9136, '0', '0', 0, 0, 1, -13.2925615310668945, 2.026167631149291992, 24.43621826171875, 2.166225433349609375, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Sky Marshal Damarcus (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+5, 133049, 1857, 9136, 9136, '0', '0', 0, 0, 1, 12.51219940185546875, 4.569972038269042968, 34.66072463989257812, 3.447937965393066406, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Gunship Warguard (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+6, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1454.962646484375, 2798.11962890625, 24.64184951782226562, 4.078551292419433593, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+7, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1335.60205078125, 2835.762451171875, 1.034905314445495605, 0.90386199951171875, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+8, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1444.7198486328125, 2795.10693359375, 21.22745704650878906, 5.819538116455078125, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+9, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1346.901123046875, 2611.02783203125, -0.78168416023254394, 3.918522834777832031, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+10, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1441.227294921875, 2821.525390625, 30.82892990112304687, 2.533825397491455078, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+11, 133224, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1148.4600830078125, 2761.30908203125, 25.55109405517578125, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Beetle (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+12, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1362.754150390625, 2599.63134765625, 0.279442250728607177, 2.084863901138305664, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+13, 133224, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1137.9375, 2791.780517578125, 30.27435302734375, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Beetle (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+14, 133225, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1284.3316650390625, 2887.61279296875, 26.73175048828125, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Frog (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+15, 133224, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1102.4322509765625, 2777.553955078125, 27.03694343566894531, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Beetle (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+16, 131149, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1112.013427734375, 2509.376953125, 156.48406982421875, 1.701693654060363769, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Flying Machine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+17, 133220, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1470.59033203125, 2627.364501953125, 513.9229736328125, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Goblin Hot Air Balloon (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+21, 125269, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1399.68408203125, 2766.31689453125, 3.485144376754760742, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Controller (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+22, 130535, 1856, 9136, 9136, '0', '0', 0, 0, 1, 16.10815811157226562, -2.13068008422851562, 20.50499343872070312, 3.127832651138305664, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Sergeant Schmidt (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection) (possible waypoints or random movement)
(@CGUID+23, 133042, 1856, 9136, 9136, '0', '0', 0, 0, 0, 42.8487701416015625, 3.690071582794189453, 25.19219970703125, 4.270403861999511718, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Sky Marshall Gabriel (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+24, 133047, 1857, 9136, 9136, '0', '0', 0, 0, 0, 15.05074405670166015, 25.7812652587890625, 35.46322250366210937, 0.778234124183654785, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Peon (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 261772 - Hold Torch) (possible waypoints or random movement)
(@CGUID+25, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1485.2791748046875, 2802.49169921875, 34.7978973388671875, 5.265888214111328125, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+26, 130532, 1856, 9136, 9136, '0', '0', 0, 0, 1, -13.9552288055419921, -0.343994140625, 24.50033760070800781, 1.611735463142395019, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Master Mathias Shaw (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+27, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1347.7705078125, 2554.14306640625, 0.536015212535858154, 5.455928325653076171, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+29, 133047, 1857, 9136, 9136, '0', '0', 0, 0, 0, -1.10877609252929687, 25.59661293029785156, 34.53367233276367187, 2.613483190536499023, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Peon (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 261772 - Hold Torch) (possible waypoints or random movement)
(@CGUID+30, 133046, 1857, 9136, 9136, '0', '0', 0, 0, 0, -23.2864723205566406, 27.40225601196289062, 34.42829132080078125, 1.527348518371582031, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Horde Gunship Cannon (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+31, 133045, 1857, 9136, 9136, '0', '0', 0, 0, 1, 10.22540664672851562, -19.5489559173583984, 34.92747879028320312, 1.77327275276184082, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- War Drummer (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 228832 - Mod Scale Increase) (possible waypoints or random movement)
(@CGUID+33, 130537, 1856, 9136, 9136, '0', '0', 0, 0, 1, 15.81837844848632812, 2.732185125350952148, 20.50688362121582031, 3.041016578674316406, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Sergeant Blackwell (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+34, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1229.1431884765625, 2705.036376953125, 5.220393657684326171, 2.160965204238891601, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+35, 133225, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1218.970458984375, 2877.0078125, 26.54184150695800781, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Frog (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+37, 130542, 1856, 9136, 9136, '0', '0', 0, 0, 1, 29.67688369750976562, 0.061542503535747528, 23.45696258544921875, 0.051342017948627471, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Deckhand (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+38, 133049, 1857, 9136, 9136, '0', '0', 0, 0, 1, 12.35111045837402343, -4.23962259292602539, 34.659393310546875, 2.792168140411376953, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Gunship Warguard (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+39, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1333.9249267578125, 2588.321044921875, 0.493305563926696777, 3.938067436218261718, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+40, 133048, 1857, 9136, 9136, '0', '0', 0, 0, 1, 43.07158660888671875, -5.18361282348632812, 30.178802490234375, 2.774509906768798828, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Tevs Rusthammer (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+42, 130540, 1856, 9136, 9136, '0', '0', 0, 0, 1, -14.4786109924316406, 11.64074325561523437, 20.49090194702148437, 1.578669667243957519, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skyguard Marine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+43, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1475.0546875, 2807.7314453125, 30.64089775085449218, 5.247282028198242187, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+44, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1349.03955078125, 2590.06005859375, 0.705318689346313476, 1.874322056770324707, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+46, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1435.8787841796875, 2825.154052734375, 33.8293609619140625, 5.118026256561279296, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+47, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1374.21533203125, 2551.144775390625, 0.400018572807312011, 1.994273304939270019, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+48, 130677, 1857, 9136, 9136, '0', '0', 0, 0, 1, -35.1225700378417968, -21.6558418273925781, 34.131591796875, 0.737916350364685058, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Gunship Grunt (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+49, 132739, 1856, 9136, 9136, '0', '0', 0, 0, 0, -58.6527900695800781, -2.40379309654235839, 23.48108291625976562, 5.089344978332519531, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Feezzel Gingersnap (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+50, 130677, 1857, 9136, 9136, '0', '0', 0, 0, 1, -33.2793502807617187, 21.268218994140625, 34.15110015869140625, 5.53271484375, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Gunship Grunt (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+51, 132972, 1856, 9136, 9136, '0', '0', 0, 0, 1, -3.73512649536132812, 22.57773208618164062, 21.73588180541992187, 2.383118867874145507, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skyguard Cannoneer (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 261772 - Hold Torch) (possible waypoints or random movement)
(@CGUID+52, 130540, 1856, 9136, 9136, '0', '0', 0, 0, 1, -12.9639215469360351, -13.651686668395996, 20.478240966796875, 4.683331012725830078, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skyguard Marine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+53, 130542, 1856, 9136, 9136, '0', '0', 0, 0, 1, -3.025146484375, -9.304443359375, 20.75067138671875, 0.042224545031785964, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Deckhand (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+54, 130540, 1856, 9136, 9136, '0', '0', 0, 0, 1, -1.11232376098632812, -13.6833124160766601, 20.53236579895019531, 4.633946418762207031, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skyguard Marine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+55, 131773, 1857, 9136, 9136, '0', '0', 0, 0, 1, 22.57613563537597656, 10.75596332550048828, 40.53900146484375, 2.081272840499877929, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Nathanos Blightcaller (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+56, 131149, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1242.7576904296875, 2700.78369140625, 168.1562042236328125, 2.716730833053588867, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Flying Machine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+57, 133220, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1300.8194580078125, 3144.25439453125, 398.692626953125, 1.46281898021697998, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Goblin Hot Air Balloon (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+58, 132702, 1856, 9136, 9136, '0', '0', 0, 0, 0, -5.01992988586425781, 24.43457603454589843, 21.732025146484375, 1.59703218936920166, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Alliance Gunship Cannon (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+60, 131149, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1003.94927978515625, 2756.8291015625, 279.31463623046875, 0.652265906333923339, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Flying Machine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+61, 133056, 1857, 9136, 9136, '0', '0', 0, 0, 0, 46.39287567138671875, 4.546421527862548828, 30.17881011962890625, 3.780830860137939453, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Xander Silberman (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+62, 131149, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1016.74444580078125, 2773.197021484375, 278.314697265625, 6.227115154266357421, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Flying Machine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+63, 133047, 1857, 9136, 9136, '0', '0', 0, 0, 0, -25.6241531372070312, 24.48468971252441406, 33.9487762451171875, 0.139996454119682312, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Peon (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 261772 - Hold Torch) (possible waypoints or random movement)
(@CGUID+64, 133046, 1857, 9136, 9136, '0', '0', 0, 0, 0, 17.90410041809082031, 29.11562156677246093, 36.22509384155273437, 1.45882582664489746, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Horde Gunship Cannon (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+65, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1361.6614990234375, 2598.394287109375, 0.48157358169555664, 2.903958082199096679, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+67, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1509.3074951171875, 2830.0029296875, 23.1142120361328125, 3.449080467224121093, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+68, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1212.323974609375, 2693.66455078125, 0.30512547492980957, 4.825959205627441406, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+69, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1469.5582275390625, 2815.036865234375, 28.59724617004394531, 1.997747063636779785, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+70, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1337.49462890625, 2651.881591796875, 0.660523414611816406, 4.691783428192138671, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+71, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1291.0621337890625, 2587.954833984375, 1.329391241073608398, 1.469087600708007812, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+72, 130677, 1857, 9136, 9136, '0', '0', 0, 0, 1, -34.0793342590332031, 18.82949256896972656, 34.29132843017578125, 0.421565473079681396, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Gunship Grunt (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+73, 130682, 1856, 9136, 9136, '0', '0', 0, 0, 1, -55.8800239562988281, 3.884849071502685546, 23.47028732299804687, 0.284854650497436523, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Rylai Crestfall (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+74, 131149, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1236.8428955078125, 2630.911865234375, 405.466094970703125, 0.232672646641731262, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Flying Machine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+75, 132972, 1856, 9136, 9136, '0', '0', 0, 0, 1, -31.394876480102539, 21.63326454162597656, 21.77811813354492187, 3.05550384521484375, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skyguard Cannoneer (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 261772 - Hold Torch) (possible waypoints or random movement)
(@CGUID+76, 133059, 1857, 9136, 9136, '0', '0', 0, 0, 1, -9.3961181640625, 14.787841796875, 33.906951904296875, 3.120755672454833984, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- General Harris (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection) (possible waypoints or random movement)
(@CGUID+77, 130542, 1856, 9136, 9136, '0', '0', 0, 0, 1, 32.24197006225585937, 0.696868300437927246, 23.51468276977539062, 1.556824445724487304, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Deckhand (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+78, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1334.4609375, 2555.609375, 0.219356194138526916, 2.560238838195800781, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+79, 130540, 1856, 9136, 9136, '0', '0', 0, 0, 1, -27.7923908233642578, 11.54807758331298828, 20.56229209899902343, 1.556898117065429687, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skyguard Marine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+80, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1386.09814453125, 2517.27001953125, 0.025659790262579917, 6.278612613677978515, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+81, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1507.35546875, 2831.459716796875, 23.76836776733398437, 4.946171760559082031, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+83, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1433.009521484375, 2519.8046875, 1.314021468162536621, 2.669278144836425781, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+84, 132800, 1856, 9136, 9136, '0', '0', 0, 0, 0, -57.8423194885253906, -4.4791874885559082, 23.53290748596191406, 1.958887100219726562, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Mavvus Gingersnap (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+85, 132702, 1856, 9136, 9136, '0', '0', 0, 0, 0, -18.5591468811035156, 23.65011024475097656, 21.697662353515625, 1.613786101341247558, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Alliance Gunship Cannon (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+86, 130540, 1856, 9136, 9136, '0', '0', 0, 0, 1, -24.6669921875, -13.0236759185791015, 20.53484916687011718, 4.678329944610595703, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skyguard Marine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+87, 131149, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1413.3603515625, 2961.130859375, 461.298370361328125, 0.445346832275390625, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Flying Machine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+88, 131149, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1006.18939208984375, 2782.48583984375, 279.314605712890625, 0.496292382478713989, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Flying Machine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+89, 131149, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1395.7989501953125, 2580.189453125, 116.3642196655273437, 3.136027336120605468, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Flying Machine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+90, 133220, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1097.88720703125, 2477.08154296875, 208.8053741455078125, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Goblin Hot Air Balloon (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+91, 131776, 1857, 9136, 9136, '0', '0', 0, 0, 1, 44.24065017700195312, 5.620276927947998046, 30.17880630493164062, 4.541813373565673828, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Jeron Emberfall (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+92, 133223, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1240.0711669921875, 2939, 56.10253143310546875, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Adder (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+93, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1464.579345703125, 2799.896484375, 27.12262153625488281, 2.14492034912109375, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+94, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1250.23681640625, 2815.145263671875, 31.18149757385253906, 5.441139698028564453, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+95, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1332.7938232421875, 2629.211669921875, -0.82580351829528808, 0.05238494649529457, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+96, 132960, 1856, 9136, 9136, '0', '0', 0, 0, 0, -54.8386993408203125, 5.621935367584228515, 23.50576019287109375, 5.393166542053222656, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Battle Alchemist Broadoak (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 247198 - Potionmaster) (possible waypoints or random movement)
(@CGUID+97, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1341.2066650390625, 2996.704833984375, 68.66146087646484375, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%)
(@CGUID+98, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1479.1669921875, 2818.75, 29.19844818115234375, 3.949086666107177734, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+99, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1362.4727783203125, 2688.15234375, 1.43612372875213623, 4.479050159454345703, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+100, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1443.3438720703125, 2852.173583984375, 37.91650390625, 5.410832405090332031, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+101, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1323.3065185546875, 2689.6767578125, 0.65737771987915039, 2.630320310592651367, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+102, 131149, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1708.9417724609375, 2863.59765625, 445.887054443359375, 0.232672050595283508, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Flying Machine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+103, 133224, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1136.1510009765625, 2800.045166015625, 29.07668876647949218, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Beetle (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+104, 133224, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1150.4896240234375, 2791.627685546875, 49.1589202880859375, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Beetle (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+105, 132972, 1856, 9136, 9136, '0', '0', 0, 0, 1, -16.8911037445068359, 21.85056495666503906, 21.68953514099121093, 2.82088017463684082, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skyguard Cannoneer (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 261772 - Hold Torch) (possible waypoints or random movement)
(@CGUID+106, 133220, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1727.53125, 2792.225830078125, 325.481201171875, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Goblin Hot Air Balloon (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+109, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1454.1083984375, 2503.28759765625, 0.328170329332351684, 1.994844555854797363, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+110, 133266, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1094.71533203125, 2902.552001953125, 44.06522369384765625, 2.291524410247802734, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Byron Holungo (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+111, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1271.0726318359375, 2599.248779296875, 2.79750823974609375, 3.145211219787597656, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+113, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1258.588134765625, 2596.36474609375, 4.1320343017578125, 4.551255226135253906, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+114, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1505.1607666015625, 2829.0068359375, 23.85546493530273437, 1.737656950950622558, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+116, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1368.5380859375, 2516.490234375, 0.352114081382751464, 2.939025640487670898, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%) (possible waypoints or random movement)
(@CGUID+117, 133222, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1460.161865234375, 2846.005126953125, 34.94598770141601562, 2.423222064971923828, 7200, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54205), -- Spider (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+119, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1339.04345703125, 3012.413330078125, 114.6979293823242187, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%)
(@CGUID+120, 133225, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1242.5347900390625, 2892.37158203125, 26.10341072082519531, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Frog (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+122, 130540, 1856, 9136, 9136, '0', '0', 0, 0, 1, -1.45382606983184814, 12.36301040649414062, 20.53528213500976562, 1.704131126403808593, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skyguard Marine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+123, 130542, 1856, 9136, 9136, '0', '0', 0, 0, 1, -2.5592041015625, 9.31005859375, 20.71612548828125, 6.255469322204589843, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Deckhand (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+124, 133221, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1125.8646240234375, 2831.224853515625, 29.88973045349121093, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skittering Softshell (Area: Seething Shore - Difficulty: 0) CreateObject1 (Auras: 123168 - Mod Scale 115-120%)
(@CGUID+125, 133225, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1240.3836669921875, 2973.181396484375, 59.04534912109375, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Frog (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+126, 132702, 1856, 9136, 9136, '0', '0', 0, 0, 0, -33.6063499450683593, 22.99365234375, 21.79162979125976562, 1.592116832733154296, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Alliance Gunship Cannon (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+128, 133224, 1803, 9136, 9136, '0', '0', 0, 0, 0, 1131.5694580078125, 2773.912353515625, 27.60393333435058593, 0, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Beetle (Area: Seething Shore - Difficulty: 0) CreateObject1
(@CGUID+129, 130540, 1856, 9136, 9136, '0', '0', 0, 0, 1, 39.50041580200195312, 44.24650955200195312, 25.11629676818847656, 4.258817195892333984, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Skyguard Marine (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+130, 130677, 1857, 9136, 9136, '0', '0', 0, 0, 1, -34.8671531677246093, -18.192962646484375, 34.32552337646484375, 5.44598388671875, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205); -- Gunship Grunt (Area: Seething Shore - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+131, 88239, 1857, 9136, 9515, '0', '0', 0, 0, 1, 0.877119839191436767, -0.19819752871990203, 34.29357147216796875, 1.636603832244873046, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Horde Spirit Guide (Area: Tar Pits - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual)
(@CGUID+132, 88238, 1856, 9136, 9515, '0', '0', 0, 0, 1, -24.7726306915283203, -0.02911946550011634, 20.68126296997070312, 6.244111537933349609, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205); -- Alliance Spirit Guide (Area: Tar Pits - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual)
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+132;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '164310'), -- High Warlord Volrath - 164310 - Ashran Lane Mob Scaling Aura
(@CGUID+2, 0, 0, 0, 0, 0, 1, 0, 0, 12265, 0, 0, 0, '228832'), -- War Drummer - 228832 - Mod Scale Increase
(@CGUID+5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Gunship Warguard
(@CGUID+22, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '18950'), -- Sergeant Schmidt - 18950 - Invisibility and Stealth Detection
(@CGUID+31, 0, 0, 0, 0, 0, 1, 0, 0, 12265, 0, 0, 0, '228832'), -- War Drummer - 228832 - Mod Scale Increase
(@CGUID+37, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- Deckhand
(@CGUID+38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Gunship Warguard
(@CGUID+40, 0, 0, 0, 0, 0, 1, 0, 483, 0, 0, 0, 0, ''), -- Tevs Rusthammer
(@CGUID+42, 0, 0, 0, 0, 0, 1, 0, 0, 2923, 0, 0, 0, ''), -- Skyguard Marine
(@CGUID+53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- Deckhand
(@CGUID+76, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, '18950'), -- General Harris - 18950 - Invisibility and Stealth Detection
(@CGUID+77, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- Deckhand
(@CGUID+79, 0, 0, 0, 0, 0, 1, 0, 0, 2923, 0, 0, 0, ''), -- Skyguard Marine
(@CGUID+91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Jeron Emberfall
(@CGUID+96, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '247198'), -- Battle Alchemist Broadoak - 247198 - Potionmaster
(@CGUID+110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Byron Holungo
(@CGUID+122, 0, 0, 0, 0, 0, 1, 0, 0, 2923, 0, 0, 0, ''), -- Skyguard Marine
(@CGUID+123, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- Deckhand
(@CGUID+129, 0, 0, 0, 0, 0, 1, 0, 0, 2923, 0, 0, 0, ''); -- Skyguard Marine
DELETE FROM `creature_formations` WHERE `leaderGUID` = @CGUID+62;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES
(@CGUID+62, @CGUID+62, 0, 0, 515),
(@CGUID+62, @CGUID+60, 10, 45, 515),
(@CGUID+62, @CGUID+88, 10, 315, 515);
DELETE FROM `creature_text` WHERE `CreatureID` = 131773;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(131773, 0, 0, 'Let me have a look at you. Ugh... pathetic! Why aren''t there any dark rangers in your ranks? Well, you''ll have to do.', 12, 0, 100, 1, 0, 0, 143504, 0, 'Nathanos Blightcaller'),
(131773, 1, 0, 'Champions of the Horde! We have found Azerite deposits on some wretched island off the Feralas coast. It is your duty to secure it in the name of the Dark Lady!', 12, 0, 100, 1, 0, 0, 143501, 0, 'Nathanos Blightcaller'),
(131773, 2, 0, 'Your mission here is simple. Collect every bit of Azerite and leave nothing for the Alliance to find. I trust that isn''t too hard to grasp.', 12, 0, 100, 1, 0, 0, 143502, 0, 'Nathanos Blightcaller'),
(131773, 3, 0, 'Down there... Azerite! Take it for our warchief. And should those Alliance get in your way, litter the beach with their corpses. Move!', 12, 0, 100, 1, 0, 0, 143505, 0, 'Nathanos Blightcaller'),
(131773, 4, 0, 'Supplies are on the way. I better not see the Alliance getting them before you do!', 12, 0, 100, 1, 0, 0, 143506, 0, 'Nathanos Blightcaller'),
(131773, 4, 1, 'Grab these supplies, if you need them. But don''t lose sight of the Banshee Queen''s prize!', 12, 0, 100, 1, 0, 0, 143507, 0, 'Nathanos Blightcaller'),
(131773, 5, 0, 'Zounds! There''s even more Azerite to be had. Follow your map and lock down those sites!', 12, 0, 100, 1, 0, 0, 143512, 0, 'Nathanos Blightcaller'),
(131773, 5, 1, 'Almost there. Do not relent. More Azerite!', 12, 0, 100, 1, 0, 94746, 143510, 0, 'Nathanos Blightcaller');
DELETE FROM `creature_text` WHERE `CreatureID` = 130532;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(130532, 0, 0, 'You all look like a sturdy lot. Hmm... could use another rogue or two, I''d say... but you''ll do!', 12, 0, 100, 1, 0, 0, 143496, 0, 'Master Mathias Shaw'),
(130532, 1, 0, 'Champions, Azerite deposits have been located on an island off the coast of Feralas. We must secure them before the Horde does.', 12, 0, 100, 1, 0, 0, 143483, 0, 'Master Mathias Shaw'),
(130532, 2, 0, 'We''ve brought our ship around to the center of the island. Collect as much Azerite as you can. It is the key to victory!', 12, 0, 100, 1, 0, 0, 143484, 0, 'Master Mathias Shaw'),
(130532, 3, 0, 'There''s a rich Azerite deposit below us, heroes. Get down there and collect all you can. And if those Horde marauders gets in your way... put them down!', 12, 0, 100, 1, 0, 0, 143486, 0, 'Master Mathias Shaw'),
(130532, 4, 0, 'Supplies incoming! Grab them, champions!', 12, 0, 100, 603, 0, 0, 143493, 0, 'Master Mathias Shaw'),
(130532, 5, 0, 'You kept that Azerite out of the Horde''s hands. Well done!', 12, 0, 100, 1, 0, 0, 143490, 0, 'Master Mathias Shaw'),
(130532, 5, 1, 'You''re doing well so far, heroes. But we need more Azerite!', 12, 0, 100, 0, 0, 0, 143489, 0, 'Master Mathias Shaw'),
(130532, 5, 2, 'You''re doing good work. Just a bit more Azerite and the day is ours!', 12, 0, 100, 1, 0, 0, 143491, 0, 'Master Mathias Shaw'),
(130532, 6, 0, 'Nicely done, champions! King Wrynn will be pleased to learn of your victory. For the Alliance!', 12, 0, 100, 1, 0, 0, 143494, 0, 'Master Mathias Shaw');
DELETE FROM `npc_vendor` WHERE `entry` IN (132960, 133056);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(132960, 10, 138478, 0, 6182, 1, 0, 0, 54673), -- Feast of Ribs
(132960, 9, 138479, 0, 6182, 1, 0, 0, 54673), -- Potato Stew Feast
(132960, 8, 163604, 0, 5986, 1, 0, 0, 54673), -- Net-o-Matic 5000
(132960, 6, 167862, 0, 6501, 1, 0, 0, 54673), -- Horde Glider Kit
(132960, 5, 138486, 0, 6181, 1, 0, 0, 54673), -- "Third Wind" Potion
(132960, 4, 138729, 0, 6181, 1, 0, 0, 54673), -- Potion of Heightened Senses
(132960, 3, 138488, 0, 6181, 1, 0, 0, 54673), -- Saltwater Potion
(132960, 2, 138728, 0, 6181, 1, 0, 0, 54673), -- Potion of Trivial Invisibility
(132960, 1, 138727, 0, 6181, 1, 0, 0, 54673), -- Potion of Defiance
(133056, 10, 138478, 0, 6182, 1, 0, 0, 54904), -- Feast of Ribs
(133056, 9, 138479, 0, 6182, 1, 0, 0, 54904), -- Potato Stew Feast
(133056, 8, 163604, 0, 5986, 1, 0, 0, 54904), -- Net-o-Matic 5000
(133056, 6, 167862, 0, 6501, 1, 0, 0, 54904), -- Horde Glider Kit
(133056, 5, 138486, 0, 6181, 1, 0, 0, 54904), -- "Third Wind" Potion
(133056, 4, 138729, 0, 6181, 1, 0, 0, 54904), -- Potion of Heightened Senses
(133056, 3, 138488, 0, 6181, 1, 0, 0, 54904), -- Saltwater Potion
(133056, 2, 138728, 0, 6181, 1, 0, 0, 54904), -- Potion of Trivial Invisibility
(133056, 1, 138727, 0, 6181, 1, 0, 0, 54904); -- Potion of Defiance
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, 146214, 0, 0, 0, 0, 0, 0, 0, 54904), -- 131776
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 146213, 0, 0, 0, 0, 0, 0, 0, 54673); -- 130682
DELETE FROM `gossip_menu` WHERE (`MenuID`=22094 AND `TextID`=@NPCTEXTID+0) OR (`menuID`=22093 AND `TextID`=@NPCTEXTID+1);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(22094, @NPCTEXTID+0, 54904), -- 131776
(22093, @NPCTEXTID+1, 54673); -- 130682
DELETE FROM `gossip_menu_option` WHERE (`MenuID` IN (22094, 22093) AND `OptionID`=0);
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(22093, 48128, 0, 0, 'Could you conjure me some food?', 90533, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 54673),
(22094, 48129, 0, 0, 'Could you conjure me some food?', 90533, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 54904);
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=131776 AND `MenuID`=22094) OR (`CreatureID`=130682 AND `MenuID`=22093);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(131776, 22094, 54904), -- Jeron Emberfall
(130682, 22093, 54673);
-- Waypoints
-- flying Machine - 1
SET @ENTRY := 131149;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0x2, 'Flying Machine - 1');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1349.8546, 2649.3228, 116.36422, NULL, 0),
(@PATH, 1, 1360.6932, 2665.5437, 116.36422, NULL, 0),
(@PATH, 2, 1376.9144, 2676.3826, 116.36422, NULL, 0),
(@PATH, 3, 1396.0486, 2680.1885, 116.36422, NULL, 0),
(@PATH, 4, 1415.1827, 2676.3826, 116.36422, NULL, 0),
(@PATH, 5, 1431.4039, 2665.5437, 116.36422, NULL, 0),
(@PATH, 6, 1442.2426, 2649.3228, 116.36422, NULL, 0),
(@PATH, 7, 1446.0486, 2630.1885, 116.36422, NULL, 0),
(@PATH, 8, 1442.2426, 2611.0542, 116.36422, NULL, 0),
(@PATH, 9, 1431.4039, 2594.8333, 116.36422, NULL, 0),
(@PATH, 10, 1415.1827, 2583.9944, 116.36422, NULL, 0),
(@PATH, 11, 1396.0486, 2580.1885, 116.36422, NULL, 0),
(@PATH, 12, 1376.9144, 2583.9944, 116.36422, NULL, 0),
(@PATH, 13, 1360.6932, 2594.8333, 116.36422, NULL, 0),
(@PATH, 14, 1349.8546, 2611.0542, 116.36422, NULL, 0),
(@PATH, 15, 1346.0486, 2630.1885, 116.36422, NULL, 0);
UPDATE `creature` SET `ScriptName` = '', `wander_distance` = 0, `MovementType` = 2 WHERE `guid` = @CGUID+89;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+89, @PATH, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Flying Machine
-- flying Machine - 2
SET @ENTRY := 131149;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0x2, 'Flying Machine - 2');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1059.1251, 2701.8071, 278.31467, NULL, 0),
(@PATH, 1, 1047.4727, 2686.1604, 278.31467, NULL, 0),
(@PATH, 2, 1030.7195, 2676.1638, 278.31467, NULL, 0),
(@PATH, 3, 1011.41595, 2673.3394, 278.31467, NULL, 0),
(@PATH, 4, 992.501, 2678.117, 278.31467, NULL, 0),
(@PATH, 8, 976.8542, 2689.7695, 278.31467, NULL, 0),
(@PATH, 9, 966.8576, 2706.5227, 278.31467, NULL, 0),
(@PATH, 10, 964.0332, 2725.8262, 278.31467, NULL, 0),
(@PATH, 11, 968.81085, 2744.7412, 278.31467, NULL, 0),
(@PATH, 12, 980.4633, 2760.388, 278.31467, NULL, 0),
(@PATH, 13, 997.21655, 2770.3845, 278.31467, NULL, 0),
(@PATH, 14, 1016.52, 2773.209, 278.31467, NULL, 0),
(@PATH, 15, 1035.435, 2768.4314, 278.31467, NULL, 0),
(@PATH, 16, 1051.0818, 2756.7788, 278.31467, NULL, 0),
(@PATH, 17, 1061.0784, 2740.0256, 278.31467, NULL, 0),
(@PATH, 18, 1063.9028, 2720.7222, 278.31467, NULL, 0);
UPDATE `creature` SET `ScriptName` = '', `wander_distance` = 0, `MovementType` = 2 WHERE `guid` = @CGUID+62;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+62, @PATH, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Flying Machine
-- flying Machine - 3
SET @ENTRY := 131149;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0x2, 'Flying Machine - 3');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1314.0575, 2856.8752, 461.29834, NULL, 0),
(@PATH, 1, 1357.412, 2921.76, 461.29834, NULL, 0),
(@PATH, 2, 1422.2966, 2965.1145, 461.29834, NULL, 0),
(@PATH, 3, 1498.8334, 2980.3386, 461.29834, NULL, 0),
(@PATH, 4, 1575.37, 2965.1145, 461.29834, NULL, 0),
(@PATH, 5, 1640.2546, 2921.76, 461.29834, NULL, 0),
(@PATH, 6, 1683.6093, 2856.8752, 461.29834, NULL, 0),
(@PATH, 7, 1698.8334, 2780.3386, 461.29834, NULL, 0),
(@PATH, 8, 1683.6093, 2703.802, 461.29834, NULL, 0),
(@PATH, 9, 1640.2548, 2638.9172, 461.29834, NULL, 0),
(@PATH, 10, 1575.3701, 2595.5627, 461.29834, NULL, 0),
(@PATH, 11, 1498.8334, 2580.3386, 461.29834, NULL, 0),
(@PATH, 12, 1422.2966, 2595.5627, 461.29834, NULL, 0),
(@PATH, 13, 1357.412, 2638.9172, 461.29834, NULL, 0),
(@PATH, 14, 1314.0575, 2703.802, 461.29834, NULL, 0),
(@PATH, 15, 1298.8334, 2780.3386, 461.29834, NULL, 0);
UPDATE `creature` SET `ScriptName` = '', `wander_distance` = 0, `MovementType` = 2 WHERE `guid` = @CGUID+87;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+87, @PATH, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Flying Machine
-- flying Machine - 4
SET @ENTRY := 131149;
SET @PATHOFFSET := 3;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0x2, 'Flying Machine - 4');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1098.5626, 2513.0332, 405.46613, NULL, 0),
(@PATH, 1, 1141.9171, 2577.918, 405.46613, NULL, 0),
(@PATH, 2, 1206.8018, 2621.2725, 405.46613, NULL, 0),
(@PATH, 3, 1283.3385, 2636.4966, 405.46613, NULL, 0),
(@PATH, 4, 1359.8751, 2621.2725, 405.46613, NULL, 0),
(@PATH, 5, 1424.7598, 2577.918, 405.46613, NULL, 0),
(@PATH, 6, 1468.1144, 2513.0332, 405.46613, NULL, 0),
(@PATH, 7, 1483.3385, 2436.4966, 405.46613, NULL, 0),
(@PATH, 8, 1468.1144, 2359.96, 405.46613, NULL, 0),
(@PATH, 9, 1424.7599, 2295.0752, 405.46613, NULL, 0),
(@PATH, 10, 1359.8752, 2251.7207, 405.46613, NULL, 0),
(@PATH, 11, 1283.3385, 2236.4966, 405.46613, NULL, 0),
(@PATH, 12, 1206.8018, 2251.7207, 405.46613, NULL, 0),
(@PATH, 13, 1141.9171, 2295.0752, 405.46613, NULL, 0),
(@PATH, 14, 1098.5626, 2359.96, 405.46613, NULL, 0),
(@PATH, 15, 1083.3385, 2436.4966, 405.46613, NULL, 0);
UPDATE `creature` SET `ScriptName` = '', `wander_distance` = 0, `MovementType` = 2 WHERE `guid` = @CGUID+74;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+74, @PATH, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Flying Machine
-- flying Machine - 5
SET @ENTRY := 131149;
SET @PATHOFFSET := 4;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0x2, 'Flying Machine - 5');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1570.6616, 2745.719, 445.88705, NULL, 0),
(@PATH, 1, 1614.0161, 2810.6038, 445.88705, NULL, 0),
(@PATH, 2, 1678.9008, 2853.9583, 445.88705, NULL, 0),
(@PATH, 3, 1755.4375, 2869.1824, 445.88705, NULL, 0),
(@PATH, 4, 1831.9741, 2853.9583, 445.88705, NULL, 0),
(@PATH, 5, 1896.8589, 2810.6038, 445.88705, NULL, 0),
(@PATH, 6, 1940.2134, 2745.719, 445.88705, NULL, 0),
(@PATH, 7, 1955.4375, 2669.1824, 445.88705, NULL, 0),
(@PATH, 8, 1940.2134, 2592.6458, 445.88705, NULL, 0),
(@PATH, 9, 1896.8589, 2527.761, 445.88705, NULL, 0),
(@PATH, 10, 1831.9741, 2484.4065, 445.88705, NULL, 0),
(@PATH, 11, 1755.4375, 2469.1824, 445.88705, NULL, 0),
(@PATH, 12, 1678.9008, 2484.4065, 445.88705, NULL, 0),
(@PATH, 13, 1614.0161, 2527.761, 445.88705, NULL, 0),
(@PATH, 14, 1570.6616, 2592.6458, 445.88705, NULL, 0),
(@PATH, 15, 1555.4375, 2669.1824, 445.88705, NULL, 0);
UPDATE `creature` SET `ScriptName` = '', `wander_distance` = 0, `MovementType` = 2 WHERE `guid` = @CGUID+102;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+102, @PATH, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Flying Machine
-- flying Machine - 6
SET @ENTRY := 131149;
SET @PATHOFFSET := 5;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0x2, 'Flying Machine - 6');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1114.7167, 2529.7676, 156.48407, NULL, 0),
(@PATH, 1, 1123.3876, 2542.7444, 156.48407, NULL, 0),
(@PATH, 2, 1136.3645, 2551.4153, 156.48407, NULL, 0),
(@PATH, 3, 1151.6719, 2554.4602, 156.48407, NULL, 0),
(@PATH, 4, 1166.9792, 2551.4153, 156.48407, NULL, 0),
(@PATH, 5, 1179.9562, 2542.7444, 156.48407, NULL, 0),
(@PATH, 6, 1188.6271, 2529.7676, 156.48407, NULL, 0),
(@PATH, 7, 1191.6719, 2514.4602, 156.48407, NULL, 0),
(@PATH, 8, 1188.6271, 2499.1528, 156.48407, NULL, 0),
(@PATH, 9, 1179.9562, 2486.176, 156.48407, NULL, 0),
(@PATH, 10, 1166.9792, 2477.5051, 156.48407, NULL, 0),
(@PATH, 11, 1151.6719, 2474.4602, 156.48407, NULL, 0),
(@PATH, 12, 1136.3645, 2477.5051, 156.48407, NULL, 0),
(@PATH, 13, 1123.3876, 2486.176, 156.48407, NULL, 0),
(@PATH, 14, 1114.7167, 2499.1528, 156.48407, NULL, 0),
(@PATH, 15, 1111.6719, 2514.4602, 156.48407, NULL, 0);
UPDATE `creature` SET `ScriptName` = '', `wander_distance` = 0, `MovementType` = 2 WHERE `guid` = @CGUID+16;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+16, @PATH, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Flying Machine
-- flying Machine - 7
SET @ENTRY := 131149;
SET @PATHOFFSET := 6;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0x2, 'Flying Machine - 7');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1217.0491, 2765.5266, 168.1562, NULL, 0),
(@PATH, 1, 1227.8877, 2781.7476, 168.1562, NULL, 0),
(@PATH, 2, 1244.1089, 2792.5864, 168.1562, NULL, 0),
(@PATH, 3, 1263.243, 2796.3923, 168.1562, NULL, 0),
(@PATH, 4, 1282.3772, 2792.5864, 168.1562, NULL, 0),
(@PATH, 5, 1298.5984, 2781.7476, 168.1562, NULL, 0),
(@PATH, 6, 1309.437, 2765.5266, 168.1562, NULL, 0),
(@PATH, 7, 1313.243, 2746.3923, 168.1562, NULL, 0),
(@PATH, 8, 1309.437, 2727.258, 168.1562, NULL, 0),
(@PATH, 9, 1298.5984, 2711.037, 168.1562, NULL, 0),
(@PATH, 10, 1282.3772, 2700.1982, 168.1562, NULL, 0),
(@PATH, 11, 1263.243, 2696.3923, 168.1562, NULL, 0),
(@PATH, 12, 1244.1089, 2700.1982, 168.1562, NULL, 0),
(@PATH, 13, 1227.8877, 2711.037, 168.1562, NULL, 0),
(@PATH, 14, 1217.0491, 2727.258, 168.1562, NULL, 0),
(@PATH, 15, 1213.243, 2746.3923, 168.1562, NULL, 0);
UPDATE `creature` SET `ScriptName` = '', `wander_distance` = 0, `MovementType` = 2 WHERE `guid` = @CGUID+56;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+56, @PATH, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Flying Machine
-- Jeron Emberfall smart ai
SET @ENTRY := 131776;
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`, `Difficulties`, `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, 1, '', 62, 0, 100, 0, 22094, 0, 0, 0, 86, 176351, 0, 7, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 22094 selected - Gossip player: Cast spell 176351 at Gossip player'),
(@ENTRY, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 22094 selected - Gossip player: Close gossip');
-- Rylai Crestfall smart ai
SET @ENTRY := 130682;
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`, `Difficulties`, `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, 1, '', 62, 0, 100, 0, 22093, 0, 0, 0, 86, 176351, 0, 7, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 22093 selected - Gossip player: Cast spell 176351 at Gossip player'),
(@ENTRY, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 22093 selected - Gossip player: Close gossip');
@@ -1,137 +0,0 @@
-- Creature
UPDATE `creature_template_difficulty` SET `ContentTuningID`=80, `StaticFlags1`=268435456, `VerifiedBuild`=53877 WHERE (`Entry`=59652 AND `DifficultyID`=0); -- Aysa Cloudsinger
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=53913 WHERE (`Entry`=59649 AND `DifficultyID`=0); -- Tushui Monk
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=53913 WHERE (`Entry`=61801 AND `DifficultyID`=0); -- Amberleaf Troublemaker
UPDATE `creature_template_difficulty` SET `ContentTuningID`=80, `StaticFlags1`=268435456, `VerifiedBuild`=53913 WHERE (`Entry`=54856 AND `DifficultyID`=0); -- Master Li Fei
UPDATE `creature_template_difficulty` SET `ContentTuningID`=80, `StaticFlags1`=268435456, `VerifiedBuild`=53913 WHERE (`Entry`=59637 AND `DifficultyID`=0); -- Amberleaf Troublemaker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=53913 WHERE (`Entry`=59642 AND `DifficultyID`=0); -- Aysa Cloudsinger
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048, `ScriptName`='npc_aysa_cloudsinger_summon' WHERE `entry`=59652; -- Aysa Cloudsinger
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048, `ScriptName`='npc_master_li_fei_summon' WHERE `entry`=54856; -- Master Li Fei
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=524288 WHERE `entry`=59637; -- Amberleaf Troublemaker
UPDATE `creature_template` SET `ScriptName`='npc_aysa_cloudsinger_cave_of_meditation', `StringId`='npc_aysa_quest_29414' WHERE `entry`=59642;
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 61801;
UPDATE `creature` SET `StringId`='npc_aysa_after_quest_29414' WHERE `guid`=450379;
DELETE FROM `creature_addon` WHERE `guid` = 450379;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(450379, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, '85096'); -- Aysa Cloudsinger - 85096 - Generic Quest Invisibility 7
DELETE FROM `creature_template_addon` WHERE `entry` = 54856;
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(54856, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '22650'); -- 54856 (Master Li Fei) - Ghost Visual
DELETE FROM `creature` WHERE `guid` IN (450358, 450361); -- These npcs were wrong spawned
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(450358, 61801, 860, 5736, 5848, '0', 838, 0, 0, 0, 1187.0625, 3439.999267578125, 102.6911392211914062, 3.016042709350585937, 20, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53913), -- Amberleaf Troublemaker (Area: Cave of Meditation - Difficulty: 0)
(450361, 61801, 860, 5736, 5848, '0', 838, 0, 0, 0, 1185.7725830078125, 3448.739501953125, 102.5142288208007812, 3.500391721725463867, 20, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53913); -- Amberleaf Troublemaker (Area: Cave of Meditation - Difficulty: 0)
DELETE FROM `creature_text` WHERE `CreatureID` IN (54567, 59642, 59652, 54856);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(54567, 0, 0, 'A challenge in compassion and humility. By helping Merchant Lorvo, it would seem you\'ve passed, $c. Master Shang would be pleased.', 12, 0, 100, 2, 0, 27404, 60599, 0, 'Aysa Cloudsinger to Player'),
(54567, 1, 0, 'And so our path lays before us. Speak to Master Shang Xi, he will tell you what comes next.', 12, 0, 100, 0, 0, 27399, 60046, 0, 'Aysa Cloudsinger to Player'),
(59642, 0, 0, 'Keep those creatures at bay while I meditate. We\'ll soon have the answers we seek.', 12, 0, 100, 0, 0, 27398, 59161, 0, 'Aysa Cloudsinger to Player'),
(59652, 0, 0, 'Meet me up in the cave if you would, friend.', 12, 0, 100, 396, 0, 27397, 59147, 0, 'Aysa Cloudsinger to Player'),
(54856, 0, 0, 'Master Li Fei\'s voice echoes, \"The way of the Tushui... enlightenment through patience and meditation... the principled life.\"', 16, 0, 100, 6, 0, 0, 53129, 0, 'Master Li Fei to Player'),
(54856, 1, 0, 'Master Li Fei\'s voice echoes, \"It is good to see you again, Aysa. You\'ve come with respect, and so I shall give you the answers you seek.\"', 16, 0, 100, 1, 0, 0, 53845, 0, 'Master Li Fei to Player'),
(54856, 2, 0, 'Master Li Fei\'s voice echoes, \"Huo, the spirit of fire, is known for his hunger. He wants for tinder to eat. He needs the caress of the wind to rouse him.\"', 16, 0, 100, 1, 0, 0, 53841, 0, 'Master Li Fei to Player'),
(54856, 3, 0, 'Master Li Fei\'s voice echoes, \"If you find these things and bring them to his cave, on the far side of Wu-Song Village, you will face a challenge within.\"', 16, 0, 100, 1, 0, 0, 53842, 0, 'Master Li Fei to Player'),
(54856, 4, 0, 'Master Li Fei\'s voice echoes, \"Overcome that challenge, and you shall be graced by Huo\'s presence. Rekindle his flame, and if your spirit is pure, he shall follow you.\"', 16, 0, 100, 1, 0, 0, 53843, 0, 'Master Li Fei to Player'),
(54856, 5, 0, 'Master Li Fei\'s voice echoes, \"Go, children. We shall meet again very soon.\"', 16, 0, 100, 2, 0, 0, 53844, 0, 'Master Li Fei to Player'),
(54856, 6, 0, 'Master Li Fei fades away.', 16, 0, 100, 0, 0, 0, 53130, 0, 'Master Li Fei to Player');
-- Gameobject
UPDATE `gameobject` SET `phaseUseFlags`=1 WHERE `guid` IN (300018, 300098);
-- Smart Scripts
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = -450358;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450358, 0, 0, 0, '', 1, 0, 100, 0, 5000, 10000, 0, 0, 0, '', 69, 0, 0, 0, 0, 0, 0, 0, NULL, 8, 0, 0, 0, 0, NULL, 1143.3512, 3437.6262, 104.967064, 0, 'Amberleaf Troublemaker - OOC - Move To Position');
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = -450361;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450361, 0, 0, 0, '', 1, 0, 100, 0, 5000, 10000, 0, 0, 0, '', 69, 0, 0, 0, 0, 0, 0, 0, NULL, 8, 0, 0, 0, 0, NULL, 1145.1484, 3432.8604, 105.24505, 0, 'Amberleaf Troublemaker - OOC - Move To Position');
-- Areatrigger
DELETE FROM `smart_scripts` WHERE `entryorguid`=7748 AND `source_type`=2 AND `id`=1;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(7748, 2, 1, 0, 46, 0, 100, 0, 7748, 0, 0, 0, 0, '', 86, 116219, 2, 10, 450351, 54567, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On Trigger - Cast Area Trigger Dummy Timer Aura A');
DELETE FROM `smart_scripts` WHERE `entryorguid` = 54567 AND `source_type` = 0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `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
(54567, 0, 0, 0, 31, 0, 100, 0, 116219, 0, 1000, 1000, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Aysa Cloudsinger - On Spellhit Target - Talk'),
(54567, 0, 1, 0, 19, 0, 100, 0, 29414, 0, 0, 0, 0, 85, 114728, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Aysa Cloudsinger - On Quest Accepted - Invoker cast \'Summon Aysa\'');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=1 AND `SourceEntry`=7748;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 1, 7748, 2, 0, 1, 0, 116221, 0, 0, 1, 0, 0, '', 'Areatrigger 7748 only triggers when player has not aura 116221'),
(22, 1, 7748, 2, 0, 47, 0, 29410, 2, 0, 0, 0, 0, '', 'Areatrigger 7748 only triggers when player has completed quest 29410');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=2 AND `SourceEntry`=7748;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 2, 7748, 2, 1, 1, 0, 116219, 0, 0, 1, 0, 0, '', 'Areatrigger 7748 only triggers when player has not aura 116219'),
(22, 2, 7748, 2, 1, 47, 0, 29419, 2, 0, 0, 0, 0, '', 'Areatrigger 7748 only triggers when player has completed quest 29419'),
(22, 2, 7748, 2, 1, 47, 0, 29424, 2, 0, 0, 0, 0, '', 'Areatrigger 7748 only triggers when player has completed quest 29424');
DELETE FROM `areatrigger_scripts` WHERE `entry` IN (7756, 7645);
INSERT INTO `areatrigger_scripts` VALUES
(7756, 'at_cave_of_meditation'),
(7645, 'at_inside_of_cave_of_meditation');
-- Spells
DELETE FROM `spell_script_names` WHERE `spell_id`=116421 AND `ScriptName`='spell_meditation_timer_bar';
INSERT INTO `spell_script_names` VALUES
(116421, 'spell_meditation_timer_bar');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=114728;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 114728, 0, 0, 51, 0, 5, 54567, 0, 0, 0, 0, '', 'Spell Summon Aysa can only hit Aysa Cloudsinger');
-- Phase
DELETE FROM `phase_area` WHERE `AreaId` = 5848 AND `PhaseId` = 838;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(5848, 838, 'See Cave of Scrolls Attack');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup`=838 AND `SourceEntry`=0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(26, 838, 0, 0, 0, 9, 0, 29414, 0, 0, 0, 0, 0, '', 'Apply Phase 838 if Quest 29414 is taken');
-- Waypoint
SET @ENTRY := 59652;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Aysa Cloudsinger - The Way of the Tushui Path (Run)');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1176.191, 3444.874, 103.3529, NULL, 0),
(@PATH, 1, 1149.949, 3437.170, 104.9670, NULL, 0);
SET @ENTRY := 54856;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Master Li Fen - The Way of the Tushui Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1126.932, 3428.669, 105.8901, NULL, 6464),
(@PATH, 1, 1131.328, 3437.516, 105.4583, NULL, 18697),
(@PATH, 2, 1131.889, 3428.207, 105.5141, NULL, 0),
(@PATH, 3, 1130.528, 3425.503, 105.8864, NULL, 29017),
(@PATH, 4, 1129.774, 3433.302, 105.5313, NULL, 0),
(@PATH, 5, 1130.557, 3436.087, 105.4839, NULL, 0);
DELETE FROM `spell_script_names` WHERE `spell_id`=114698;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(114698, 'spell_summon_amberleaf_troublemaker');
SET @ENTRY := 59637;
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`, `Difficulties`, `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, '', 11, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 9, 59642, 0, 50, 0, 0, 0, 0, 'On respawn - Self: Attack Creature Aysa Cloudsinger (59642) in 0 - 50 yards');
@@ -1,7 +0,0 @@
DELETE FROM `creature_formations` WHERE `leaderGUID`=9001816;
INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`,`point_1`,`point_2`) VALUES
(9001816,9001816,0,0,0,0,0),
(9001816,9001823,0,0,0,0,0),
(9001816,9001856,0,0,0,0,0);
UPDATE `creature` SET `StringId`='leymor_arcane_tender' WHERE `guid` IN (9001816,9001823,9001856);
@@ -1,16 +0,0 @@
-- Phase
DELETE FROM `phase_name` WHERE `ID` IN (15274,15278,14328,15356,15355,15275,15492,14847,15493,13843,15395,13417,15499);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(15274, 'Cosmetic - See wounded Alliance and Campfire'),
(15278, 'Cosmetic - See wounded Horde and Campfire'),
(14328, 'Cosmetic - See captured Druid (A|H) in Hruns Den'),
(15356, 'Cosmetic - See Harpy Totems in Harpy Roost (A)'),
(15355, 'Cosmetic - See Harpy Totems in Harpy Roost (H)'),
(15275, 'Cosmetic - See Catapults in Darkmaul City (A)'),
(15492, 'Cosmetic - See Catapults in Darkmaul City (H)'),
(14847, 'Cosmetic - See Ogre Runestones in Darkmaul City (A)'),
(15493, 'Cosmetic - See Ogre Runestones in Darkmaul City (H)'),
(13843, 'Cosmetic - See Captain Keira freed in Darkmaul City'),
(15395, 'Cosmetic - See Warlord Mulgrin Thunderwalker freed in Darkmaul City'),
(13417, 'Cosmetic - See Alliance Gryphon in Darkmaul City'),
(15499, 'Cosmetic - See Horde Wyvern in Darkmaul City');
@@ -1,43 +0,0 @@
SET @OGUID := 8000015;
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+4;
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, 350803, 2175, 10424, 10528, '0', 15355, 0, 465.720489501953125, -2508.295166015625, 147.4104156494140625, 3.157217979431152343, 0, 0, -0.999969482421875, 0.0078125, 120, 255, 1, 55461), -- Harpy Totem (Area: Harpy Roost - Difficulty: 0) CreateObject1
(@OGUID+1, 350803, 2175, 10424, 10528, '0', 15355, 0, 481.75, -2452.32470703125, 152.03143310546875, 0.12650531530380249, 0, 0, 0.063210487365722656, 0.998000204563140869, 120, 255, 1, 55461), -- Harpy Totem (Area: Harpy Roost - Difficulty: 0) CreateObject1
(@OGUID+2, 350803, 2175, 10424, 10528, '0', 15355, 0, 430.526031494140625, -2487.46533203125, 142.301300048828125, 1.587361812591552734, 0, 0, 0.712939262390136718, 0.701225817203521728, 120, 255, 1, 55461), -- Harpy Totem (Area: Harpy Roost - Difficulty: 0) CreateObject1
(@OGUID+3, 350803, 2175, 10424, 10528, '0', 15355, 0, 552.93402099609375, -2513.6650390625, 154.2525177001953125, 3.795985698699951171, 0, 0, -0.94694709777832031, 0.321389496326446533, 120, 255, 1, 55461), -- Harpy Totem (Area: Harpy Roost - Difficulty: 0) CreateObject1
(@OGUID+4, 350803, 2175, 10424, 10528, '0', 15355, 0, 502, -2589.651123046875, 155.433013916015625, 1.940680384635925292, 0, 0, 0.825078010559082031, 0.565018832683563232, 120, 255, 1, 55461); -- Harpy Totem (Area: Harpy Roost - Difficulty: 0) CreateObject1
-- Template Addon
DELETE FROM `gameobject_template_addon` WHERE `entry`=350803;
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(350803, 35, 262176, 0, 0); -- Harpy Totem
-- Phase
DELETE FROM `phase_area` WHERE `PhaseId` IN (15356, 15355);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(10424, 15356, 'Cosmetic - See Harpy Totems in Harpy Roost (A)'),
(10424, 15355, 'Cosmetic - See Harpy Totems in Harpy Roost (H)');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 15356 AND `SourceEntry` = 0) OR (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 15355 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUE
(26, 15356, 0, 0, 0, 6, 0, 469, 0, 0, 0, 'Apply Phase 15356 if player is Team Alliance'),
(26, 15355, 0, 0, 0, 6, 0, 67, 0, 0, 0, 'Apply Phase 15355 if player is Team Horde');
-- SpawnGroups
DELETE FROM `spawn_group` WHERE (`groupId` = 128 AND `spawnId` IN (600238, 600239, 600240, 600241, 600242));
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES
(128, 1, 600238),
(128, 1, 600239),
(128, 1, 600240),
(128, 1, 600241),
(128, 1, 600242);
DELETE FROM `spawn_group` WHERE (`groupId` = 129 AND `spawnId` IN (@OGUID+0, @OGUID+1, @OGUID+2, @OGUID+3, @OGUID+4));
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES
(129, 1, @OGUID+0),
(129, 1, @OGUID+1),
(129, 1, @OGUID+2),
(129, 1, @OGUID+3),
(129, 1, @OGUID+4);
@@ -1,100 +0,0 @@
/*
-- npc professions tailor
DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (8530,8531,8532) AND `OptionID` IN (1,2);
INSERT INTO `gossip_menu_option`(`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(8531, 1, 0, 'Please teach me how to become a Spellcloth tailor', 20241, 0, 0, 0, 0, 0, 200000, '*WARNING!* You can only select one tailoring specialization.', 20246, 0),
(8531, 2, 0, 'I wish to unlearn Spellfire Tailoring', 21566, 0, 0, 0, 0, 0, 1500000, 'Forgetting your skill in Spellfire Tailoring is not something to do lightly. If you choose to abandon it you will forget all recipes that require Spellfire Tailoring to create!$b$bAre you absolutely sure?', 21660, 0),
(8530, 1, 0, 'Please teach me how to become a Mooncloth tailor', 20240, 0, 0, 0, 0, 0, 200000, '*WARNING!* You can only select one tailoring specialization.', 20247, 0),
(8530, 2, 0, 'I wish to unlearn Mooncloth Tailoring', 21659, 0, 0, 0, 0, 0, 1500000, 'Forgetting your skill in Mooncloth Tailoring is not something to do lightly. If you choose to abandon it you will forget all recipes that require Mooncloth Tailoring to create!$b$bAre you absolutely sure?', 21662, 0),
(8532, 1, 0, 'Please teach me how to become a Shadoweave tailor', 20237, 0, 0, 0, 0, 0, 200000, '*WARNING!* You can only select one tailoring specialization.', 20248, 0),
(8532, 2, 0, 'I wish to unlearn Shadoweave Tailoring', 21658, 0, 0, 0, 0, 0, 1500000, 'Forgetting your skill in Shadoweave Tailoring is not something to do lightly. If you choose to abandon it you will forget all recipes that require Shadoweave Tailoring to create!$b$bAre you absolutely sure?', 21661, 0);
-- npc professions alchemy (https://tbc.wowhead.com/spell=41564/unlearn-elixir-mastery#comments)
UPDATE `creature_template` SET `ScriptName`='npc_prof_alchemy' WHERE `entry` IN (17909,19052,22427);
DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (7571,8540,8542) AND `OptionID` IN (1,2);
INSERT INTO `gossip_menu_option`(`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(8542, 1, 0, 'I\'ve trained as an alchemist once again. I wish to specialize in transmutations.', 20292, 0, 0, 0, 0, 0, 200000, NULL, 0, 0),
(8542, 2, 0, 'I wish to unlearn Transmutation Mastery.', 21876, 0, 0, 0, 0, 0, 1500000, 'Forgetting your skill in Transmutation Mastery is not something to do lightly.Are you absolutely sure?', 21872, 0),
(8540, 1, 0, 'I\'ve trained as an alchemist once again. I wish to specialize in elixirs.', 20289, 0, 0, 0, 0, 0, 200000, NULL, 0, 0),
(8540, 2, 0, 'I wish to unlearn Elixir Mastery.', 21875, 0, 0, 0, 0, 0, 1500000, 'Forgetting your skill in Elixir Mastery is not something to do lightly.Are you absolutely sure?', 21871, 0),
(7571, 1, 0, 'I\'ve trained as an alchemist once again. I wish to specialize in potions.', 20287, 0, 0, 0, 0, 0, 200000, NULL, 0, 0),
(7571, 2, 0, 'I wish to unlearn Potion Mastery.', 21874, 0, 0, 0, 0, 0, 1500000, 'Forgetting your skill in Potion Mastery is not something to do lightly.Are you absolutely sure?', 21870, 0);
-- npc professions leatherworking
UPDATE `creature_template` SET `gossip_menu_id`=3071 WHERE `entry`=7871;
DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (3067,3068,3069,3070,3071,3072) AND `OptionID` IN (1,2,3,4);
INSERT INTO `gossip_menu_option`(`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(3067, 1, 0, 'I am absolutely certain that I want to learn dragonscale leatherworking.', 11889, 0, 0, 0, 0, 0, 200000, NULL, 0, 0),
(3067, 2, 0, 'I wish to unlearn dragonscale leatherworking!', 18977, 0, 0, 0, 0, 0, 250000, 'Forgetting dragonscale leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require dragonscale leatherworking as well!', 18976, 0),
(3067, 3, 0, 'I wish to unlearn dragonscale leatherworking!', 18977, 0, 0, 0, 0, 0, 500000, 'Forgetting dragonscale leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require dragonscale leatherworking as well!', 18976, 0),
(3067, 4, 0, 'I wish to unlearn dragonscale leatherworking!', 18977, 0, 0, 0, 0, 0, 1000000, 'Forgetting dragonscale leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require dragonscale leatherworking as well!', 18976, 0),
(3068, 1, 0, 'I am absolutely certain that I want to learn dragonscale leatherworking.', 11889, 0, 0, 0, 0, 0, 200000, NULL, 0, 0),
(3068, 2, 0, 'I wish to unlearn dragonscale leatherworking!', 18977, 0, 0, 0, 0, 0, 250000, 'Forgetting dragonscale leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require dragonscale leatherworking as well!', 18976, 0),
(3068, 3, 0, 'I wish to unlearn dragonscale leatherworking!', 18977, 0, 0, 0, 0, 0, 500000, 'Forgetting dragonscale leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require dragonscale leatherworking as well!', 18976, 0),
(3068, 4, 0, 'I wish to unlearn dragonscale leatherworking!', 18977, 0, 0, 0, 0, 0, 1000000, 'Forgetting dragonscale leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require dragonscale leatherworking as well!', 18976, 0),
(3070, 1, 0, 'I am absolutely certain that I want to learn elemental leatherworking.', 11890, 0, 0, 0, 0, 0, 200000, NULL, 0, 0),
(3070, 2, 0, 'I wish to unlearn elemental leatherworking!', 18917, 0, 0, 0, 0, 0, 250000, 'Forgetting elemental leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require elemental leatherworking as well!', 18923, 0),
(3070, 3, 0, 'I wish to unlearn elemental leatherworking!', 18917, 0, 0, 0, 0, 0, 500000, 'Forgetting elemental leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require elemental leatherworking as well!', 18923, 0),
(3070, 4, 0, 'I wish to unlearn elemental leatherworking!', 18917, 0, 0, 0, 0, 0, 1000000, 'Forgetting elemental leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require elemental leatherworking as well!', 18923, 0),
(3069, 1, 0, 'I am absolutely certain that I want to learn elemental leatherworking.', 11890, 0, 0, 0, 0, 0, 200000, NULL, 0, 0),
(3069, 2, 0, 'I wish to unlearn elemental leatherworking!', 18917, 0, 0, 0, 0, 0, 250000, 'Forgetting elemental leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require elemental leatherworking as well!', 18923, 0),
(3069, 3, 0, 'I wish to unlearn elemental leatherworking!', 18917, 0, 0, 0, 0, 0, 500000, 'Forgetting elemental leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require elemental leatherworking as well!', 18923, 0),
(3069, 4, 0, 'I wish to unlearn elemental leatherworking!', 18917, 0, 0, 0, 0, 0, 1000000, 'Forgetting elemental leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require elemental leatherworking as well!', 18923, 0),
(3072, 1, 0, 'I am absolutely certain that I want to learn tribal leatherworking.', 11891, 0, 0, 0, 0, 0, 200000, NULL, 0, 0),
(3072, 2, 0, 'I wish to unlearn tribal leatherworking!', 18975, 0, 0, 0, 0, 0, 250000, 'Forgetting tribal leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require tribal leatherworking as well!', 18974, 0),
(3072, 3, 0, 'I wish to unlearn tribal leatherworking!', 18975, 0, 0, 0, 0, 0, 500000, 'Forgetting tribal leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require tribal leatherworking as well!', 18974, 0),
(3072, 4, 0, 'I wish to unlearn tribal leatherworking!', 18975, 0, 0, 0, 0, 0, 1000000, 'Forgetting tribal leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require tribal leatherworking as well!', 18974, 0),
(3071, 1, 0, 'I am absolutely certain that I want to learn tribal leatherworking.', 11891, 0, 0, 0, 0, 0, 200000, NULL, 0, 0),
(3071, 2, 0, 'I wish to unlearn tribal leatherworking!', 18975, 0, 0, 0, 0, 0, 250000, 'Forgetting tribal leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require tribal leatherworking as well!', 18974, 0),
(3071, 3, 0, 'I wish to unlearn tribal leatherworking!', 18975, 0, 0, 0, 0, 0, 500000, 'Forgetting tribal leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require tribal leatherworking as well!', 18974, 0),
(3071, 4, 0, 'I wish to unlearn tribal leatherworking!', 18975, 0, 0, 0, 0, 0, 1000000, 'Forgetting tribal leatherworking is not something to do lightly. If you choose to abandon it you will forget all recipes that require tribal leatherworking as well!', 18974, 0);
-- npc professions blacksmithing
DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (3182,3187,3201,3202,597,3203) AND `OptionID` IN (1,2);
DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (6090,6089,6091) AND `OptionID` IN (1,2,3,4);
INSERT INTO `gossip_menu_option`(`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(3182, 1, 0, 'I wish to become a weaponsmith.', 6477, 0, 0, 0, 0, 0, 0, NULL, 0, 0),
(3182, 2, 0, 'I wish to become an armorsmith.', 6476, 0, 0, 0, 0, 0, 0, NULL, 0, 0),
(3187, 1, 0, 'I wish to become a weaponsmith.', 6477, 0, 0, 0, 0, 0, 0, NULL, 0, 0),
(3187, 2, 0, 'I wish to become an armorsmith.', 6476, 0, 0, 0, 0, 0, 0, NULL, 0, 0),
(3201, 1, 0, 'I wish to unlearn Weaponsmithing!', 19007, 0, 0, 0, 0, 0, 50000, 'Forgetting your Weaponsmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Weaponsmithing to create!', 19008, 0),
(3201, 2, 0, 'I wish to unlearn Weaponsmithing!', 19007, 0, 0, 0, 0, 0, 100000, 'Forgetting your Weaponsmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Weaponsmithing to create!', 19008, 0),
(3202, 1, 0, 'I wish to unlearn Weaponsmithing!', 19007, 0, 0, 0, 0, 0, 50000, 'Forgetting your Weaponsmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Weaponsmithing to create!', 19008, 0),
(3202, 2, 0, 'I wish to unlearn Weaponsmithing!', 19007, 0, 0, 0, 0, 0, 100000, 'Forgetting your Weaponsmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Weaponsmithing to create!', 19008, 0),
(597, 1, 0, 'I wish to unlearn Armorsmithing!', 19010, 0, 0, 0, 0, 0, 50000, 'Forgetting your Armorsmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Armorsmithing to create!', 19011, 0),
(597, 2, 0, 'I wish to unlearn Armorsmithing!', 19010, 0, 0, 0, 0, 0, 100000, 'Forgetting your Armorsmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Armorsmithing to create!', 19011, 0),
(3203, 1, 0, 'I wish to unlearn Armorsmithing!', 19010, 0, 0, 0, 0, 0, 50000, 'Forgetting your Armorsmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Armorsmithing to create!', 19011, 0),
(3203, 2, 0, 'I wish to unlearn Armorsmithing!', 19010, 0, 0, 0, 0, 0, 100000, 'Forgetting your Armorsmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Armorsmithing to create!', 19011, 0),
(6090, 1, 0, 'Please teach me how to become a hammersmith, Lilith.', 9988, 0, 0, 0, 0, 0, 0, NULL, 0, 0),
(6090, 2, 0, 'I wish to unlearn Hammersmithing!', 18990, 0, 0, 0, 0, 0, 250000, 'Forgetting your Hammersmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Hammersmithing to create!', 18991, 0),
(6090, 3, 0, 'I wish to unlearn Hammersmithing!', 18990, 0, 0, 0, 0, 0, 500000, 'Forgetting your Hammersmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Hammersmithing to create!', 18991, 0),
(6090, 4, 0, 'I wish to unlearn Hammersmithing!', 18990, 0, 0, 0, 0, 0, 1000000, 'Forgetting your Hammersmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Hammersmithing to create!', 18991, 0),
(6089, 1, 0, 'Please teach me how to become an axesmith, Kilram.', 9985, 0, 0, 0, 0, 0, 0, NULL, 0, 0),
(6089, 2, 0, 'I wish to unlearn Axesmithing!', 18986, 0, 0, 0, 0, 0, 250000, 'Forgetting your Axesmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Axesmithing to create!', 18987, 0),
(6089, 3, 0, 'I wish to unlearn Axesmithing!', 18986, 0, 0, 0, 0, 0, 500000, 'Forgetting your Axesmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Axesmithing to create!', 18987, 0),
(6089, 4, 0, 'I wish to unlearn Axesmithing!', 18986, 0, 0, 0, 0, 0, 1000000, 'Forgetting your Axesmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require Axesmithing to create!', 18987, 0),
(6091, 1, 0, 'Please teach me how to become a swordsmith, Seril.', 9991, 0, 0, 0, 0, 0, 0, NULL, 0, 0),
(6091, 2, 0, 'I wish to unlearn Swordsmithing!', 18982, 0, 0, 0, 0, 0, 250000, 'Forgetting your swordsmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require swordsmithing to create!', 18983, 0),
(6091, 3, 0, 'I wish to unlearn Swordsmithing!', 18982, 0, 0, 0, 0, 0, 500000, 'Forgetting your swordsmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require swordsmithing to create!', 18983, 0),
(6091, 4, 0, 'I wish to unlearn Swordsmithing!', 18982, 0, 0, 0, 0, 0, 1000000, 'Forgetting your swordsmithing skill is not something to do lightly. If you choose to abandon it you will forget all recipes that require swordsmithing to create!', 18983, 0);
*/
-- npc professions engineering
DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (6092,6094,8308,8306) AND `OptionID`=0;
INSERT INTO `gossip_menu_option`(`GossipOptionID`, `MenuID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(-1559552, 6092, 0, 0, 'This Dimensional Imploder sounds dangerous! How can I make one?', 9994, 0, 0, 0, 0, NULL, 0, 0),
(32902, 6094, 0, 0, 'I must build a beacon for this marvelous device!', 9997, 6095, 0, 0, 0, NULL, 0, 55664),
(-2126848, 8308, 0, 0, 'This Dimensional Imploder sounds dangerous! How can I make one?', 9994, 0, 0, 0, 0, NULL, 0, 0),
(35448, 8306, 0, 0, 'I must build a beacon for this marvelous device!', 9997, 8307, 0, 0, 0, NULL, 0, 55664);
DELETE FROM `creature_template_gossip` WHERE `CreatureID`=21494 AND `MenuID`=8306;
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(21494, 8306, 55664); -- Smiles O'Byron
DELETE FROM `gossip_menu` WHERE (`MenuID`=6095 AND `TextID`=7252);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(6095, 7252, 55664); -- 14743 (Jhordy Lapforge)
UPDATE `gossip_menu_option` SET `GossipOptionID`=35449, `VerifiedBuild`=55664 WHERE (`MenuID`=8306 AND `OptionID`=1);
UPDATE `creature_template` SET `ScriptName`='' WHERE `ScriptName` IN ('npc_prof_blacksmith','npc_prof_leather','npc_prof_tailor','npc_prof_alchemy');
@@ -1,34 +0,0 @@
UPDATE `creature_template` SET `ScriptName`='boss_lady_waycrest' WHERE `entry`=131545; -- Lady Waycrest
UPDATE `creature_template` SET `ScriptName`='boss_lord_waycrest' WHERE `entry`=131527; -- Lord Waycrest
UPDATE `creature_template_difficulty` SET `StaticFlags4`=8192, `VerifiedBuild`=55461 WHERE `Entry` IN (131545, 131527); -- CREATURE_STATIC_FLAG_4_IGNORE_LOS_WHEN_CASTING_ON_ME
DELETE FROM `spell_target_position` WHERE (`ID`=267082 AND `EffectIndex`=0);
INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `VerifiedBuild`) VALUES
(267082, 0, 1862, -556.719970703125, -260.30999755859375, 185.2700042724609375, 55461); -- Spell: 267082 (Move to Arena) Efffect: 252 (SPELL_EFFECT_TELEPORT_UNITS)
DELETE FROM `spell_script_names` WHERE `spell_id` IN (261439, 261440, 261441, 268307, 268278, 268272, 268387, 261446);
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(261439, 'spell_lord_and_lady_waycrest_virulent_pathogen_selector'),
(261441, 'spell_lord_and_lady_waycrest_virulent_pathogen_selector'),
(261440, 'spell_lord_and_lady_waycrest_virulent_pathogen_damage'),
(268307, 'spell_lord_and_lady_waycrest_discordant_cadenza_selector'),
(268278, 'spell_lord_and_lady_waycrest_wracking_chord_selector'),
(268272, 'spell_lord_and_lady_waycrest_wracking_bolt_missile'),
(268387, 'spell_lord_and_lady_waycrest_contagious_remnants'),
(261446, 'spell_lord_and_lady_waycrest_vitality_transfer');
DELETE FROM `creature_text` WHERE `CreatureID` IN (131527, 131545);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(131545, 0, 0, 'Husband, please attend to our guests.', 14, 0, 50, 0, 0, 97499, 145923, 0, 'Lady Waycrest to Player'),
(131545, 0, 1, 'Oh look, husband. Your supper has arrived.', 14, 0, 50, 0, 0, 97498, 145919, 0, 'Lady Waycrest to Player'),
(131545, 1, 0, 'Simply inferior.', 14, 0, 50, 0, 0, 97491, 145952, 0, 'Lady Waycrest to Player'),
(131545, 1, 1, 'Good riddance.', 14, 0, 50, 0, 0, 97492, 145953, 0, 'Lady Waycrest to Player'),
(131545, 2, 0, '|TInterface\\ICONS\\INV_MISC_VOLATILESHADOW:20|t Lady Waycrest starts casting |cFFFF0404|Hspell:268306|h[Discordant Cadenza]|h|r!', 41, 0, 100, 0, 0, 0, 161927, 0, 'Lady Waycrest'),
(131545, 3, 0, 'No! You won\'t take him from me!', 14, 0, 33, 0, 0, 97500, 145924, 0, 'Lady Waycrest to Lord Waycrest'),
(131545, 3, 1, 'I will never let him go!', 14, 0, 33, 0, 0, 97501, 145925, 0, 'Lady Waycrest to Lord Waycrest'),
(131545, 3, 2, 'Our bond can never be broken!', 14, 0, 33, 0, 0, 97502, 145926, 0, 'Lady Waycrest to Lord Waycrest'),
(131545, 4, 0, 'We will never be parted...', 14, 0, 100, 0, 0, 97493, 145954, 0, 'Lady Waycrest to Player'),
(131527, 0, 0, 'Fester!', 14, 0, 50, 0, 0, 97465, 145959, 0, 'Lord Waycrest to Player'),
(131527, 0, 1, 'Rot!', 14, 0, 50, 0, 0, 97466, 145960, 0, 'Lord Waycrest to Player'),
(131527, 1, 0, 'Spare parts.', 14, 0, 50, 0, 0, 97467, 145961, 0, 'Lord Waycrest to Player'),
(131527, 1, 1, 'Broken.', 14, 0, 50, 0, 0, 97468, 145963, 0, 'Lord Waycrest to Player');
@@ -1,9 +0,0 @@
ALTER TABLE `areatrigger_template`
ADD `ActionSetId` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `Flags`,
ADD `ActionSetFlags` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `ActionSetId`;
UPDATE `areatrigger_template` SET `ActionSetFlags`=8 WHERE `Id`=48 AND `IsCustom`=1;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=28 AND `SourceGroup`=48 AND `SourceEntry`=1;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(28,48,1,0,0,36,0,0,0,0,'',1,0,0,'','Only trigger areatrigger when player is dead');
@@ -1,3 +0,0 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_pri_shadow_word_death';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(32379, 'spell_pri_shadow_word_death');
@@ -1,13 +0,0 @@
-- Lee Brown
UPDATE `trainer` SET `VerifiedBuild`=55664 WHERE `Id`=10;
DELETE FROM `creature_trainer` WHERE (`CreatureID`=1651 AND `MenuID`=5665 AND `OptionID`=0);
INSERT INTO `creature_trainer` (`CreatureID`, `TrainerID`, `MenuID`, `OptionID`) VALUES
(1651, 10, 5665, 0);
DELETE FROM `trainer_spell` WHERE (`TrainerId`=10 AND `SpellId` IN (271719,310676));
INSERT INTO `trainer_spell` (`TrainerId`, `SpellId`, `MoneyCost`, `ReqSkillLine`, `ReqSkillRank`, `ReqAbility1`, `ReqAbility2`, `ReqAbility3`, `ReqLevel`, `VerifiedBuild`) VALUES
(10, 271719, 10, 356, 1, 0, 0, 0, 5, 55664), -- No Faction found! MoneyCost not recalculated!
(10, 310676, 9500, 356, 1, 0, 0, 0, 10, 55664); -- No Faction found! MoneyCost not recalculated!
UPDATE `trainer_spell` SET `VerifiedBuild`=55664 WHERE (`TrainerId`=10 AND `SpellId` IN (271617,271663,271673,271659,271657,271661,271665));
@@ -1,4 +0,0 @@
-- Rest and Relaxation (2158)
DELETE FROM `disables` WHERE `sourceType` = 1 AND `entry` = 2158;
INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES
(1, 2158, 0, '', '', 'Deprecated quest: Rest and Relaxation');
@@ -1,34 +0,0 @@
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54205 WHERE (`Entry`=41200 AND `DifficultyID`=0); -- Generic Bunny - PRK
UPDATE `creature_template_difficulty` SET `ContentTuningID`=80, `LootID` = 54631, `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=54631 AND `DifficultyID`=0); -- Living Air
UPDATE `creature_template` SET `unit_flags3`=16777216, `AIName`='SmartAI' WHERE `entry`=41200; -- Generic Bunny - PRK
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags2`=2048, `unit_flags3`=524288, `AIName`='SmartAI' WHERE `entry`=54631; -- Living Air
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=106299;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 106299, 0, 0, 31, 0, 3, 41200, 0, '', 0, 0, 0, '', 'Spell \'Summon Living Air\' EFFECT_0 can only hit \'Generic Bunny - PRK\'');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=109062;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 109062, 0, 0, 31, 0, 3, 41200, 0, '', 0, 0, 0, '', 'Spell \'Summon Lightning\' EFFECT_0 can only hit \'Generic Bunny - PRK\'');
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-450483, 54631) AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `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
(-450483, 0, 0, 0, 8, 0, 100, 0, 106299, 0, 0, 0, 0, 85, 102207, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Generic Bunny - On Spellhit - Invoker Cast Summon Living Air'),
-- Living Air
(54631, 0, 1, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, 11, 109062, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Living Air - Just Spawned - Cast Summon Lightning'),
(54631, 0, 2, 0, 0, 0, 100, 0, 1000, 2000, 4000, 7000, 0, 11, 73212, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Living Air - Update IC - Cast Lightning Bolt'),
(54631, 0, 3, 0, 0, 0, 50, 0, 8000, 12000, 8000, 12000, 0, 11, 108693, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Living Air - Update IC - Cast Lightning Cloud');
DELETE FROM `creature_loot_template` WHERE `Entry`=54631;
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(54631, 72112, 0, 100, 1, 1, 0, 1, 1, ''),
(54631, 55983, 0, 29.5787, 0, 1, 0, 1, 1, ''),
(54631, 55973, 0, 59.7762, 0, 1, 0, 1, 1, ''),
(54631, 8182, 0, 0.00625078, 0, 1, 0, 1, 1, ''),
(54631, 8181, 0, 0.00625078, 0, 1, 0, 1, 1, ''),
(54631, 5572, 0, 0.0437555, 0, 1, 0, 1, 1, ''),
(54631, 5571, 0, 0.0437555, 0, 1, 0, 1, 1, ''),
(54631, 4496, 0, 0.106263, 0, 1, 0, 1, 1, ''),
(54631, 805, 0, 0.443805, 0, 1, 0, 1, 1, ''),
(54631, 3189, 0, 0.00625078, 0, 1, 0, 1, 1, ''),
(54631, 828, 0, 0.556319, 0, 1, 0, 1, 1, '');
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More