fix(Core/Spells): triggering potion cooldowns (from TC) (#6016)

This commit is contained in:
UltraNix
2021-05-30 11:53:16 +02:00
committed by GitHub
parent 07d0f654d5
commit 107658ebbc
4 changed files with 29 additions and 11 deletions

View File

@@ -509,6 +509,7 @@ public:
bool IsTriggered() const { return _triggeredCastFlags & TRIGGERED_FULL_MASK; };
bool IsChannelActive() const { return m_caster->GetUInt32Value(UNIT_CHANNEL_SPELL) != 0; }
bool IsAutoActionResetSpell() const;
bool IsIgnoringCooldowns() const;
bool IsDeletable() const { return !m_referencedFromCurrentSpell && !m_executedCurrently; }
void SetReferencedFromCurrent(bool yes) { m_referencedFromCurrentSpell = yes; }