Core/Spells: Exclude TriggerCastFlags that can be set for non-triggered spells from being checked by Spell::IsTriggered

This commit is contained in:
Shauren
2025-01-20 00:32:04 +01:00
parent f63e715c19
commit 56fb627c7d
3 changed files with 6 additions and 2 deletions

View File

@@ -8376,7 +8376,7 @@ bool Spell::CheckEffectTarget(Item const* /*target*/, SpellEffectInfo const& /*s
bool Spell::IsTriggered() const
{
return (!m_fromClient && (_triggeredCastFlags & TRIGGERED_FULL_MASK) != 0)
return (!m_fromClient && (_triggeredCastFlags & TRIGGERED_IS_TRIGGERED_MASK) != 0)
|| !m_originalCastId.IsEmpty();
}