aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/master/2022_11_01_05_world.sql29
1 files changed, 29 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_11_01_05_world.sql b/sql/updates/world/master/2022_11_01_05_world.sql
new file mode 100644
index 00000000000..4e1577df575
--- /dev/null
+++ b/sql/updates/world/master/2022_11_01_05_world.sql
@@ -0,0 +1,29 @@
+SET @CGUID := 651356;
+
+DELETE FROM `creature` WHERE `guid` = @CGUID;
+INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
+(@CGUID, 93337, 1220, 7334, 7334, '0', '4741', 0, 0, 1, -79.126739501953125, 6859.22119140625, 31.05942535400390625, 2.138637065887451171, 7200, 0, 0, 3765600, 950250, 0, 0, 0, 0, 46366);
+
+DELETE FROM `creature_template_addon` WHERE `entry` = 93337;
+INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
+(93337, 0, 0, 0, 1, 0, 0, 0, 0, 0, '');
+
+DELETE FROM `creature_queststarter` WHERE (`id`=93337 AND `quest`=38834);
+INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
+(93337, 38834, 46366);
+
+DELETE FROM `phase_name` WHERE `ID` = 4741;
+INSERT INTO `phase_name` (`ID`, `Name`) VALUES
+(4741, 'Cosmetic - See Archmage Khadgar (Quest: Into the Fray)');
+
+DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 4741 AND `SourceEntry` = 7334);
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
+(26, 4741, 7334, 0, 0, 47, 0, 38834, 2 | 8 | 64, 0, 1, 'Apply Phase 4741 if Quest 38834 is not in progress | complete | rewarded');
+
+DELETE FROM `phase_area` WHERE `AreaId` = 7334 AND `PhaseId` = 4741;
+INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
+(7334, 4741, 'See Archmage Khadgar in Azsuna for Quest Into the Fray');
+
+UPDATE `quest_poi` SET `VerifiedBuild`=46366 WHERE (`QuestID`=38834 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=38834 AND `BlobIndex`=0 AND `Idx1`=0);
+UPDATE `quest_poi_points` SET `VerifiedBuild`=46366 WHERE (`QuestID`=38834 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=38834 AND `Idx1`=0 AND `Idx2`=0);
+UPDATE `quest_template` SET `VerifiedBuild`=46366 WHERE `ID`=38834;