forked from azerothcore/azerothcore-wotlk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix(DB/SAI) update quest 6002 poi and text (azerothcore#18465)
* Fix(DB/SAI) update quest 6002 Co-authored-by: pedrohfm9 <[email protected]> * update quest flag according to sniff - thanks bench! --------- Co-authored-by: pedrohfm9 <[email protected]>
- Loading branch information
1 parent
edd0ded
commit 7d5c222
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
data/sql/updates/pending_db_world/rev_1709299008995982200.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); |