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

This commit is contained in:
Shauren authored and Ovahlord committed 2025-08-02 08:58:18 +02:00
1 parent 3c18ebf97d
commit c158f40455
3 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -7877,7 +7877,7 @@ bool Spell::CheckEffectTarget(Unit const* target, uint32 eff, Position const* lo
bool Spell::IsTriggered() const
{
return (_triggeredCastFlags & TRIGGERED_FULL_MASK) != 0;
return (_triggeredCastFlags & TRIGGERED_IS_TRIGGERED_MASK) != 0;
}
bool Spell::IsIgnoringCooldowns() const