Fandom

WoWWiki

API GetRepairAllCost

104,642pages on
this wiki
Add New Page
Talk2 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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

Also on Fandom

Random Wiki