aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSnapperRy <snapperryen@gmail.com>2016-09-10 22:27:07 +0200
committerGitHub <noreply@github.com>2016-09-10 22:27:07 +0200
commitc5d190a85a2e8f6cec0affa74548e22435eaa449 (patch)
tree1cecfbf8690ece1949cdee1f762f1c452cda533a
parent1f9abfd58511a5795ecf15d104a79d23d700a36c (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
-rw-r--r--sql/updates/world/3.3.5/2016_09_10_06_world.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2016_09_10_06_world.sql b/sql/updates/world/3.3.5/2016_09_10_06_world.sql
new file mode 100644
index 00000000000..e9a4550993c
--- /dev/null
+++ b/sql/updates/world/3.3.5/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;