aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraftedRO <24683355+CraftedRO@users.noreply.github.com>2024-04-06 23:53:18 +0300
committerGitHub <noreply@github.com>2024-04-06 22:53:18 +0200
commit018e66bc914e3e39b01e15a51ad683a5e881d156 (patch)
tree0a813d2d45cab981b2145ea2b4734edb41c1c81d
parent2bf896bbe7f008319154b42a13ba113c507378c7 (diff)
Core/Spells: Fix Shadowform cooldown sometimes getting stuck (#29886)
Closes #18178
-rw-r--r--src/server/game/Spells/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index 1305c975cbf..78964578568 100644
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -5122,7 +5122,7 @@ SpellCastResult Spell::CheckCast(bool strict, uint32* param1 /*= nullptr*/, uint
if (m_caster->ToUnit() && !m_caster->ToUnit()->GetSpellHistory()->IsReady(m_spellInfo, m_castItemEntry, IsIgnoringCooldowns()))
{
- if (m_triggeredByAuraSpell)
+ if (m_triggeredByAuraSpell || m_spellInfo->IsCooldownStartedOnEvent())
return SPELL_FAILED_DONT_REPORT;
else
return SPELL_FAILED_NOT_READY;