aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyrserth <Wyrserth@users.noreply.github.com>2019-06-06 16:40:49 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-10 22:54:11 +0100
commit5848d495dcd42a45ab7904aa8a083e45f3d666cd (patch)
tree60fd56967467a255f28dcec8a41873b0ebb1fcb0
parenteb13377bae6618431a4e7bf04127a4f72293fd71 (diff)
DB/Gossip: add Death Knight-only gossip text for NPC The Ebon Watcher
Closes #23371 (cherry picked from commit 3c89f1325f160fd498033aa75ddb5ceaf88d8197)
-rw-r--r--sql/updates/world/master/2021_12_10_18_world_2019_06_06_02_world.sql9
1 files changed, 9 insertions, 0 deletions
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");