From 71fd5f19dc99acec6fdeb9decfc4a241134f68d2 Mon Sep 17 00:00:00 2001 From: Killyana Date: Tue, 22 Jan 2019 17:14:17 +0100 Subject: DB/Quest: Alien Egg Closes #22668 --- sql/updates/world/3.3.5/2019_01_22_03_world_335.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sql/updates/world/3.3.5/2019_01_22_03_world_335.sql (limited to 'sql/updates') diff --git a/sql/updates/world/3.3.5/2019_01_22_03_world_335.sql b/sql/updates/world/3.3.5/2019_01_22_03_world_335.sql new file mode 100644 index 00000000000..7f00028f455 --- /dev/null +++ b/sql/updates/world/3.3.5/2019_01_22_03_world_335.sql @@ -0,0 +1,8 @@ +-- +UPDATE `creature_template` SET `AIName`='SmartAI', `unit_flags`=`unit_flags`|768 WHERE `entry`=10581; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=10539; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (10539,10581) 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`,`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 +(10539,0,0,1,20,0,100,0,4821,0,0,0,41,0,0,0,0,0,0,19,10581,20,0,0,0,0,0, 'Hagar Lightninghoof - On quest rewarded - despawn npc'), +(10539,0,1,0,61,0,100,0,0,0,0,0,12,10581,3,10000,0,0,0,8,0,0,0,-5440.1005, -2401.906, 89.2746, 4.631578, 'Hagar Lightninghoof - On quest rewarded - summon npc'), +(10581,0,0,0,54,0,100,0,0,0,0,0,89,5,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Young Arikara - On Just summoned - random movements'); -- cgit v1.2.3