Core/Spells: Fix Shadowform cooldown sometimes getting stuck
Port From (https://github.com/TrinityCore/TrinityCore/commit/018e66bc914e3e39b01e15a51ad683a5e881d156)
This commit is contained in:
@@ -4831,7 +4831,7 @@ namespace Game.Spells
|
|||||||
{
|
{
|
||||||
if (!m_caster.ToUnit().GetSpellHistory().IsReady(m_spellInfo, m_castItemEntry))
|
if (!m_caster.ToUnit().GetSpellHistory().IsReady(m_spellInfo, m_castItemEntry))
|
||||||
{
|
{
|
||||||
if (m_triggeredByAuraSpell != null)
|
if (m_triggeredByAuraSpell != null || m_spellInfo.IsCooldownStartedOnEvent())
|
||||||
return SpellCastResult.DontReport;
|
return SpellCastResult.DontReport;
|
||||||
else
|
else
|
||||||
return SpellCastResult.NotReady;
|
return SpellCastResult.NotReady;
|
||||||
|
|||||||
Reference in New Issue
Block a user