diff options
| author | offl <11556157+offl@users.noreply.github.com> | 2022-02-09 15:13:12 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-03-26 14:13:43 +0100 |
| commit | 68df48acaaa17121ccf8b0eb82362c7a5420fd1a (patch) | |
| tree | 57952aa898f2443632678bdfcce924a0e79cfb40 /sql/updates | |
| parent | be0cdecb433f9aba4a907461bd4db5d8605ad432 (diff) | |
Scripts/Items: Fix Goblin Bomb Dispenser (#27749)
Closes #26523
(cherry picked from commit 2cb970c66387137c3593184a0d392afb153cf56d)
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/world/master/2022_03_26_04_world_2022_02_09_04_world.sql | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_03_26_04_world_2022_02_09_04_world.sql b/sql/updates/world/master/2022_03_26_04_world_2022_02_09_04_world.sql new file mode 100644 index 00000000000..9a489b57cad --- /dev/null +++ b/sql/updates/world/master/2022_03_26_04_world_2022_02_09_04_world.sql @@ -0,0 +1,16 @@ +-- +DELETE FROM `spell_script_names` WHERE `spell_id` = 23134 AND `ScriptName` = 'spell_item_goblin_bomb_dispenser'; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(23134,'spell_item_goblin_bomb_dispenser'); + +UPDATE `creature_template` SET `minlevel` = 45, `maxlevel` = 45, `speed_walk` = 1, `speed_run` = 0.714286, `AIName` = 'SmartAI' WHERE `entry` = 8937; +UPDATE `serverside_spell` SET `SpellName` = 'Quiet Suicide' WHERE `Id` = 3617; + +DELETE FROM `creature_template_addon` WHERE `entry` = 8937; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `MountCreatureID`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(8937, 0, 0, 0, 0, 1, 0, 0, '13260 8327'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 8937 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 +-- Despawn time is different if killed by explosion, assumedly handled by dummy effect +(8937,0,0,0,8,0,100,0,13259,0,0,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Pet Bomb - On Spellhit 'Explosion' - Delayed Despawn"); |
