mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 19:31:59 +01:00
DB/Quests: Fix Mount Hyjal board quests
- Warchief's Command: Mount Hyjal! (27721) - Hero's Call: Mount Hyjal! (27726) Closes TrinityCore/TDB_4.3.4_NLU#337
This commit is contained in:
15
sql/updates/world/2015_07_19_26_world.sql
Normal file
15
sql/updates/world/2015_07_19_26_world.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
-- Warchief's Command: Mount Hyjal! (27721), Hero's Call: Mount Hyjal! (27726)
|
||||
|
||||
UPDATE `gossip_menu_option` SET `option_id`=1, `npc_option_npcflag`=1 WHERE `menu_id` IN (12125, 12129);
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` IN (12125, 12129);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(15, 12125, 0, 0, 0, 9, 0, 27721, 0, 0, 0, 0, 0, '', 'Show gossip option 12125 if player has quest Warchief''s Command: Mount Hyjal!'),
|
||||
(15, 12129, 0, 0, 0, 9, 0, 27726, 0, 0, 0, 0, 0, '', 'Show gossip option 12129 if player has quest Hero''s Call: Mount Hyjal!');
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` IN (15187, 15188);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (15187, 15188) AND `source_type` = 0;
|
||||
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
|
||||
(15187, 0, 0, 0, 62, 0, 100, 0, 12129, 0, 0, 0, 11, 86587, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Cenarion Emissary Jademoon - on gossip option select - cast spell Teleport to Moonglade'),
|
||||
(15188, 0, 0, 0, 62, 0, 100, 0, 12125, 0, 0, 0, 11, 86565, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Cenarion Emissary Blackhoof - on gossip option select - cast spell Teleport to Moonglade');
|
||||
Reference in New Issue
Block a user