diff options
author | Shauren <shauren.trinity@gmail.com> | 2019-01-11 22:31:02 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2019-01-11 22:31:02 +0100 |
commit | 7fb52334b2fea4bdd3a83c6af4dbcc39cacb41a9 (patch) | |
tree | 1ae9fc17433bc61e8097b8555e68d6a39d032aed | |
parent | 95398fadf958d40ba6755a6c2f7b374f0a36b7c7 (diff) |
Core/LFG: Ignore LFG cooldown when joining queue to replace missing party member when dungeon is already in progress
-rw-r--r-- | src/server/game/DungeonFinding/LFGMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index e23ca8c873a..5108f6202e1 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -429,7 +429,7 @@ void LFGMgr::JoinLfg(Player* player, uint8 roles, LfgDungeonSet& dungeons, const joinData.result = LFG_JOIN_USING_BG_SYSTEM; else if (player->HasAura(LFG_SPELL_DUNGEON_DESERTER)) joinData.result = LFG_JOIN_DESERTER; - else if (player->HasAura(LFG_SPELL_DUNGEON_COOLDOWN)) + else if (!isContinue && player->HasAura(LFG_SPELL_DUNGEON_COOLDOWN)) joinData.result = LFG_JOIN_RANDOM_COOLDOWN; else if (dungeons.empty()) joinData.result = LFG_JOIN_NOT_MEET_REQS; @@ -450,7 +450,7 @@ void LFGMgr::JoinLfg(Player* player, uint8 roles, LfgDungeonSet& dungeons, const joinData.result = LFG_JOIN_PARTY_NOT_MEET_REQS; if (plrg->HasAura(LFG_SPELL_DUNGEON_DESERTER)) joinData.result = LFG_JOIN_PARTY_DESERTER; - else if (plrg->HasAura(LFG_SPELL_DUNGEON_COOLDOWN)) + else if (!isContinue && plrg->HasAura(LFG_SPELL_DUNGEON_COOLDOWN)) joinData.result = LFG_JOIN_PARTY_RANDOM_COOLDOWN; else if (plrg->InBattleground() || plrg->InArena() || plrg->InBattlegroundQueue()) joinData.result = LFG_JOIN_USING_BG_SYSTEM; |