Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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 |
---|---|
Agility | |
Strength | |
Intellect | |
Spirit | |
Stamina | |
Dodge Rating | |
Parry Rating | |
Hit Rating | |
Critical Strike Rating | |
Haste Rating | |
Expertise Rating | |
Spell Power | |
Mastery Rating |
Example[]
[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[]
- GetReforgeItemStats for all of the reforge item's stats
- GetSourceReforgeStats for source stats