Getting Item Repair Cost with new Tooltip Functions
In my addon I would get the total cost to repair all of the player's gear by running:
Code:
repairTooltip = repairTooltip or CreateFrame("GameTooltip"); Am I missing something with the tooltip scanning path? Or is there an easier way to get repair cost when not at a repair vendor? |
Take a look at my addon on the updated method to grab the repairCosts. I had the same issue when I went to update the addon for DragonFlight.
https://www.wowinterface.com/downloa...urability.html |
Thanks Xruptor, that looks perfect.
|
Hi all,
I am using a different and simplest approach for my autorepair. Lua Code:
but now you have make me dubious if it is correct or no :) At the end it prints the repair cost : and it seems to me correct. |
All times are GMT -6. The time now is 12:10 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI