GetReforgeItemStats

From Warcraft Wiki
Jump to navigation Jump to search
Links
Info
Added in 4.0.1

Returns the reforge item's stats.

name1, statID1, statValue1, ... = GetReforgeItemStats()

Returns

name
string - Stat Name
statID
number - Stat ID
statValue
number - Stat Value
Stat ID Stat Name
3
Agility
4
Strength
5
Intellect
6
Spirit
7
Stamina
13
Dodge Rating
14
Parry Rating
31
Hit Rating
32
Critical Strike Rating
36
Haste Rating
37
Expertise Rating
45
Spell Power
49
Mastery Rating

Example

 [Handwraps of the Cleansing Flame]

/dump GetReforgeItemStats() => "Stamina", 7, 454, "Intellect", 5, 282, "Spirit", 6, 206, "Haste Rating", 36, 172

This example will print all the reforge item's stats

local stats = {GetReforgeItemStats()}

for i = 1, #stats, 3 do
	print(stats[i], stats[i+1], stats[i+2])
end

See Also