From 4f516996cbd35e4a2cd8ee4e90e5702128b5c74e Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Mon, 3 Jun 2019 20:36:44 +0200 Subject: [PATCH] Core/LFG: damage dealers will now only be able to get bonus rewards when there are more healer and tanks in the queue --- src/server/game/DungeonFinding/LFGMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index 860aaf0f9bf..46d130e7c65 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -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);