Core/Auras: Implemented SPELL_AURA_IGNORE_SPELL_CHARGE_COOLDOWN
Port From (https://github.com/TrinityCore/TrinityCore/commit/e0d3781989c3e9339bfc14981a57683d3010f4e0)
This commit is contained in:
@@ -846,6 +846,9 @@ namespace Game.Spells
|
||||
int chargeRecovery = GetChargeRecoveryTime(chargeCategoryId);
|
||||
if (chargeRecovery > 0 && GetMaxCharges(chargeCategoryId) > 0)
|
||||
{
|
||||
if (_owner.HasAuraTypeWithMiscvalue(AuraType.IgnoreSpellChargeCooldown, (int)chargeCategoryId))
|
||||
return true;
|
||||
|
||||
DateTime recoveryStart;
|
||||
var charges = _categoryCharges.LookupByKey(chargeCategoryId);
|
||||
if (charges.Empty())
|
||||
|
||||
Reference in New Issue
Block a user