From 38b90598ded2726281d0eb73d9b1a775428aaa91 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Tue, 23 Nov 2021 20:52:45 -0500 Subject: [PATCH] Core/LFG: Ignore LFG cooldown when joining queue to replace missing party member when dungeon is already in progress Port From (https://github.com/TrinityCore/TrinityCore/commit/c2eff8fabcc348d20bcbde19b5db0f76c3d7738e) --- Source/Game/DungeonFinding/LFGManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Game/DungeonFinding/LFGManager.cs b/Source/Game/DungeonFinding/LFGManager.cs index 58dcce1ff..fe4deabaf 100644 --- a/Source/Game/DungeonFinding/LFGManager.cs +++ b/Source/Game/DungeonFinding/LFGManager.cs @@ -387,7 +387,7 @@ namespace Game.DungeonFinding joinData.result = LfgJoinResult.CantUseDungeons; else if (player.HasAura(SharedConst.LFGSpellDungeonDeserter)) joinData.result = LfgJoinResult.DeserterPlayer; - else if (player.HasAura(SharedConst.LFGSpellDungeonCooldown)) + else if (!isContinue && player.HasAura(SharedConst.LFGSpellDungeonCooldown)) joinData.result = LfgJoinResult.RandomCooldownPlayer; else if (dungeons.Empty()) joinData.result = LfgJoinResult.NoSlots; @@ -409,7 +409,7 @@ namespace Game.DungeonFinding joinData.result = LfgJoinResult.NoLfgObject; if (plrg.HasAura(SharedConst.LFGSpellDungeonDeserter)) joinData.result = LfgJoinResult.DeserterParty; - else if (plrg.HasAura(SharedConst.LFGSpellDungeonCooldown)) + else if (!isContinue && plrg.HasAura(SharedConst.LFGSpellDungeonCooldown)) joinData.result = LfgJoinResult.RandomCooldownParty; else if (plrg.InBattleground() || plrg.InArena() || plrg.InBattlegroundQueue()) joinData.result = LfgJoinResult.CantUseDungeons;