public void Update(Item item) { ItemModifier.Modify(item) .IncreaseAge() .IncreaseQuality() .IncreaseQualityWhenExpired() .LimitQualityToNoMoreThan(50); }
public void Update(Item item) { ItemModifier.Modify(item) .IncreaseAge() .DecreaseQualityBy(2) .DecreaseQualityWhenExpiredBy(2) .LimitQualityToNoLessThan(0); }
public void Update(Item item) { ItemModifier.Modify(item) .IncreaseAge() .IncreaseQuality() .IncreaseQualityWhenExpiryInLessThan(10) .IncreaseQualityWhenExpiryInLessThan(5) .ReduceAllQualityWhenExpired() .LimitQualityToNoMoreThan(50); }