diff options
| author | Killyana <morphone1@gmail.com> | 2019-01-22 17:14:17 +0100 |
|---|---|---|
| committer | Killyana <morphone1@gmail.com> | 2019-01-22 17:14:17 +0100 |
| commit | 71fd5f19dc99acec6fdeb9decfc4a241134f68d2 (patch) | |
| tree | d10ced0997bcd3c31cbe94a1740569e954af5cfa | |
| parent | c62b38e5623dd1cb34e562410f0874cc3c470f35 (diff) | |
DB/Quest: Alien Egg
Closes #22668
| -rw-r--r-- | sql/updates/world/3.3.5/2019_01_22_03_world_335.sql | 8 |
1 files changed, 8 insertions, 0 deletions
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'); |
