Files
Craftimizer/Craftimizer/Simulator/CharacterStats.cs
T
2023-06-13 11:54:49 -07:00

17 lines
453 B
C#

using System.Linq;
using Craftimizer.Plugin;
namespace Craftimizer.Simulator;
internal record CharacterStats
{
public int Craftsmanship { get; }
public int Control { get; }
public int CP { get; }
public int Level { get; }
public int CLvl => Level <= 80
? LuminaSheets.ParamGrowSheet.GetRow((uint)Level)!.CraftingLevel
: (int)LuminaSheets.RecipeLevelTableSheet.First(r => r.ClassJobLevel == Level).RowId;
}