diff options
| author | Gerhood <mrambrius@gmail.com> | 2017-01-29 14:06:40 +0100 |
|---|---|---|
| committer | Aokromes <Aokromes@users.noreply.github.com> | 2017-01-29 14:06:40 +0100 |
| commit | bab59b28faad262dc5d9873ca7c0856477ec4d66 (patch) | |
| tree | 628e18394a082256c706e2b23015c0d774861dda /src/server/game/Spells/Spell.cpp | |
| parent | d3d6c55650b83611d3a2a8c7f7b43675ffb3cdf0 (diff) | |
Core/Spells: implement Mad/Crazy Alchemist's potions
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
| -rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 9c0d6e9fa8e..32fd73e1073 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -4831,7 +4831,7 @@ SpellCastResult Spell::CheckCast(bool strict, uint32* param1 /*= nullptr*/, uint return SPELL_FAILED_SPELL_IN_PROGRESS; // check if we are using a potion in combat for the 2nd+ time. Cooldown is added only after caster gets out of combat - if (m_caster->ToPlayer()->GetLastPotionId() && m_CastItem && (m_CastItem->IsPotion() || m_spellInfo->IsCooldownStartedOnEvent())) + if (!IsIgnoringCooldowns() && m_caster->ToPlayer()->GetLastPotionId() && m_CastItem && (m_CastItem->IsPotion() || m_spellInfo->IsCooldownStartedOnEvent())) return SPELL_FAILED_NOT_READY; } |
