From 9eefaca29a964de91d75ad646e5d90071088a576 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Mon, 5 Aug 2024 14:13:23 -0400 Subject: [PATCH] Core/Spells: Fix Shadowform cooldown sometimes getting stuck Port From (https://github.com/TrinityCore/TrinityCore/commit/018e66bc914e3e39b01e15a51ad683a5e881d156) --- Source/Game/Spells/Spell.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index f70d30928..9a9260e67 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -4831,7 +4831,7 @@ namespace Game.Spells { if (!m_caster.ToUnit().GetSpellHistory().IsReady(m_spellInfo, m_castItemEntry)) { - if (m_triggeredByAuraSpell != null) + if (m_triggeredByAuraSpell != null || m_spellInfo.IsCooldownStartedOnEvent()) return SpellCastResult.DontReport; else return SpellCastResult.NotReady;