LibItemStatsPlus

This project is abandoned and its default file will likely not work with the most recent version of World of Warcraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

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)

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

  • r10
    Jul 29, 2013