aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-09-09 17:14:34 +0200
committertreeston <treeston.mmoc@gmail.com>2016-09-09 17:14:34 +0200
commit62cffd11d0e9b33dd60cb5238f06d6dfd06415d8 (patch)
treec4b0995f1743d96e6c47f7cfc529e1446b8f1c2c /sql
parentb3d44d6c366c7e4f12a6ce30ee5cf6b9bff68a06 (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.
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2016_09_09_02_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2016_09_09_02_world.sql b/sql/updates/world/3.3.5/2016_09_09_02_world.sql
new file mode 100644
index 00000000000..2f0395782b4
--- /dev/null
+++ b/sql/updates/world/3.3.5/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.");