Core/Auras: Implemented SPELL_AURA_IGNORE_SPELL_CHARGE_COOLDOWN

Port From (https://github.com/TrinityCore/TrinityCore/commit/e0d3781989c3e9339bfc14981a57683d3010f4e0)
This commit is contained in:
Hondacrx
2025-06-16 17:22:39 -04:00
parent 7d46284519
commit e78a52886c
+3
View File
@@ -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())