mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 21:02:14 +01:00
DB/Creature: Update Apothecary Thedra & script Halis Dawnstrider
(cherry picked from commit 7230112f45)
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
-- Apothecary Thedra SAI (Source: Sniffs)
|
||||
SET @ID := 16196;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ID AND `source_type` = 0;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ID*100+0 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
|
||||
(@ID,0,0,0,20,0,100,0,9147,0,0,0,0,80,1619600,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Apothecary Thedra - On Quest 'The Fallen Courier' Finished - Run Script"),
|
||||
|
||||
(@ID*100+0,9,0,0,0,0,100,0,1000,1000,0,0,0,91,7,0,0,0,0,0,19,16183,0,0,0,0,0,0,0,"Apothecary Thedra - On Script - Remove Flag Standstate Dead (Courier Dawnstrider)"),
|
||||
(@ID*100+0,9,1,0,0,0,100,0,0,0,0,0,0,17,64,0,0,0,0,0,19,16183,0,0,0,0,0,0,0,"Apothecary Thedra - On Script - Set Emote State 64 (Courier Dawnstrider)"),
|
||||
(@ID*100+0,9,2,0,0,0,100,0,5000,5000,0,0,0,1,0,0,0,0,0,0,19,16183,0,0,0,0,0,0,0,"Apothecary Thedra - On Script - Say Line 0 (Courier Dawnstrider)"),
|
||||
(@ID*100+0,9,3,0,0,0,100,0,6000,6000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Apothecary Thedra - On Script - Say Line 0"),
|
||||
(@ID*100+0,9,4,0,0,0,100,0,0,0,0,0,0,90,7,0,0,0,0,0,19,16183,0,0,0,0,0,0,0,"Apothecary Thedra - On Script - Add Flag Standstate Dead (Courier Dawnstrider)"),
|
||||
(@ID*100+0,9,5,0,0,0,100,0,0,0,0,0,0,17,0,0,0,0,0,0,19,16183,0,0,0,0,0,0,0,"Apothecary Thedra - On Script - Set Emote State 0 (Courier Dawnstrider)");
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = "" WHERE `entry` = 16183;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = 16183 AND `source_type` = 0;
|
||||
|
||||
-- Poor guy
|
||||
-- Halis Dawnstrider SAI (Source: Sniffs)
|
||||
SET @ID := 16444;
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = @ID;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ID AND `source_type` = 0;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = @ID*100+0 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
|
||||
(@ID,0,0,0,1,0,100,0,60000,60000,120000,180000,0,80,1644400,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Halis Dawnstrider - Out of Combat - Run Script"),
|
||||
|
||||
(@ID*100+0,9,0,0,0,0,100,0,0,0,0,0,0,66,0,0,0,0,0,0,19,16210,0,0,0,0,0,0,0,"Halis Dawnstrider - On Script - Set Orientation Closest Creature 'Magistrix Landra Dawnstrider'"),
|
||||
(@ID*100+0,9,1,0,0,0,100,0,1000,1000,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Halis Dawnstrider - On Script - Say Line 0"),
|
||||
(@ID*100+0,9,2,0,0,0,100,0,4000,4000,0,0,0,66,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Halis Dawnstrider - On Script - Set Orientation Home Position"),
|
||||
(@ID*100+0,9,3,0,0,0,100,0,2000,2000,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Halis Dawnstrider - On Script - Say Line 1");
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` = @ID;
|
||||
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
|
||||
(@ID,0,0,"%s attempts to get Landra's attention.",16,0,100,3,0,0,15959,0,"Halis Dawnstrider"),
|
||||
(@ID,1,0,"%s sighs.",16,0,100,6,0,0,15960,0,"Halis Dawnstrider");
|
||||
Reference in New Issue
Block a user