aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-09-09 17:14:34 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-02-26 15:31:42 +0100
commit31a3f2297b421d2d15b5db630e419c3baa9ce2a3 (patch)
treef1db62a574f84f7d053c4dd7ad835d182400fb10 /sql/updates
parente941d7e04b41e9f7236db6981b7ddb1d071453ea (diff)
Core/Conditions: New CONDITION_QUESTSTATE (47). It's the existing quest conditions collapsed into a bitmask value2 because I'm a lazy person that doesn't like having long SQL queries.
Then use this new condition to fix Sniffing out the Perpetrator for Horde. Tagging issue #17914. (cherry picked from commit 62cffd11d0e9b33dd60cb5238f06d6dfd06415d8)
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/master/2017_02_26_04_world_2016_09_09_02_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_02_26_04_world_2016_09_09_02_world.sql b/sql/updates/world/master/2017_02_26_04_world_2016_09_09_02_world.sql
new file mode 100644
index 00000000000..2f0395782b4
--- /dev/null
+++ b/sql/updates/world/master/2017_02_26_04_world_2016_09_09_02_world.sql
@@ -0,0 +1,7 @@
+-- fix Sniffing out the Perpetrator (Horde side), issue #17914
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=29695 AND `SourceEntry`=40971;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`Comment`) VALUES
+ (1,29695,40971,0,47,12855,(2|8|64),0,0,"Brann's Communicator - Only drop if player has 'Sniffing out the Perpetrator' (12855) completed or rewarded."),
+ (1,29695,40971,0, 2,40971, 1,1,1,"Brann's Communicator - Only drop if player does not have 1 Brann's Communicator in their inventory or bank."),
+ (1,29695,40971,1,47,12910,(2|8|64),0,0,"Brann's Communicator - Only drop if player has 'Sniffing out the Perpetrator' (12910) completed or rewarded."),
+ (1,29695,40971,1, 2,40971, 1,1,1,"Brann's Communicator - Only drop if player does not have 1 Brann's Communicator in their inventory or bank.");