/// <summary>Gets the next Character Stat to Improve.</summary> /// <returns></returns> public HzCharacterStat GetNextImroveStat() { return(TrainStats.OrderByDescending(stat => stat.StatDiffToShouldValue).FirstOrDefault()); }
private IEnumerable <HzCharacterStat> allStats() { return(TrainStats.Concat(new[] { WeaponDamage })); }
static async Task<TrainStats> ParseToObject(string filePath) { using FileStream openStream = File.OpenRead(filePath); TrainStats trainStats = await JsonSerializer.DeserializeAsync<TrainStats>(openStream); return trainStats; }