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