aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr-J <daniel.jarrott0@gmail.com>2015-12-16 21:57:52 +0000
committerDr-J <daniel.jarrott0@gmail.com>2015-12-16 21:57:52 +0000
commit7f404f00e7ed8e7edaef3f5858d16b7aa1ea5267 (patch)
tree00a995bd2cbec3d8ee963ca8a8da4e39211e4253
parent3685be2fb67cf9a6903b4f3aa55c20527330cce0 (diff)
DB/Conditions: Fix a levelling Exploit (3.3.5 only)
Fix a levelling exploit with http://www.wowhead.com/quest=254/digging-through-the-dirt and http://www.wowhead.com/quest=253/deprecated-bride-of-the-embalmer where multiple http://www.wowhead.com/npc=45801/eliza could be summoned and aoed down.
-rw-r--r--sql/updates/world/2015_12_16_02_world335.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/2015_12_16_02_world335.sql b/sql/updates/world/2015_12_16_02_world335.sql
new file mode 100644
index 00000000000..20c1ac94a39
--- /dev/null
+++ b/sql/updates/world/2015_12_16_02_world335.sql
@@ -0,0 +1,7 @@
+ DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` in(19,20) AND `SourceEntry`=254;
+
+ INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+ (19, 0, 254, 0, 0, 29, 0, 314, 200, 0, 1, 0, 0, '', 'Show quest \'Digging Through the Dirt\' only if no Eliza nearby'),
+ (20, 0, 254, 0, 0, 29, 0, 314, 200, 0, 1, 0, 0, '', 'Show quest \'Digging Through the Dirt\' only if no Eliza nearby'),
+ (19, 0, 254, 0, 0, 8, 0, 253, 0, 0, 1, 0, 0, '', 'Show quest \'Digging Through the Dirt\' only if quest \'Bride of the Embalmer\' is not rewarded'),
+ (19, 0, 254, 0, 0, 28, 0, 253, 0, 0, 1, 0, 0, '', 'Show quest \'Digging Through the Dirt\' only if quest \'Bride of the Embalmer\' is not completed');