diff --git a/Source/Game/DataStorage/Structs/S_Records.cs b/Source/Game/DataStorage/Structs/S_Records.cs index 33db55f79..467fac714 100644 --- a/Source/Game/DataStorage/Structs/S_Records.cs +++ b/Source/Game/DataStorage/Structs/S_Records.cs @@ -172,7 +172,7 @@ namespace Game.DataStorage public ushort CumulativeAura; public uint ProcCategoryRecovery; public byte ProcChance; - public uint ProcCharges; + public int ProcCharges; public ushort SpellProcsPerMinuteID; public int[] ProcTypeMask = new int[2]; public uint SpellID; diff --git a/Source/Game/Spells/SpellInfo.cs b/Source/Game/Spells/SpellInfo.cs index db2ace218..63d4dad52 100644 --- a/Source/Game/Spells/SpellInfo.cs +++ b/Source/Game/Spells/SpellInfo.cs @@ -99,7 +99,7 @@ namespace Game.Spells SpellProcsPerMinuteRecord _ppm = CliDB.SpellProcsPerMinuteStorage.LookupByKey(_options.SpellProcsPerMinuteID); ProcFlags = (ProcFlags)_options.ProcTypeMask[0]; ProcChance = _options.ProcChance; - ProcCharges = _options.ProcCharges; + ProcCharges = (uint)_options.ProcCharges; ProcCooldown = _options.ProcCategoryRecovery; ProcBasePPM = _ppm != null ? _ppm.BaseProcRate : 0.0f; ProcPPMMods = Global.DB2Mgr.GetSpellProcsPerMinuteMods(_options.SpellProcsPerMinuteID);