aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorModoX <moardox@gmail.com>2022-08-10 05:56:07 +0200
committerModoX <moardox@gmail.com>2022-08-10 05:56:07 +0200
commitadb4a9684746a0c641fb4ccb148bbf3ea771ac6a (patch)
tree5a429027c8d630b0ad2b71f4e17ec3e221997b4a
parent17840d4b52bd993cf15f1690e7c41261d5d7112c (diff)
DB/Spawns: Spawned Emissary Auldbridge (welcoming npc) in Broken Isles Dalaran
-rw-r--r--sql/updates/world/master/2022_08_10_01_world.sql25
1 files changed, 25 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_08_10_01_world.sql b/sql/updates/world/master/2022_08_10_01_world.sql
new file mode 100644
index 00000000000..6cc979ae150
--- /dev/null
+++ b/sql/updates/world/master/2022_08_10_01_world.sql
@@ -0,0 +1,25 @@
+--
+SET @CGUID := 650132;
+
+DELETE FROM `creature` WHERE `guid`=@CGUID+0;
+INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
+(@CGUID+0, 111109, 1220, 7502, 7506, '0', 7138, 0, 0, 0, -834.359375, 4399.119140625, 737.6126708984375, 4.948559761047363281, 120, 0, 0, 2588, 3801, 0, 0, 0, 0, 44908); -- Emissary Auldbridge (Area: Krasus' Landing - Difficulty: 0)
+
+DELETE FROM `creature_template_addon` WHERE `entry`=111109;
+INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
+(111109, 0, 0, 0, 257, 0, 0, 0, 0, 0, ''); -- 111109 (Emissary Auldbridge)
+
+UPDATE `creature_template` SET `minlevel`=45, `maxlevel`=45 WHERE `entry`=111109; -- Emissary Auldbridge
+
+DELETE FROM `phase_area` WHERE `PhaseId`=7138;
+INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
+(7502, 7138, 'See Emissary Auldbridge, welcoming in Broken Isles Dalaran');
+
+DELETE FROM `phase_name` WHERE `ID`=7138;
+INSERT INTO `phase_name` (`ID`, `Name`) VALUES
+(7138, 'See Emissary Auldbridge, welcoming in Broken Isles Dalaran');
+
+DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (7138));
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
+(26, 7138, 7502, 0, 0, 28, 0, 44663, 0, 0, 0, 'Player has completed quest In the Blink of an Eye (44663) (but not yet rewarded)'),
+(26, 7138, 7502, 0, 1, 28, 0, 44184, 0, 0, 0, 'Player has completed quest In the Blink of an Eye (44184) (but not yet rewarded)');