aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastro-Kraken <Alastro-Kraken@users.noreply.github.com>2022-01-22 23:51:53 +0200
committeroffl <offl@users.noreply.github.com>2022-01-22 23:51:53 +0200
commit30d1f470fbe9de4acfd3eaa22e52875c9531f0c5 (patch)
tree169fcc5f7244139b1e42cc6a8d5068cee9f48ef6
parent9f1c0a34db29388eff23f55afda4a3912f92ac00 (diff)
DB/Gossip: Fix conditions for Keristrasza's gossip options & texts
Closes #27663
-rw-r--r--sql/updates/world/3.3.5/2022_01_22_15_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2022_01_22_15_world.sql b/sql/updates/world/3.3.5/2022_01_22_15_world.sql
new file mode 100644
index 00000000000..7b8df2978a2
--- /dev/null
+++ b/sql/updates/world/3.3.5/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");