diff options
author | SnapperRy <snapperryen@gmail.com> | 2016-07-15 20:44:10 +0200 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-02-05 19:58:13 +0100 |
commit | 0d7a49aa76c52a839482b924a4defc8c5057af5d (patch) | |
tree | 9552ca66c07385745c919c4ee2686b5a2bfb4aa3 | |
parent | 77f490f6301e00c83e2ac499e5fa04e523aaa8fb (diff) |
DB/Conditions: fix exploit related to quest Disclosure (ID: 12710)
NPC could be repeatedly summoned by clicking the related gameobject
(cherry picked from commit 11558b3bdc10ad429e8dbb9ab4489e39eb2d6fcc)
-rw-r--r-- | sql/updates/world/master/2017_02_05_24_world_2016_07_15_10_world.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_02_05_24_world_2016_07_15_10_world.sql b/sql/updates/world/master/2017_02_05_24_world_2016_07_15_10_world.sql new file mode 100644 index 00000000000..3b9491a1748 --- /dev/null +++ b/sql/updates/world/master/2017_02_05_24_world_2016_07_15_10_world.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=52839; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 52839, 0, 0, 29, 0, 28948, 40, 0, 1, 0, 0, "", "Spell Summon Escort Aura cannot be used if NPC Malmortis is within 40 yards."); |