fix(Core/LFG): Lock Deathknights from the dungeonfinder until they complete their starting zone (#22270)

This commit is contained in:
Tereneckla
2025-06-05 14:43:35 +00:00
committed by GitHub
parent 2a93e7d410
commit fe2d1150b3
4 changed files with 44 additions and 9 deletions

View File

@@ -422,6 +422,8 @@ namespace lfg
lockData = LFG_LOCKSTATUS_TOO_HIGH_LEVEL;
else if (dungeon->seasonal && !IsSeasonActive(dungeon->id))
lockData = LFG_LOCKSTATUS_NOT_IN_SEASON;
else if (player->IsClass(CLASS_DEATH_KNIGHT) && !player->IsGameMaster() &&!(player->IsQuestRewarded(13188) || player->IsQuestRewarded(13189)))
lockData = LFG_LOCKSTATUS_QUEST_NOT_COMPLETED;
else if (ar)
{
// Check required items