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