Core/Spells: Fixed SPELL_AURA_IGNORE_SPELL_COOLDOWN - don't start cooldown for affected spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e1414d5bc740e48b507c7f9910147372fb3862c)
This commit is contained in:
@@ -188,6 +188,9 @@ namespace Game.Spells
|
|||||||
if (ConsumeCharge(spellInfo.ChargeCategoryId))
|
if (ConsumeCharge(spellInfo.ChargeCategoryId))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (_owner.HasAuraTypeWithAffectMask(AuraType.IgnoreSpellCooldown, spellInfo))
|
||||||
|
return;
|
||||||
|
|
||||||
Player player = _owner.ToPlayer();
|
Player player = _owner.ToPlayer();
|
||||||
if (player != null)
|
if (player != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user