Example #1
0
 private void QualityDownExecuted(object _)
 {
     Item.Quality = Item.Quality - 1;
     RepairExecuted(this);
     QualityUp.OnCanExecuteChanged();
     QualityDown.OnCanExecuteChanged();
 }
Example #2
0
 private void QualityDownExecuted(object _)
 {
     Item.Quality       = Item.Quality - 1;
     Item.MaxDurability = 1; // Force-recalculating max durability
     RepairExecuted(this);
     QualityUp.OnCanExecuteChanged();
     QualityDown.OnCanExecuteChanged();
 }