public void FullRecalc(UnitRecord unit) { Log.Info($"Starting with base stats: {unit.stats.baseStats}"); //JsonObject result = CalcStats(unit.data); //Log.Info($"Calculated Stats: {result.PrettyPrint()}"); //unit.data.Set(result); }
public Unit(UnitRecord record) { this.record = record; owner = record.owner; stats = new JsonObject(); }