mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Fix(DB/SAI) update quest 6002 poi and text (#18465)
* Fix(DB/SAI) update quest 6002 Co-authored-by: pedrohfm9 <122452427+Dr-Arayashiki@users.noreply.github.com> * update quest flag according to sniff - thanks bench! --------- Co-authored-by: pedrohfm9 <122452427+Dr-Arayashiki@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
-- Update Quest 6002
|
||||
-- Update SAI NPC Lunaclaw
|
||||
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 12138) AND (`source_type` = 0) AND (`id` IN (5));
|
||||
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`, `event_param6`, `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
|
||||
(12138, 0, 5, 0, 101, 0, 100, 0, 1, 10, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 21, 10, 0, 0, 0, 0, 0, 0, 0, 'Lunaclaw - On Respawn - Attack Start Player');
|
||||
|
||||
-- Update Quest Flag
|
||||
UPDATE `quest_template` SET `Flags` = 2 WHERE (`ID` = 6002);
|
||||
|
||||
-- Update Quest Request itens
|
||||
DELETE FROM `quest_request_items` WHERE (`ID` = 6002);
|
||||
INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `CompletionText`, `VerifiedBuild`) VALUES
|
||||
(6002, 1, 0, 'When you have faced the challenge that lies before you, your understanding of strength of body and strength of heart will be fully realized. Until that time, I cannot help you further.', 52237);
|
||||
|
||||
-- Update POi
|
||||
UPDATE `quest_poi` SET `WorldMapAreaId` = 1639 WHERE (`QuestID` = 6002) AND (`id` = 0);
|
||||
UPDATE `quest_poi` SET `WorldMapAreaId` = 1156 WHERE (`QuestID` = 6002) AND (`id` = 1);
|
||||
|
||||
-- Update Poi Points OK
|
||||
DELETE FROM `quest_poi_points` WHERE `QuestID` = 6002;
|
||||
INSERT INTO `quest_poi_points` (`QuestID`, `Idx1`, `Idx2`, `X`, `Y`, `VerifiedBuild`) VALUES
|
||||
(6002, 0, 0, -1039, -282, 52237),
|
||||
(6002, 1, 0, -2446, -1646, 52237);
|
||||
Reference in New Issue
Block a user