aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSnapperRy <snapperryen@gmail.com>2016-09-10 22:27:07 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-02-26 16:49:06 +0100
commit1f47542db605cf80166ccdb7468d9ccd62c4ad6c (patch)
tree9990734b866270e6d10eec6d9813f0269f980f5b
parentbcd076b550f2e93c67ebdfc7d4bc0717a27d7ef3 (diff)
DB/Quest: small fixes for The Frost Wyrm and its Master.
- Fix wrong spawntime for spellfocus gameobject. - Add conditions for quest item's spell to prevent exploits, by @sirikfoll Updates #3541 (cherry picked from commit c5d190a85a2e8f6cec0affa74548e22435eaa449)
-rw-r--r--sql/updates/world/master/2017_02_26_11_world_2016_09_10_06_world.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_02_26_11_world_2016_09_10_06_world.sql b/sql/updates/world/master/2017_02_26_11_world_2016_09_10_06_world.sql
new file mode 100644
index 00000000000..e9a4550993c
--- /dev/null
+++ b/sql/updates/world/master/2017_02_26_11_world_2016_09_10_06_world.sql
@@ -0,0 +1,6 @@
+--
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=42817;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(17, 0, 42817, 0, 0, 29, 0, 24019, 100, 0, 1, 0, 0, "", "Can cast spell Wyrmcaller's Horn if NPC Glacion is not near");
+
+UPDATE `gameobject` SET `spawntimesecs`=0 WHERE `guid`=6008;