DB/Quest: Escape from Silverbrook

Even though this was meant to have been fixed once the last commit did not actually fix this
also condition for the periodic spell so that it only targets silverbrook worgen rather than agroing neutral deers and stags, hostile npcs like bears and conquest hold guards will still attack the horse but the condition prevents the periodic threat spell from hitting anything other than silverbrook worgen.
This commit is contained in:
Dr-J
2016-09-21 13:44:38 +01:00
committed by GitHub
parent 1cc75eb924
commit f7f00d2f08

View File

@@ -0,0 +1,6 @@
UPDATE `smart_scripts` SET `event_flags`=512 WHERE `entryorguid`=27409 AND `source_type`=0;
UPDATE `smart_scripts` SET `event_flags`=512 WHERE `entryorguid`=2740900 AND `source_type`=9;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=48682;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 2, 48682, 0, 0, 31, 0, 3, 27417, 0, 0, 0, 0, '', 'Escape from Silverbrook - Periodic Dummy targets Silverbrook Worgen');