public float GetBaseStat(Objects.Unit unit, Common.UnitStats stat) { if (unit == null) lua.ArgumentError(1, "Unit cannot be null"); return unit.GetBaseStat(stat); }