From c5d190a85a2e8f6cec0affa74548e22435eaa449 Mon Sep 17 00:00:00 2001 From: SnapperRy Date: Sat, 10 Sep 2016 22:27:07 +0200 Subject: 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 --- sql/updates/world/3.3.5/2016_09_10_06_world.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 sql/updates/world/3.3.5/2016_09_10_06_world.sql (limited to 'sql') 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; -- cgit v1.2.3