View Single Post
12-16-17, 10:14 PM   #1
Tim
A Rage Talon Dragon Guard
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 309
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