|
| 1 | +-- |
| 2 | +UPDATE `creature_template` SET `unit_flags` = 768 WHERE `entry` = 38374; |
| 3 | +UPDATE `creature_template_addon` SET `SheathState` = 1 WHERE `entry` = 38374; |
| 4 | + |
| 5 | +DELETE FROM `spell_scripts` WHERE `id` IN (71848,71874); |
| 6 | +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( |
| 7 | +'spell_pet_gen_toxic_wasteling_find_target', |
| 8 | +'spell_pet_gen_toxic_wasteling_devour'); |
| 9 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 10 | +(71848, 'spell_pet_gen_toxic_wasteling_find_target'), |
| 11 | +(71874, 'spell_pet_gen_toxic_wasteling_devour'); |
| 12 | + |
| 13 | +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 38374; |
| 14 | +DELETE FROM `smart_scripts` WHERE `entryorguid` = 38374 AND `source_type` = 0; |
| 15 | +DELETE FROM `smart_scripts` WHERE `entryorguid` = 3837400 AND `source_type` = 9; |
| 16 | +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 |
| 17 | +(38374,0,0,0,31,0,100,0,71847,0,0,0,0,80,3837400,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Toxic Wasteling - On Target Spellhit 'Toxic Wasteling Attack' - Run Script"), |
| 18 | +-- After jumping default follow movement is launched, making it work not like on retail |
| 19 | +(3837400,9,0,0,0,0,100,0,0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Toxic Wasteling - On Script - Stop Follow"), |
| 20 | +(3837400,9,1,0,0,0,100,0,1500,1500,0,0,0,11,71874,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Toxic Wasteling - On Script - Cast 'Toxic Wasteling Devour'"), |
| 21 | +(3837400,9,3,0,0,0,100,0,1500,1500,0,0,0,11,71854,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Toxic Wasteling - On Script - Cast 'Toxic Wasteling Grow'"), |
| 22 | +(3837400,9,4,0,0,0,100,0,2500,2500,0,0,0,29,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,"Toxic Wasteling - On Script - Follow Owner"); |
| 23 | + |
| 24 | +-- |
| 25 | +DELETE FROM `spell_scripts` WHERE `id` = 50499; |
| 26 | + |
| 27 | +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( |
| 28 | +'spell_item_disco_ball_listening_to_music_periodic', |
| 29 | +'spell_item_disco_ball_listening_to_music_check', |
| 30 | +'spell_item_disco_ball_listening_to_music_parent'); |
| 31 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 32 | +(50493, 'spell_item_disco_ball_listening_to_music_periodic'), |
| 33 | +(50492, 'spell_item_disco_ball_listening_to_music_check'), |
| 34 | +(50499, 'spell_item_disco_ball_listening_to_music_parent'); |
| 35 | + |
| 36 | +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` = 50492; |
| 37 | +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES |
| 38 | +(13,1,50492,0,0,31,0,3,27989,0,0,0,0,"","Group 0: Spell 'Listening to Music CHECK' (Effect 0) targets creature 'D.I.S.C.O.'"); |
| 39 | + |
| 40 | +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (50493,50317,-50493,-50314); |
| 41 | + |
| 42 | +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 27989; |
| 43 | +DELETE FROM `smart_scripts` WHERE `entryorguid` = 27989 AND `source_type` = 0; |
| 44 | +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 |
| 45 | +(27989,0,0,0,11,0,100,0,0,0,0,0,0,11,50314,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"D.I.S.C.O. - On Spawn - Cast 'Disco Ball'"), |
| 46 | +(27989,0,1,0,11,0,100,0,0,0,0,0,0,11,50487,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"D.I.S.C.O. - On Spawn - Cast 'Create Disco Ball Visual Object'"), |
| 47 | +(27989,0,2,0,11,0,100,0,0,0,0,0,0,11,50493,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"D.I.S.C.O. - On Spawn - Cast 'Listening to Music'"), |
| 48 | +(27989,0,3,0,11,0,100,0,0,0,0,0,0,11,28782,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"D.I.S.C.O. - On Spawn - Cast 'Stun Self + Immune'"); |
| 49 | + |
| 50 | +UPDATE `creature_template_addon` SET `auras` = '' WHERE `entry` = 27989; |
| 51 | + |
| 52 | +-- |
| 53 | +DELETE FROM `spell_scripts` WHERE `id` = 49899; |
| 54 | +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_wintergrasp_activate_robotic_arms'; |
| 55 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 56 | +(49899, 'spell_wintergrasp_activate_robotic_arms'); |
| 57 | + |
| 58 | +-- |
| 59 | +DELETE FROM `spell_scripts` WHERE `id` IN (49625,49634); |
| 60 | +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( |
| 61 | +'spell_fjord_braves_flare', |
| 62 | +'spell_fjord_sergeants_flare'); |
| 63 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 64 | +(49625, 'spell_fjord_braves_flare'), |
| 65 | +(49634, 'spell_fjord_sergeants_flare'); |
| 66 | + |
| 67 | +-- |
| 68 | +DELETE FROM `spell_scripts` WHERE `id` = 44563; |
| 69 | + |
| 70 | +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 24823; |
| 71 | +DELETE FROM `smart_scripts` WHERE `entryorguid` = 24823 AND `source_type` = 0; |
| 72 | +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 |
| 73 | +(24823,0,0,0,8,0,100,512,44563,0,0,0,0,11,44569,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Iron Rune Construct - On Spellhit 'Bluff Quest Credit' - Cast 'Bluff Quest Credit'"); |
| 74 | + |
| 75 | +-- |
| 76 | +DELETE FROM `spell_scripts` WHERE `id` = 51659; |
| 77 | + |
| 78 | +DELETE FROM `smart_scripts` WHERE `entryorguid` = 28379 AND `source_type` = 0 AND `id` = 2; |
| 79 | +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 |
| 80 | +(28379,0,2,0,8,0,100,0,51659,0,0,0,0,11,51656,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Shattertusk Mammoth - On Spellhit 'Apply Harness' - Cast 'Mount Mammoth Cue'"); |
| 81 | + |
| 82 | +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_sholazar_mount_mammoth_cue'; |
| 83 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 84 | +(51656, 'spell_sholazar_mount_mammoth_cue'); |
| 85 | + |
| 86 | +-- |
| 87 | +DELETE FROM `spell_scripts` WHERE `id` = 21977; |
| 88 | +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_warr_warriors_wrath'; |
| 89 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 90 | +(21977, 'spell_warr_warriors_wrath'); |
| 91 | + |
| 92 | +-- |
| 93 | +DELETE FROM `spell_scripts` WHERE `id` = 49203; |
| 94 | +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_dk_hungering_cold_init'; |
| 95 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 96 | +(49203, 'spell_dk_hungering_cold_init'); |
| 97 | + |
| 98 | +-- |
| 99 | +DELETE FROM `spell_scripts` WHERE `id` = 31231; |
| 100 | +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_rog_cheat_death_cooldown'; |
| 101 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 102 | +(31231, 'spell_rog_cheat_death_cooldown'); |
| 103 | + |
| 104 | +-- |
| 105 | +DELETE FROM `spell_scripts` WHERE `id` = 51662; |
| 106 | +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_rog_hunger_for_blood'; |
| 107 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 108 | +(51662, 'spell_rog_hunger_for_blood'); |
| 109 | + |
| 110 | +-- |
| 111 | +DELETE FROM `spell_scripts` WHERE `id` = 40109; |
| 112 | +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_bem_kfc_the_bolt'; |
| 113 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 114 | +(40109, 'spell_bem_kfc_the_bolt'); |
| 115 | + |
| 116 | +-- |
| 117 | +DELETE FROM `spell_scripts` WHERE `id` = 38173; |
| 118 | +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_bem_summon_spirit'; |
| 119 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 120 | +(38173, 'spell_bem_summon_spirit'); |
| 121 | + |
| 122 | +-- |
| 123 | +DELETE FROM `spell_scripts` WHERE `id` IN (45685,45691); |
| 124 | + |
| 125 | +UPDATE `spell_script_names` SET `ScriptName` = 'spell_borean_tundra_shortening_blaster' WHERE `ScriptName` = 'spell_q11653_shortening_blaster'; |
| 126 | + |
| 127 | +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ( |
| 128 | +'spell_borean_tundra_magnataur_on_death_1', |
| 129 | +'spell_borean_tundra_magnataur_on_death_2'); |
| 130 | +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
| 131 | +(45691, 'spell_borean_tundra_magnataur_on_death_1'), |
| 132 | +(45685, 'spell_borean_tundra_magnataur_on_death_2'); |
| 133 | + |
| 134 | +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` IN (25432,25434) AND `SourceId` = 0; |
| 135 | + |
| 136 | +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (25432,25434) AND `source_type` = 0; |
| 137 | +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 |
| 138 | +(25432,0,0,0,2,0,100,1,0,30,0,0,0,11,50420,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Mate of Magmothregar - Between 0-30% Health - Cast 'Enrage' (No Repeat)"), |
| 139 | +(25432,0,1,0,83,0,100,0,50420,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Mate of Magmothregar - On Spell Cast 'Enrage' - Say Line 0"), |
| 140 | +(25432,0,2,0,6,0,100,0,0,0,0,0,0,11,45691,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Mate of Magmothregar - On Death - Cast 'Hah... : Magnataur On Death 1'"), |
| 141 | + |
| 142 | +(25434,0,0,0,0,0,100,0,0,5000,10000,15000,0,11,50413,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Magmoth Crusher - In Combat - Cast 'Magnataur Charge'"), |
| 143 | +(25434,0,1,0,0,0,100,0,5000,10000,10000,15000,0,11,50410,0,0,0,0,0,2,0,0,0,0,0,0,0,0,"Magmoth Crusher - In Combat - Cast 'Tusk Strike'"), |
| 144 | +(25434,0,2,0,6,0,100,0,0,0,0,0,0,11,45691,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Magmoth Crusher - On Death - Cast 'Hah... : Magnataur On Death 1'"); |
0 commit comments