From 7f404f00e7ed8e7edaef3f5858d16b7aa1ea5267 Mon Sep 17 00:00:00 2001 From: Dr-J Date: Wed, 16 Dec 2015 21:57:52 +0000 Subject: 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. --- sql/updates/world/2015_12_16_02_world335.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sql/updates/world/2015_12_16_02_world335.sql (limited to 'sql') 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'); -- cgit v1.2.3