Wikia

WoWWiki

API GetRepairAllCost

Talk2
101,314pages on
this wiki
WoW API < GetRepairAllCost
repairAllCost, canRepair = GetRepairAllCost()

Parameters Edit

Arguments none

Returns

repairAllCost, canRepair
repairAllCost
Number - repair cost in copper
canRepair 
Number - returns 1 if merchant can repair and player has damaged items, nil otherwise

DetailsEdit

Used by MerchantFrame when the MerchantRepairAllButton button is clicked
Does NOT work without the proper type of merchant window open

Around Wikia's network

Random Wiki