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
This commit is contained in:
SnapperRy
2016-09-10 22:27:07 +02:00
committed by GitHub
parent 1f9abfd585
commit c5d190a85a

View File

@@ -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;