Skip to content

Commit 7c9bea1

Browse files
authored
Scripts/AQ20: Rewrite Buru (#31217)
Credit for a lot of things goes to CMaNGOS
1 parent de6a77c commit 7c9bea1

File tree

2 files changed

+268
-212
lines changed

2 files changed

+268
-212
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--
2+
UPDATE `creature_template` SET `flags_extra` = `flags_extra`&~2 WHERE `entry` = 15514;
3+
UPDATE `creature` SET `spawntimesecs` = 120 WHERE `id` = 15514;
4+
5+
UPDATE `spell_script_names` SET `ScriptName` = 'spell_buru_egg_explosion' WHERE `ScriptName` = 'spell_egg_explosion';
6+
7+
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (15521,15964);
8+
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (15521,15964) AND `source_type` = 0;
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
10+
(15521,0,0,0,37,0,100,0,0,0,0,0,0,116,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Hive'Zara Hatchling - On AI Initialize - Set Corpse Delay"),
11+
(15521,0,1,0,11,0,100,0,0,0,0,0,0,38,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Hive'Zara Hatchling - On Spawn - Set In Combat With Zone"),
12+
13+
(15964,0,0,0,11,0,100,0,0,0,0,0,0,11,26646,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Buru Egg Trigger - On Spawn - Cast 'Buru Egg Trigger Effect'");
14+
15+
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_buru_cancel_creeping_plague';
16+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
17+
(27027, 'spell_buru_cancel_creeping_plague');

0 commit comments

Comments
 (0)