Core/LFG: damage dealers will now only be able to get bonus rewards when there are more healer and tanks in the queue

This commit is contained in:
Ovahlord
2019-06-03 20:36:44 +02:00
parent 1030381c0c
commit 4f516996cb

View File

@@ -422,7 +422,7 @@ void LFGMgr::Update(uint32 diff)
if (dpsCountAbsolute >= healerCount || tankCount >= healerCount)
roleMask |= PLAYER_ROLE_HEALER;
if (dpsCountAbsolute <= tankCount || dpsCountAbsolute <= healerCount)
if (dpsCountAbsolute < tankCount && dpsCountAbsolute < healerCount)
roleMask |= PLAYER_ROLE_DAMAGE;
SetShortageRoleMask(dungeon->ID, roleMask);