Returns the cost to repair all of the player's damaged items. Returns 0, nil
if none of the player's items are damaged. Only returns valid data while interacting with a vendor which allows repairs (i.e. for whom CanMerchantRepair()
returns 1
).
See also Merchant functions.
Signature:
repairAllCost,
canRepair
=
GetRepairAllCost()
Returns:
repairAllCost
- Cost to repair all damaged items (in copper) (number
)canRepair
- 1 if repairs are currently available; otherwise nil (1nil
)