コード例 #1
0
        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);
        }
コード例 #2
0
 public Unit(UnitRecord record)
 {
     this.record = record;
     owner       = record.owner;
     stats       = new JsonObject();
 }