diff options
| author | offl <offl@users.noreply.github.com> | 2021-01-23 00:32:25 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-03-06 00:57:16 +0100 |
| commit | a6c750d8838bed646af1c380946857b3dd764c18 (patch) | |
| tree | 8183ab8dcbdabcadec60ea1366ef296bce3ac468 | |
| parent | 5180abfb19b9c1c4f2df2fbfa918a62f1c4ae995 (diff) | |
DB/Creature: Add InteractionPauseTimer to two creatures
Closes #23503
Closes #25647
(cherry picked from commit e78465ccb4abefba1131f1490db2ea7c2944ed7c)
| -rw-r--r-- | sql/updates/world/master/2022_03_05_92_world_2021_01_22_02_world.sql | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_03_05_92_world_2021_01_22_02_world.sql b/sql/updates/world/master/2022_03_05_92_world_2021_01_22_02_world.sql new file mode 100644 index 00000000000..0d0ac02ada9 --- /dev/null +++ b/sql/updates/world/master/2022_03_05_92_world_2021_01_22_02_world.sql @@ -0,0 +1,12 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (14508) AND `source_type`=0 AND `id` =5; +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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(14508,0,5,0,40,0,100,0,15,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Short John Mithril - On Waypoint 15 Reached - Set Run On"); + +DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (14508,14823); +INSERT INTO `creature_template_movement` (`CreatureId`,`Ground`,`Swim`,`Flight`,`Rooted`,`Chase`,`Random`,`InteractionPauseTimer`) VALUES +(14508,1,1,0,0,0,0,0), +(14823,1,1,0,0,0,0,20000); + +-- Remove custom pauses +DELETE FROM `smart_scripts` WHERE `event_type` = 64 AND `action_type` = 54; |
