1
0

Add unbreaking for armor (#4220)

Ref: minecraft.gamepedia.com/Enchanting#Unbreaking

#915
This commit is contained in:
Bond-009
2018-07-13 00:10:15 +02:00
committed by peterbell10
parent 06eb5cc70d
commit 2431b077cd
2 changed files with 37 additions and 22 deletions

View File

@@ -425,6 +425,10 @@ public:
is damaged by when used for a_Action */
void UseEquippedItem(cItemHandler::eDurabilityLostAction a_Action);
/** Damage the item in a_SlotNumber by a_Damage, possibly less if the
equipped item is enchanted. */
void UseItem(int a_SlotNumber, short a_Damage = 1);
void SendHealth(void);
void SendExperience(void);