Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Returns the reforge item's dest stats.

name1, statID1, statValue1, reforgeID1, ... = GetDestinationReforgeStats(stat, value)

Arguments[]

stat
number - Source Stat ID
value
number - Source Stat Value

Returns[]

name
string - Stat Name
statID
number - Dest Stat ID
statValue
number - Dest Stat Value
reforgeID
number - Reforge ID. It behaves more like an index though


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[]

Inv gauntlets robe raidpriest j 01 [Handwraps of the Cleansing Flame]

/dump GetSourceReforgeStats(6, 82)

=> "Dodge Rating", 13, 82, 1, "Parry Rating", 14, 82, 2, "Hit Rating", 31, 82, 3, "Critical Strike Rating", 32, 82, 4, "Expertise Rating", 37, 82, 5, "Mastery Rating", 49, 82, 6
/dump GetSourceReforgeStats(36, 68)

=> "Dodge Rating", 13, 68, 7, "Parry Rating", 14, 68, 8, "Hit Rating", 31, 68, 9, "Critical Strike Rating", 32, 68, 10, "Expertise Rating", 37, 68, 11, "Mastery Rating", 49, 68, 12

This example will print all the reforge item's possible dest stats

local sourceStats = {GetSourceReforgeStats()}

for i = 1, #sourceStats, 3 do
	local destStats = {GetDestinationReforgeStats(sourceStats[i+1], sourceStats[i+2])}
	for j = 1, #destStats, 4 do
		print(i, j, destStats[j], destStats[j+1], destStats[j+2], destStats[j+3])
	end
end

See Also[]

Advertisement