Core/Spells: Exclude TriggerCastFlags that can be set for non-triggered spells from being checked by Spell::IsTriggered
This commit is contained in:
1 parent
3c18ebf97d
commit
c158f40455
3 files changed
+7
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user