macro - minimum gear required for rhc or specific hc
Hello,
I wrote a macro that calculates your Average Item Level including quality of your item (exactly same formula the warmane using to decide if you can go rhc).
In this formula item that is not epic or legendary have actually ilvl = ilvl_you_see - 13
For main-hand and off-hand:
Code:
/run t=0 for i=1,18 do if i~=4 then il=GetInventoryItemLink("player", i) if il then _,_,r,l=GetItemInfo(il) if r~=4 and r~=5 then l=l-13 end t=t+l end end end print("AVG ILVL Including Quality:") print(t/17.0)
For two-hand weapon:
Code:
/run t=0 for i=1,18 do if i~=4 then il=GetInventoryItemLink("player", i) if il then _,_,r,l=GetItemInfo(il) if r~=4 and r~=5 then l=l-13 end t=t+l end end end print("AVG ILVL Including Quality:") print(t/16.0)
Minimum ILVL:
200 - The Forge of Souls (normal + hc)
200 - Trial of the Champion (normal + hc)
200 - Pit of Saron (normal + hc)
219 - Halls of Reflection (normal + hc)
180 - All others HC
Source:
https://github.com/TrinityCore/Trini...mplate.cpp#L82
https://raw.githubusercontent.com/Tr...yer/Player.cpp - GetItemLevelIncludingQuality (there is difference - warmane includes ranged and offhand to the calculation)
https://github.com/TrinityCore/Trini..._2019_07_15.7z - access_requirement table