aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorModoX <moardox@gmail.com>2024-05-25 17:12:11 +0200
committerModoX <moardox@gmail.com>2024-05-25 17:12:11 +0200
commit577b40020c789a2a013c13e14a0231af85e2f181 (patch)
tree648df40b2c974fe2edab42314338b0e4202da0be /sql
parent09e61fa136ed81869447b467bcc79e6f46caafca (diff)
DB/Drustvar: Added Chelsea calm in Bleak Hills Mine
* part of Kul Tiran unlock questline
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2024_05_25_02_world.sql22
1 files changed, 22 insertions, 0 deletions
diff --git a/sql/updates/world/master/2024_05_25_02_world.sql b/sql/updates/world/master/2024_05_25_02_world.sql
new file mode 100644
index 00000000000..0b6d1cf1e34
--- /dev/null
+++ b/sql/updates/world/master/2024_05_25_02_world.sql
@@ -0,0 +1,22 @@
+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