Skip to content

Commit 2e1414d

Browse files
committed
Core/Spells: Fixed SPELL_AURA_IGNORE_SPELL_COOLDOWN - don't start cooldown for affected spells
1 parent 210daa3 commit 2e1414d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/server/game/Spells/SpellHistory.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,9 @@ void SpellHistory::HandleCooldowns(SpellInfo const* spellInfo, uint32 itemId, Sp
254254
if (ConsumeCharge(spellInfo->ChargeCategoryId))
255255
return;
256256

257+
if (_owner->HasAuraTypeWithAffectMask(SPELL_AURA_IGNORE_SPELL_COOLDOWN, spellInfo))
258+
return;
259+
257260
if (Player* player = _owner->ToPlayer())
258261
{
259262
// potions start cooldown until exiting combat

0 commit comments

Comments
 (0)