aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorModoX <moardox@gmail.com>2024-05-25 17:12:28 +0200
committerModoX <moardox@gmail.com>2024-05-25 17:19:13 +0200
commit6d0b14f91c321dcd2a42956deafb4841e6a6a4e0 (patch)
tree642472102f07b52f1e8458f1caf7975cd99215f4 /sql
parent577b40020c789a2a013c13e14a0231af85e2f181 (diff)
DB/Drustvar: Added Fled Wicker Beast with Keys in Bleak Hills Mine
* part of Kul Tiran unlock questline
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2024_05_25_03_world.sql26
1 files changed, 26 insertions, 0 deletions
diff --git a/sql/updates/world/master/2024_05_25_03_world.sql b/sql/updates/world/master/2024_05_25_03_world.sql
new file mode 100644
index 00000000000..a8c85a9f83d
--- /dev/null
+++ b/sql/updates/world/master/2024_05_25_03_world.sql
@@ -0,0 +1,26 @@
+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