aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2017-04-02 01:04:28 +0200
committertkrokli <tkrokli@users.noreply.github.com>2017-04-02 01:05:54 +0200
commit1af895dc97ccb6a2f7c62eb63062a6f5c94c8a9c (patch)
tree7c791a2754a2db722369fb75c9f90590bd215913
parent7bfc62639a8d6d378900c7878a0d1763e62344ee (diff)
DB/Quests: add condition for Bodley's gossip option
Bodley's gossip menu option 57006 id 2 "I've misplaced the Brazier of Beckoning!" should be shown only if quest 8996 (Return to Bodley) is not rewarded. Ref. issue #19375
-rw-r--r--sql/updates/world/3.3.5/2017_04_02_00_world_335.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2017_04_02_00_world_335.sql b/sql/updates/world/3.3.5/2017_04_02_00_world_335.sql
new file mode 100644
index 00000000000..c1a5ec8d97d
--- /dev/null
+++ b/sql/updates/world/3.3.5/2017_04_02_00_world_335.sql
@@ -0,0 +1,4 @@
+-- Show Bodley's gossip menu option 57006 id 2 only if quest 8996 is not rewarded
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 15 AND `SourceGroup`= 57006 AND `ConditionValue1`= 8996 AND `NegativeCondition`= 1;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
+(15, 57006, 2, 0, 0, 8, 0, 8996, 0, 0, 1, 0, '', 'Requires Quest 8996 Not Rewarded');