Merge pull request #118 from AlvinZhu/PR12

fix quest of NAXX40
This commit is contained in:
ZhengPeiRu21
2023-04-03 08:39:19 -06:00
committed by GitHub
2 changed files with 43 additions and 0 deletions

View File

@@ -1117,6 +1117,12 @@ REPLACE INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `
(351078, 22376, 0, 21.875, 0, 0, 1, 1),
(351078, 22393, 0, 0.05, 0, 0, 1, 1),
(351078, 22708, 0, 1.0, 1, 0, 1, 1),
(351007, 22708, 0, 1.0, 1, 0, 1, 1),
(351008, 22708, 0, 1.0, 1, 0, 1, 1),
(351022, 22708, 0, 1.0, 1, 0, 1, 1),
(351027, 22708, 0, 1.0, 1, 0, 1, 1),
(351062, 22708, 0, 1.0, 1, 0, 1, 1),
(351063, 22708, 0, 1.0, 1, 0, 1, 1),
(351078, 22890, 0, 0.05, 0, 0, 1, 1),
(351078, 23044, 0, 0.34, 0, 0, 1, 1),
(351078, 23055, 0, 5.599, 0, 0, 1, 1),

View File

@@ -320,5 +320,42 @@ INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9237), (@NPC,
DELETE FROM `creature_questender` WHERE (`quest` IN (9237, 9239, 9240, 9238, 9235, 9236, 9234, 9244, 9246, 9245, 9241, 9242, 9243, 9232));
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9237), (@NPC, 9239), (@NPC, 9240), (@NPC, 9238), (@NPC, 9235), (@NPC, 9236), (@NPC, 9234), (@NPC, 9244), (@NPC, 9246), (@NPC, 9245), (@NPC, 9241), (@NPC, 9242), (@NPC, 9243), (@NPC, 9232);
REPLACE INTO `creature_questitem` (`CreatureEntry`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(351007, 0, 22708, 0),
(351008, 0, 22708, 0),
(351010, 0, 22708, 0),
(351011, 0, 22708, 0),
(351012, 0, 22708, 0),
(351014, 0, 22708, 0),
(351015, 0, 22708, 0),
(351016, 0, 22708, 0),
(351017, 0, 22708, 0),
(351021, 0, 22708, 0),
(351022, 0, 22708, 0),
(351023, 0, 22708, 0),
(351024, 0, 22708, 0),
(351025, 0, 22708, 0),
(351027, 0, 22708, 0),
(351041, 0, 22708, 0),
(351048, 0, 22708, 0),
(351053, 0, 22708, 0),
(351054, 0, 22708, 0),
(351055, 0, 22708, 0),
(351056, 0, 22708, 0),
(351057, 0, 22708, 0),
(351058, 0, 22708, 0),
(351059, 0, 22708, 0),
(351060, 0, 22708, 0),
(351061, 0, 22708, 0),
(351062, 0, 22708, 0),
(351063, 0, 22708, 0),
(351064, 0, 22708, 0),
(351065, 0, 22708, 0),
(351070, 0, 22708, 0),
(351077, 0, 22708, 0),
(351078, 0, 22708, 0);
UPDATE `quest_template` SET `RequiredNpcOrGo1` = 351048, `RequiredNpcOrGo2` = 351012, `RequiredNpcOrGo3` = 351024, `RequiredNpcOrGo4` = 351059 WHERE `ID` = 9033;
-- We are going to re-use the deprecated Naxxramas attunement flag quest but need to change some values
UPDATE `quest_template` SET `RequiredFactionId1` = 0, `RequiredFactionValue1` = 0, `RewardFactionID1` = 0, `RewardFactionValue1` = 0, `QuestSortID` = 0 WHERE `ID` = 9378;