LibItemStatsPlus
Overview
LibItemStatsPlus is a library similar to LibStatLogic-1.2. It scan stats from tooltip of gears and summary stats including reforge, enchant, gems and bonus.
LibItemStatsPlus API
lib:GetItemStats(itemlink)
Returns
A table of item stats, as returns from API GetItemStats(itemlink). Including item's enchant, gems, reforged stats by scanning item's tooltip BUT EXCLUDING GEMS SCOKET.
Arguments
- itemlink
- Item link of the gear.
lib:GetUpgradeLevel(itemlink)
Returns
Upgraded item level of itemlink
Arguments
- itemlink
- Item link of the gear.
lib:GetRatingsFromStat(value, level, statName [, classid, specid] )
Returns
Rating of statName in level
Arguments
- value
- value of the stat.
- level
- level of the unit.
- statName
- stat name of the value.
- classid
- classid or class name of the unit.
- specid
- spec id of the unit.
Other Functions
- MeleeCritRating = lib:GetCritFromAgi(value, level, classid)
- SpellCritRating = lib:GetCritFromInt(value, level, classid)
- SpellCritBase = lib:GetSpellCritBase(classid)
- MeleeCritBase = lib:GetMeleeCritBase(classid)
- value = lib:GetAPFromAgi(value, classid)
- value = lib:GetAPFromStr(value, classid)
- value = lib:GetRAPFromAgi(value, classid)
- value = lib:GetMPFromSpt(value, classid)
- value = lib:GetHPFromSta(value, level)
What does "EXCLUDING GEMS SCOKET" mean exactly?