aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoroffl <11556157+offl@users.noreply.github.com>2022-03-29 00:47:38 +0300
committerShauren <shauren.trinity@gmail.com>2022-06-10 14:30:55 +0200
commite526cad015c9dab514051909f1b6dd81b65c4bef (patch)
tree6c310e0ef4d4e9646ac88bacbda05a071516a65c /sql
parentf9f65a89579b819d69eb810818db7c24d0079d4f (diff)
Scripts/Items: BOTM Blackrock Lager & Springtime Stout & Metok's Bubble Bock & Binary Brew (#27891)
(cherry picked from commit c02b829788cb274a68b125aee4dab35b9a56a2b8)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2022_06_10_04_world_2022_03_28_00_world.sql26
1 files changed, 26 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_06_10_04_world_2022_03_28_00_world.sql b/sql/updates/world/master/2022_06_10_04_world_2022_03_28_00_world.sql
new file mode 100644
index 00000000000..253802dc556
--- /dev/null
+++ b/sql/updates/world/master/2022_06_10_04_world_2022_03_28_00_world.sql
@@ -0,0 +1,26 @@
+--
+DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_brewfest_botm_internal_combustion');
+INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
+(49738,'spell_brewfest_botm_internal_combustion');
+
+--
+UPDATE `creature_template` SET `scale` = 1, `AIName` = 'SmartAI' WHERE `entry` = 27870;
+DELETE FROM `smart_scripts` WHERE `entryorguid` = 27870 AND `source_type` = 0;
+DELETE FROM `smart_scripts` WHERE `entryorguid` = 2787000 AND `source_type` = 9;
+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
+(27870,0,0,0,11,0,100,0,0,0,0,0,0,80,2787000,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Wild Flower - On Spawn - Run Script"),
+
+(2787000,9,0,0,0,0,100,0,3000,3000,0,0,0,11,49801,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Wild Flower - On Script - Cast 'BOTM - Flowery Brew - Grow'");
+
+--
+UPDATE `serverside_spell` SET `ProcChance` = 101 WHERE `Id` = 61370;
+DELETE FROM `serverside_spell_effect` WHERE `SpellID` = 61370;
+INSERT INTO `serverside_spell_effect` (`SpellID`, `Effect`, `EffectAura`, `ImplicitTarget1`) VALUES
+(61370, 6, 26, 1);
+
+DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_brewfest_botm_bloated');
+INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
+(49822,'spell_brewfest_botm_bloated');
+
+--
+UPDATE `spell_script_names` SET `ScriptName` = 'spell_brewfest_botm_teach_language' WHERE `ScriptName` = 'spell_item_teach_language';