Skip to content

Commit 44ecdb7

Browse files
committed
Check completion status improvement
1 parent afe40c0 commit 44ecdb7

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/mod_zone_difficulty_scripts.cpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -745,14 +745,10 @@ class mod_zone_difficulty_rewardnpc : public CreatureScript
745745

746746
// Check if the player has enough score in the respective category.
747747

748-
if (category == TYPE_RAID_T6)
748+
if (!sZoneDifficulty->CheckCompletionStatus(creature, player, category))
749749
{
750-
if (!player->GetPlayerSetting(ModZoneDifficultyString + "ct", SETTING_BLACK_TEMPLE).value)
751-
{
752-
creature->Whisper("Ah, hero! The threads of fate bring you to me. To claim the rewards you desire, you must first confront Illidan Stormrage on Mythic difficulty.",
753-
LANG_UNIVERSAL, player);
754-
return true;
755-
}
750+
CloseGossipMenuFor(player);
751+
return true;
756752
}
757753

758754
uint32 availableScore = player->GetPlayerSetting(ModZoneDifficultyString + "score", category).value;

0 commit comments

Comments
 (0)