fix(DB\SAI): Port completion event for quest Hilary's Necklace from Trinity (#17719)

* Adds Completion Event for Quest Hilary's Necklace

* Update data/sql/updates/pending_db_world/hilarys_necklace.sql

---------

Co-authored-by: ZenoX92 <carlos.morales@insmet.cu>
This commit is contained in:
kamenitxan
2023-11-16 01:59:34 +01:00
committed by GitHub
parent 8fbed6c30e
commit 9b6a67807d

View File

@@ -0,0 +1,10 @@
-- Quest "Hilary's Necklace" --> Completion Event
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` = 8962;
DELETE FROM `smart_scripts` WHERE `entryorguid` = 8962 AND `source_type` = 0;
DELETE FROM `smart_scripts` WHERE `entryorguid` = 896200 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`, `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
(8962, 0, 0, 0, 20, 0, 100, 0, 3741, 0, 0, 0, 80, 896200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,'Hilary - On Quest \'Hilary\'s Necklace\' Finished - Run Script'),
(896200, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 8963, 0, 0, 0, 0, 0, 0, 'Hilary - On Script - Say Line 0 (Effsee)'),
(896200, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Hilary - On Script - Say Line 0');