aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcrom <malcromdev@gmail.com>2024-02-25 11:14:36 +0100
committerModoX <moardox@gmail.com>2024-02-25 12:44:40 +0100
commit8203a2eebdbdf217f75c66cdaa6fa7794d16db1e (patch)
treecca6e9c503920b0d4b15be45581e2d271d4aecbd
parent1d20508ef4ab3908e318844117dcc616833eebea (diff)
DB/ElwynnForest: Added missing aggro and death texts to Kurtok the Slayer
Closes #29505
-rw-r--r--sql/updates/world/master/2024_02_25_12_world.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/master/2024_02_25_12_world.sql b/sql/updates/world/master/2024_02_25_12_world.sql
new file mode 100644
index 00000000000..1ac8a44aa68
--- /dev/null
+++ b/sql/updates/world/master/2024_02_25_12_world.sql
@@ -0,0 +1,11 @@
+-- Kurtok the Slayer SAI
+UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=42938;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=42938 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
+(42938,0,0,0,4,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Kurtok the Slayer - On Aggro - Say text 0'),
+(42938,0,1,0,6,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Kurtok the Slayer - On Death - Say text 1');
+
+DELETE FROM `creature_text` WHERE `CreatureID`=42938;
+INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
+(42938, 0, 0, 'Alliance weakling, your lands will burn!', 12, 0, 100, 5, 0, 0, 0, 0, 'Kurtok the Slayer'),
+(42938, 1, 0, 'The Blackrock Clan will end you...', 12, 0, 100, 0, 0, 0, 0, 0, 'Kurtok the Slayer');