aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-09-16 15:53:33 +0300
committerShauren <shauren.trinity@gmail.com>2022-02-06 01:09:10 +0100
commit7d85f584a72b424e38e4b77f89bdf0d5a6a0cf34 (patch)
tree3877dd80290975797b4a3308de12bd2b2373f992
parentf70161dcc5af3c2c958d4df559b77ace735fc7d4 (diff)
DB/Quest: Add outro event for 'The Fall of Ossirian'
(cherry picked from commit 29b119cf911951a85ae60c39ee6dda2ee7bfaed2)
-rw-r--r--sql/updates/world/master/2022_02_05_25_world_2020_09_16_00_world_335.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_02_05_25_world_2020_09_16_00_world_335.sql b/sql/updates/world/master/2022_02_05_25_world_2020_09_16_00_world_335.sql
new file mode 100644
index 00000000000..e880e619c2c
--- /dev/null
+++ b/sql/updates/world/master/2022_02_05_25_world_2020_09_16_00_world_335.sql
@@ -0,0 +1,10 @@
+--
+UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = 15181;
+DELETE FROM `smart_scripts` WHERE `entryorguid` = 15181 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`,`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
+(15181,0,0,0,20,0,100,0,8791,0,0,0,0,1,0,0,1,0,0,0,7,0,0,0,0,0,0,0,0,"Commander Mar'alith - On Quest 'The Fall of Ossirian' Finished - Say Line 0");
+
+-- Probably sent to zone
+DELETE FROM `creature_text` WHERE `CreatureID` = 15181;
+INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
+(15181,0,0,"Soldiers of Kalimdor! Heroes of Silithus! One among you has dealt a vicious blow to our mortal enemies! $n and $g his:her; allies have relieved the Ruins of Ahn'Qiraj of its merciless leader! Ossirian the Unscarred, scourge of Silithus, has finally been destroyed and his armies wholly dismantled!",14,0,100,0,0,0,11355,0,"Commander Mar'alith");