Quantcast
Relic tier information - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-16-17, 10:14 PM   #1
Tim
A Frostmaul Preserver
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 289
Relic tier information

Is there a way to get tier information without being at the crucible forge?

Basically what I'm trying to do is get the additional item level bonuses.

Code:
C_ArtifactUI.GetItemLevelIncreaseProvidedByRelic
Only provides the non-crucible item level increases.


Code:
local SCANNER = CreateFrame("GameTooltip", "TooltipScanner", nil, "GameTooltipTemplate")
local relicLink = select(4, C_ArtifactUI.GetEquippedArtifactRelicInfo(1))

SCANNER:SetOwner(UIParent, "ANCHOR_NONE")
SCANNER:SetHyperlink(relicLink)

for i = 1, SCANNER:NumLines() do
   local line = _G[SCANNER:GetName().."TextLeft"..i]:GetText()
   print("Line "..i..":", line)
end
I've tried doing a tooltip scan but, iterating through all the lines it only returns the relics basic information.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Relic tier information

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off