aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-03-04 12:21:19 -0300
committerShauren <shauren.trinity@gmail.com>2019-08-17 20:04:14 +0200
commit7f30b474a30b6fdc6182ec497fa3a148dc057e74 (patch)
treef4ef879218fc9d0cff3c0ad9a2649b54047dc50b /sql
parent3d52ba93fc59070ef0a8c3411440ad979399c954 (diff)
DB/Conditions: fix Sablemane's Sleeping Powder exploit
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2019_08_03_02_world_2017_03_04_03_world.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/master/2019_08_03_02_world_2017_03_04_03_world.sql b/sql/updates/world/master/2019_08_03_02_world_2017_03_04_03_world.sql
new file mode 100644
index 00000000000..3a474c2c59a
--- /dev/null
+++ b/sql/updates/world/master/2019_08_03_02_world_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.');