aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyreth <Wyreth@users.noreply.github.com>2017-09-24 00:57:13 +0200
committerKillyana <morphone1@gmail.com>2017-09-24 00:57:13 +0200
commitf55ca6b4db6ca239ae390098349d77901e4d8591 (patch)
treecf254bd2e9354577c5bdfb21e8314d66a575077a
parent6add0dc70a829702581996e586a43e2e5b42d97b (diff)
DB/Creature: fix gossip for Eversong Partygoer
Closes #20403
-rw-r--r--sql/updates/world/3.3.5/2017_09_23_10_world.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2017_09_23_10_world.sql b/sql/updates/world/3.3.5/2017_09_23_10_world.sql
new file mode 100644
index 00000000000..5fa3077ea1a
--- /dev/null
+++ b/sql/updates/world/3.3.5/2017_09_23_10_world.sql
@@ -0,0 +1,12 @@
+-- Fix gossip for NPC Eversong Partygoer
+DELETE FROM `gossip_menu` WHERE `MenuID`=7346 AND `TextID` IN (8760, 8761);
+INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
+(7346, 8760, 0),
+(7346, 8761, 0);
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=7346;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(14, 7346, 8759, 0, 0, 8, 0, 9067, 0, 0, 1, 0, 0, "", "Show gossip text 8759 if quest 'The Party Never Ends' is NOT rewarded AND"),
+(14, 7346, 8759, 0, 0, 42, 1, 0, 3, 0, 1, 0, 0, "", "Show gossip text 8759 if NPC standstate is NOT 'sleep'"),
+(14, 7346, 8760, 0, 0, 8, 0, 9067, 0, 0, 0, 0, 0, "", "Show gossip text 8759 if quest 'The Party Never Ends' is rewarded AND"),
+(14, 7346, 8760, 0, 0, 42, 1, 0, 3, 0, 1, 0, 0, "", "Show gossip text 8759 if NPC standstate is NOT 'sleep'"),
+(14, 7346, 8761, 0, 0, 42, 1, 0, 3, 0, 0, 0, 0, "", "Show gossip text 8759 if NPC standstate is 'sleep'");