fix(DB/Creature): Correct gossip display for Master Smith (#11420)

This commit is contained in:
Kosiak
2022-04-23 15:23:21 +01:00
committed by GitHub
parent c55c4aa015
commit 6a95d72bb6

View File

@@ -0,0 +1,8 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1650152443729183400');
-- Update to CONDITION_QUESTREWARDED as CONDITION_QUEST_COMPLETE is wrong for this.
UPDATE `conditions` SET `ConditionTypeOrReference` = 8, `Comment` = 'Show Gossip Menu - If Quest: What the Flux? is Rewarded' WHERE `SourceTypeOrReferenceId` = 14 AND `SourceGroup` = 5962 AND `SourceEntry` = 7115 AND `ConditionTypeOrReference` = 28;
-- Add Honored\Revered condition
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 14 AND `SourceGroup` = 5962 AND `SourceEntry` = 7121;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(14, 5962, 7121, 0, 0, 5, 0, 59, 96, 0, 0, 0, 0, '', 'Show Gossip Menu - If player is Honored\Revered with Thorium Brotherhood (59)');