DB/Quest: Update 'A Matter of Time' (4971)

This commit is contained in:
offl
2021-08-11 00:45:16 +03:00
parent bfb7a45600
commit f3aa84bf8b

View File

@@ -0,0 +1,97 @@
-- Old conditions are wrong https://www.wowhead.com/npc=10717/temporal-parasite#comments:id=298971
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (13,17) AND `SourceEntry` = 16613;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(13,2,16613,0,0,31,0,5,175795,0,0,0,0,"","Group 0: Spell 'Displacing Temporal Rift' (Effect 1) targets object 'Andorhal Silo Temporal Rift'");
UPDATE `gameobject` SET `spawntimesecs` = 120 WHERE `id` = 175795;
DELETE FROM `smart_scripts` WHERE `entryorguid` = 10717 AND `source_type` = 0;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(10717,0,0,0,63,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Temporal Parasite - On Just Created - Say Line 0"),
(10717,0,1,0,11,0,100,0,0,0,0,0,0,11,12980,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Temporal Parasite - On Spawn - Cast 'Simple Teleport'"),
-- Not first time I see that spell used on spawn or aggro or even after x seconds in combat, let's cast it just somewhere here
(10717,0,2,0,11,0,100,0,0,0,0,0,0,11,8279,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Temporal Parasite - On Spawn - Cast 'Stealth Detection'"),
(10717,0,3,0,0,0,100,0,0,0,10000,15000,0,11,11436,32,0,0,0,0,2,0,0,0,0,0,0,0,0,"Temporal Parasite - In Combat - Cast 'Slow'"),
(10717,0,4,0,6,0,25,0,0,0,0,0,0,11,16619,2,0,0,0,0,1,0,0,0,0,0,0,0,0,"Temporal Parasite - On Death - Cast 'Quest - Temporal Parasite Death Summon'");
-- Restore wrongly removed loot
UPDATE `creature_template` SET `lootid` = 10717 WHERE `entry` = 10717;
DELETE FROM `creature_loot_template` WHERE `Entry` = 10717;
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(10717,3669,0,61.9419,0,1,0,1,1,NULL),
(10717,3676,0,61.414,0,1,0,1,1,NULL),
(10717,3914,0,0.02,0,1,0,1,1,NULL),
(10717,3928,0,0.02,0,1,0,1,1,NULL),
(10717,4500,0,0.1,0,1,0,1,1,NULL),
(10717,5758,0,0.0574,0,1,0,1,1,NULL),
(10717,5759,0,0.1262,0,1,0,1,1,NULL),
(10717,7909,0,0.0918,0,1,0,1,1,NULL),
(10717,7910,0,0.1377,0,1,0,1,1,NULL),
(10717,7989,0,0.02,0,1,0,1,1,NULL),
(10717,8389,0,0.02,0,1,0,1,1,NULL),
(10717,8390,0,0.02,0,1,0,1,1,NULL),
(10717,8932,0,0.02,0,1,0,1,1,NULL),
(10717,8948,0,0.02,0,1,0,1,1,NULL),
(10717,8952,0,0.02,0,1,0,1,1,NULL),
(10717,8953,0,0.02,0,1,0,1,1,NULL),
(10717,8957,0,0.02,0,1,0,1,1,NULL),
(10717,9295,0,0.02,0,1,0,1,1,NULL),
(10717,9298,0,0.02,0,1,0,1,1,NULL),
(10717,10320,0,0.02,0,1,0,1,1,NULL),
(10717,11208,0,0.02,0,1,0,1,1,NULL),
(10717,11225,0,0.02,0,1,0,1,1,NULL),
(10717,12682,0,0.02,0,1,0,1,1,NULL),
(10717,12683,0,0.02,0,1,0,1,1,NULL),
(10717,12684,0,0.02,0,1,0,1,1,NULL),
(10717,12689,0,0.02,0,1,0,1,1,NULL),
(10717,12693,0,0.02,0,1,0,1,1,NULL),
(10717,12694,0,0.02,0,1,0,1,1,NULL),
(10717,12695,0,0.02,0,1,0,1,1,NULL),
(10717,12697,0,0.02,0,1,0,1,1,NULL),
(10717,12702,0,0.02,0,1,0,1,1,NULL),
(10717,12704,0,0.02,0,1,0,1,1,NULL),
(10717,12713,0,0.02,0,1,0,1,1,NULL),
(10717,13490,0,0.02,0,1,0,1,1,NULL),
(10717,13492,0,0.02,0,1,0,1,1,NULL),
(10717,14466,0,0.02,0,1,0,1,1,NULL),
(10717,14467,0,0.02,0,1,0,1,1,NULL),
(10717,14470,0,0.02,0,1,0,1,1,NULL),
(10717,14478,0,0.02,0,1,0,1,1,NULL),
(10717,14479,0,0.02,0,1,0,1,1,NULL),
(10717,14484,0,0.02,0,1,0,1,1,NULL),
(10717,14491,0,0.02,0,1,0,1,1,NULL),
(10717,14492,0,0.02,0,1,0,1,1,NULL),
(10717,14496,0,0.02,0,1,0,1,1,NULL),
(10717,14498,0,0.02,0,1,0,1,1,NULL),
(10717,14499,0,0.02,0,1,0,1,1,NULL),
(10717,14504,0,0.02,0,1,0,1,1,NULL),
(10717,14506,0,0.02,0,1,0,1,1,NULL),
(10717,14508,0,0.02,0,1,0,1,1,NULL),
(10717,15731,0,0.02,0,1,0,1,1,NULL),
(10717,15737,0,0.02,0,1,0,1,1,NULL),
(10717,15743,0,0.02,0,1,0,1,1,NULL),
(10717,15746,0,0.02,0,1,0,1,1,NULL),
(10717,15755,0,0.02,0,1,0,1,1,NULL),
(10717,15757,0,0.02,0,1,0,1,1,NULL),
(10717,15765,0,0.02,0,1,0,1,1,NULL),
(10717,16051,0,0.02,0,1,0,1,1,NULL),
(10717,16215,0,0.02,0,1,0,1,1,NULL),
(10717,16218,0,0.02,0,1,0,1,1,NULL),
(10717,16220,0,0.02,0,1,0,1,1,NULL),
(10717,16245,0,0.02,0,1,0,1,1,NULL),
(10717,16251,0,0.02,0,1,0,1,1,NULL),
(10717,22388,0,0.02,0,1,0,1,1,NULL),
(10717,24016,24016,1,0,1,1,1,1,NULL),
(10717,24024,24024,5,0,1,1,1,1,NULL),
(10717,24027,24027,1,0,1,1,1,1,NULL),
(10717,24028,24028,0.5,0,1,1,1,1,NULL),
(10717,24029,24029,1,0,1,1,1,1,NULL),
(10717,24030,24030,0.5,0,1,1,1,1,NULL),
(10717,24031,24031,1,0,1,1,1,1,NULL),
(10717,24032,24032,0.5,0,1,1,1,1,NULL),
(10717,24033,24033,1,0,1,1,1,1,NULL),
(10717,24034,24034,0.5,0,1,1,1,1,NULL),
(10717,24086,24086,0.1,0,1,1,1,1,NULL),
(10717,24087,24087,0.1,0,1,1,1,1,NULL),
(10717,24088,24088,0.1,0,1,1,1,1,NULL),
(10717,24089,24089,0.1,0,1,1,1,1,NULL);