mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Script/Quest): Arelion's Secret. Add combat sequence to Magister … (#15878)
* fix(Script/Quest): Arelion's Secret. Add combat sequence to Magister Aledis Co-authored-by: SnapperRy * Use single quotes for SQL * Update based on review comments Co-authored-by: SnapperRy <snapperryen@gmail.com>
This commit is contained in:
committed by
GitHub
parent
c3c6ce9d7a
commit
23a420acbb
@@ -0,0 +1,9 @@
|
||||
--
|
||||
UPDATE `creature_template` SET `ScriptName` = 'npc_magister_aledis' WHERE `entry` = 20159;
|
||||
|
||||
-- Gossip to start combat vs event completion and quest reward
|
||||
UPDATE `conditions` SET `ConditionTypeOrReference`=28, `Comment`='Show gossip option 0 if player has quest Arelion\'s Secret completed OR' WHERE `SourceGroup`=8081 AND `ElseGroup`=0;
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceGroup`=8081 AND `ElseGroup`=1;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(15, 8081, 0, 0, 1, 8, 0, 10286, 0, 0, 0, 0, 0, '', 'Show gossip option 0 if player has quest Arelion\'s Secret rewarded');
|
||||
Reference in New Issue
Block a user