aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2024-02-20 14:21:23 +0100
committerGitHub <noreply@github.com>2024-02-20 14:21:23 +0100
commit67da57db4f3c5dd129df622eb98ed437eac4f3da (patch)
tree2fb525833c4e29190ed9bfd800c1468312748809
parent319434544baa018339ba6284ebb910eec1418a4f (diff)
DB/SAI: Paladin trainer Jol is missing intro for quest "Redemption"
closes #29080 by Jonne733
-rw-r--r--sql/updates/world/3.3.5/2024_02_20_00_world.sql17
1 files changed, 17 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2024_02_20_00_world.sql b/sql/updates/world/3.3.5/2024_02_20_00_world.sql
new file mode 100644
index 00000000000..5c869020771
--- /dev/null
+++ b/sql/updates/world/3.3.5/2024_02_20_00_world.sql
@@ -0,0 +1,17 @@
+-- Jol Intro fix for quest "Redemption" (9598)
+-- Jol Creature Text
+DELETE FROM `creature_text` WHERE `CreatureID`=17509;
+INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
+(17509,0,0,"Read the tome of divinity I have given you, $n. When you have learned from the book, speak with me again.",12,7,100,1,0,0,19811,0,"Jol");
+
+-- Jol SAI Script
+UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=17509;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=17509 AND `event_type` IN (19,61);
+DELETE FROM `smart_scripts` WHERE `entryorguid`=1750900 AND `source_type`=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
+(17509,0,0,1,19,0,100,0,9598,0,0,0,0,83,19,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Jol - On Quest 'Redemption' Accepted - Remove Npc Flag Questgiver+Trainer+Gossip"),
+(17509,0,1,0,61,0,100,0,0,0,0,0,0,80,1750900,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Jol - On Link - Run Script"),
+(1750900,9,0,0,0,0,100,0,0,0,0,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Jol - On Script - Set Orientation Invoker"),
+(1750900,9,1,0,0,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Jol - On Script - Say Line 0"),
+(1750900,9,2,0,0,0,100,0,6000,6000,0,0,0,66,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Jol - On Script - Set Orientation Home Position"),
+(1750900,9,3,0,0,0,100,0,1000,1000,0,0,0,82,19,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Jol - On Script - Add Npc Flag Questgiver+Trainer+Gossip");