mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user