mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Spells: Exclude TriggerCastFlags that can be set for non-triggered spells from being checked by Spell::IsTriggered
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user