aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-03-04 12:21:19 -0300
committerariel- <ariel-@users.noreply.github.com>2017-03-04 12:22:21 -0300
commitad6ecbf09b24046bd05d4bbfa17ee07a020f99ea (patch)
tree3c8c682d3f666697f8b5ea64db444f844f05614f
parent431a57fbec7ef0ddfce7c282d85447e2fcb8171d (diff)
DB/Conditions: fix Sablemane's Sleeping Powder exploit
-rw-r--r--sql/updates/world/3.3.5/2017_03_04_03_world.sql4
1 files changed, 4 insertions, 0 deletions
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.');