refactor(Scripts/RuinsOfAhnQiraj): Buru eggs (#12822)

This commit is contained in:
Angelo Venturini
2022-08-23 08:01:28 -03:00
committed by GitHub
parent ca9c19ffd4
commit 119a2356a0
5 changed files with 58 additions and 36 deletions

View File

@@ -0,0 +1,6 @@
--
UPDATE `creature` SET `spawntimesecs` = 120 WHERE `id1` = 15514;
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 29) AND (`SourceEntry` = 15514) AND (`SourceId` = 0) AND (`ConditionTypeOrReference` = 13);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(29, 0, 15514, 0, 0, 13, 0, 16, 2, 0, 1, 0, 0, '', 'Buru Egg spawn only if Buru is in egg phase.');