The equipment in our game is in the form of a card, and a certain number of cards can be upgraded. My problem is that if the card is a consumable item, then when the equipment is upgraded, after the card is consumed, the number of cards is 0 and level +1, then the item becomes expired, but I don't want this result. , how do I change it?