From ad6ecbf09b24046bd05d4bbfa17ee07a020f99ea Mon Sep 17 00:00:00 2001 From: ariel- Date: Sat, 4 Mar 2017 12:21:19 -0300 Subject: DB/Conditions: fix Sablemane's Sleeping Powder exploit --- sql/updates/world/3.3.5/2017_03_04_03_world.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sql/updates/world/3.3.5/2017_03_04_03_world.sql diff --git a/sql/updates/world/3.3.5/2017_03_04_03_world.sql b/sql/updates/world/3.3.5/2017_03_04_03_world.sql new file mode 100644 index 00000000000..3a474c2c59a --- /dev/null +++ b/sql/updates/world/3.3.5/2017_03_04_03_world.sql @@ -0,0 +1,4 @@ +-- Condition for source Spell condition type Object entry guid +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceGroup`=0 AND `SourceEntry`=38510 AND `SourceId`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 38510, 0, 0, 31, 1, 3, 20216, 0, 0, 0, 0, '', 'Spell Sablemane''s Sleeping Powder will hit the explicit target of the spell if target is unit Grulloc.'); -- cgit v1.2.3