aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSnapperRy <snapperryen@gmail.com>2016-07-15 20:44:10 +0200
committerGitHub <noreply@github.com>2016-07-15 20:44:10 +0200
commit11558b3bdc10ad429e8dbb9ab4489e39eb2d6fcc (patch)
treedda665ade416c545ec5c7b36f8c273263dae4da6
parent8460285f9442c41615f4bac80e9810a6eab8c252 (diff)
DB/Conditions: fix exploit related to quest Disclosure (ID: 12710)
NPC could be repeatedly summoned by clicking the related gameobject
-rw-r--r--sql/updates/world/3.3.5/2016_07_15_10_world.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2016_07_15_10_world.sql b/sql/updates/world/3.3.5/2016_07_15_10_world.sql
new file mode 100644
index 00000000000..3b9491a1748
--- /dev/null
+++ b/sql/updates/world/3.3.5/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.");