Quantcast WoWInterface - View Single Post - Legendary cloak and real itemlevel
View Single Post
03-15-20, 06:35 PM   #8
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,920
It appears to go up 2 ilvls every rank, so this should work:
Code:
function GetCloakRank(itemlink)
	local current,_,base=GetDetailedItemLevelInfo(itemlink);
	return math.min((current-base)/2+1,15);
end
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 03-17-20 at 06:14 PM.
  Reply With Quote