aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyreth <Wyreth@users.noreply.github.com>2017-09-24 00:57:13 +0200
committerShauren <shauren.trinity@gmail.com>2020-09-09 23:32:19 +0200
commit19e77ea1b423098b3dd712bc49bb2a81c2ff6634 (patch)
tree6a6534fc6b4187e21da2d923282859319725db89
parente1cdc9a3cc520f4ab1c547976da2974563abe4dd (diff)
DB/Creature: fix gossip for Eversong Partygoer
Closes #20403 (cherry picked from commit f55ca6b4db6ca239ae390098349d77901e4d8591)
-rw-r--r--sql/updates/world/master/2020_09_09_04_world_2017_09_23_10_world.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/master/2020_09_09_04_world_2017_09_23_10_world.sql b/sql/updates/world/master/2020_09_09_04_world_2017_09_23_10_world.sql
new file mode 100644
index 00000000000..5fa3077ea1a
--- /dev/null
+++ b/sql/updates/world/master/2020_09_09_04_world_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'");