Merge pull request #73 from DustinHendrickson/Dustin/BugFixes

Fixing a DK edgecase
This commit is contained in:
Dustin Hendrickson
2025-12-04 16:07:23 -06:00
committed by GitHub

View File

@@ -1130,6 +1130,13 @@ static int GetOrFlagPlayerBracket(Player* player)
{
continue;
}
// Skip brackets that Death Knights cannot be assigned to (upper bound < 55)
if (player->getClass() == CLASS_DEATH_KNIGHT && factionRanges[i].upper < 55)
{
continue;
}
int diff = 0;
if (player->GetLevel() < factionRanges[i].lower)
{