aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastro-Kraken <Alastro-Kraken@users.noreply.github.com>2022-01-22 23:51:53 +0200
committerShauren <shauren.trinity@gmail.com>2022-03-25 23:48:45 +0100
commitd6d26d125371ef731db348322c743ff7443cea6b (patch)
tree014ab666aa9405e834147a3dc428a48745ed3d31
parentf8e60f0b1f30b8351fef476d58f10d8a41b5b19f (diff)
DB/Gossip: Fix conditions for Keristrasza's gossip options & texts
Closes #27663 (cherry picked from commit 30d1f470fbe9de4acfd3eaa22e52875c9531f0c5)
-rw-r--r--sql/updates/world/master/2022_03_25_16_world_2022_01_22_15_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_03_25_16_world_2022_01_22_15_world.sql b/sql/updates/world/master/2022_03_25_16_world_2022_01_22_15_world.sql
new file mode 100644
index 00000000000..7b8df2978a2
--- /dev/null
+++ b/sql/updates/world/master/2022_03_25_16_world_2022_01_22_15_world.sql
@@ -0,0 +1,7 @@
+--
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14, 15) AND `SourceGroup`=9262;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(14, 9262, 12577, 0, 0, 8, 0, 11946, 0, 0, 1, 0, 0, "", "Show gossip text if quest 'Keristrasza' is not rewarded"),
+(14, 9262, 12576, 0, 0, 8, 0, 11946, 0, 0, 0, 0, 0, "", "Show gossip text if quest 'Keristrasza' is rewarded"),
+(15, 9262, 0, 0, 0, 47, 0, 11957, 10, 0, 0, 0, 0, "", "Show gossip option if player has quest 'Saragosa's End' in progress or completed"),
+(15, 9262, 1, 0, 0, 47, 0, 11967, 10, 0, 0, 0, 0, "", "Show gossip option if player has quest 'Mustering the Reds' in progress or completed");