WoWInterface - View Single Post - Relic tier information
View Single Post
12-16-17, 11:39 PM   #2
A Black Drake
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 84
I'm guessing what you want to do, is capture the extra +5 item levels you get by selecting the first tier from the crucible?

If that is what you are trying to do, C_ArtifactUI.GetRelicSlotRankInfo(relicSlotIndex) can kind of sort of give you what you want indirectly. The first return of that call gives you the number of ranks you purchased from the crucible, so basically if the first return shows a 1, 2 or 3, you can conclude that you are getting the extra +5 from the relic.

So I would suggest grabbing the base ilvl using C_ArtifactUI.GetItemLevelIncreaseProvidedByRelic(), then doing a check on the first return of C_ArtifactUI.GetRelicSlotRankInfo(relicSlotIndex) to see if it is greater or equal to 1, and if it does then you can just +5 to the return from the first ilvl lookup.
  Reply With Quote