fix(DB/quest): The Tear of the Moons (#4817)

This commit is contained in:
Peter
2021-03-14 11:28:55 +01:00
committed by GitHub
parent 1d591237ce
commit dd7027dca6

View File

@@ -0,0 +1,25 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1615548043862503366');
-- Feegly the Exhiled should use AI
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=3421;
-- Change spawn position slightly
UPDATE `creature` SET `position_x`=-4217.54, `position_y`=-2341.56, `position_z`=91.75, `orientation`=1.95 WHERE `guid`=14138;
-- Make him move around a little
UPDATE `creature` SET `MovementType`=1, `wander_distance`=3 WHERE `guid`=14138;
-- Transform to a Trogg and then die
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (3421,342100);
INSERT INTO `smart_scripts` VALUES
(3421,0,0,0,20,0,100,0,857,0,0,0,0,80,342100,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Feegly the Exiled - On Quest 'The Tear of the Moons' Finished - Run Script"),
(342100,9,0,0,0,0,100,0,1000,1000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Say Line 0"),
(342100,9,1,0,0,0,100,0,4000,4000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Say Line 1"),
(342100,9,2,0,0,0,100,0,2000,2000,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Say Line 2"),
(342100,9,3,0,0,0,100,0,4000,4000,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Say Line 3"),
(342100,9,4,0,0,0,100,0,2000,2000,0,0,0,5,15,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Play Emote 15"),
(342100,9,5,0,0,0,100,0,2000,2000,0,0,0,11,5142,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Cast Trogg Form"),
(342100,9,6,0,0,0,100,0,0,0,0,0,0,89,5,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Start Random Movement"),
(342100,9,7,0,0,0,100,0,10000,10000,0,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Kill Self");