From b2ddeb3408a2c947497c28c5bfdf4f46ceb0d16a Mon Sep 17 00:00:00 2001 From: hondacrx Date: Tue, 4 Jan 2022 20:54:23 -0500 Subject: [PATCH] Core/LFG: Remove Dungeon Cooldown when getting kicked Port From (https://github.com/TrinityCore/TrinityCore/commit/6c0412c3d92926dd83d0182419795875b9c4f4b8) --- Source/Game/DungeonFinding/LFGScripts.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Game/DungeonFinding/LFGScripts.cs b/Source/Game/DungeonFinding/LFGScripts.cs index 8e67c58ae..e74652d11 100644 --- a/Source/Game/DungeonFinding/LFGScripts.cs +++ b/Source/Game/DungeonFinding/LFGScripts.cs @@ -186,6 +186,8 @@ namespace Game.DungeonFinding if (method == RemoveMethod.Leave && state == LfgState.Dungeon && players >= SharedConst.LFGKickVotesNeeded) player.CastSpell(player, SharedConst.LFGSpellDungeonDeserter, true); + else if (method == RemoveMethod.KickLFG) + player.RemoveAurasDueToSpell(SharedConst.LFGSpellDungeonCooldown); //else if (state == LFG_STATE_BOOT) // Update internal kick cooldown of kicked