Beispiel #1
0
 public void DecreaseDurability(byte i, bool silent = false)
 {
     if (Durability < i)
     {
         Durability = 0;
         OnUnEquip();
     }
     else
     {
         Durability -= i;
     }
     if (!silent)
     {
         Asda2CharacterHandler.SendUpdateDurabilityResponse(OwningCharacter.Client, this);
     }
 }