From 5848d495dcd42a45ab7904aa8a083e45f3d666cd Mon Sep 17 00:00:00 2001 From: Wyrserth Date: Thu, 6 Jun 2019 16:40:49 +0200 Subject: DB/Gossip: add Death Knight-only gossip text for NPC The Ebon Watcher Closes #23371 (cherry picked from commit 3c89f1325f160fd498033aa75ddb5ceaf88d8197) --- .../world/master/2021_12_10_18_world_2019_06_06_02_world.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sql/updates/world/master/2021_12_10_18_world_2019_06_06_02_world.sql (limited to 'sql') diff --git a/sql/updates/world/master/2021_12_10_18_world_2019_06_06_02_world.sql b/sql/updates/world/master/2021_12_10_18_world_2019_06_06_02_world.sql new file mode 100644 index 00000000000..9efe127a5f1 --- /dev/null +++ b/sql/updates/world/master/2021_12_10_18_world_2019_06_06_02_world.sql @@ -0,0 +1,9 @@ +-- +DELETE FROM `gossip_menu` WHERE `MenuID`=9999 AND `TextID`=13857; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(9999, 13857, -1); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9999; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 9999, 13856, 0, 0, 15, 0, 32, 0, 0, 1, 0, 0, "", "Show gossip text 13856 if player is NOT a Death Knight"), +(14, 9999, 13857, 0, 0, 15, 0, 32, 0, 0, 0, 0, 0, "", "Show gossip text 13857 if player is a Death Knight"); -- cgit v1.2.3