Core: Updated to 11.2.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/5cf0c6c8bb2c4e58a2d66ba5f304af34d18a4782)
This commit is contained in:
@@ -992,9 +992,9 @@ namespace Game.Spells
|
||||
if (chargeCategoryEntry == null)
|
||||
return 0;
|
||||
|
||||
uint charges = chargeCategoryEntry.MaxCharges;
|
||||
charges += (uint)_owner.GetTotalAuraModifierByMiscValue(AuraType.ModMaxCharges, (int)chargeCategoryId);
|
||||
return (int)charges;
|
||||
int charges = chargeCategoryEntry.MaxCharges;
|
||||
charges += _owner.GetTotalAuraModifierByMiscValue(AuraType.ModMaxCharges, (int)chargeCategoryId);
|
||||
return charges;
|
||||
}
|
||||
|
||||
public int GetChargeRecoveryTime(uint chargeCategoryId)
|
||||
|
||||
Reference in New Issue
Block a user