Function setMaterialDurability

Set Material durability