WoWInterface - View Single Post - Identify items on refund cooldown
View Single Post
04-19-20, 11:33 PM   #3
A Flamescale Wyrmkin
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 117
Hi myrroddin

Thanks for your help.

Unfortuantley when I scan the item tooltip I still cannot see the refund string.

This is the code I use to scan the tooltip;
local scantip = CreateFrame("GameTooltip", "MyScanningTooltip", nil, "GameTooltipTemplate")
scantip:SetOwner(UIParent, "ANCHOR_NONE")

local function MyGetItemStats(link)
for i=1, scantip:NumLines() do
local textL = _G["MyScanningTooltipTextLeft"..i]:GetText()
local textR = _G["MyScanningTooltipTextRight"..i]:GetText()
print(i,textL, textR)

MyGetItemStats("|cffa335ee|Hitem:41656::::::::111:259::::::|h[Relentless Gladiator's Leather Legguards]|h|r")
This is the item;

This is the output;

Is there a step that I am missing or is there another way that will allow me to identify an item that is on the refund cooldown?
  Reply With Quote