GetSourceReforgeStats
Jump to navigation
Jump to search
Links |
---|
Info |
Added in 4.0.1 |
This no longer exists on any flavor of the game. |
Returns the reforge item's source stats, which can be used to reforge into another (dest) stat.
name1, statID1, statValue1, ... = GetSourceReforgeStats()
Returns
- name
- string - Stat Name
- statID
- number - Stat ID
- statValue
- number - Stat Value. This is the amount that will be subtracted and can be reforged into another stat
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() => "Spirit", 6, 82, "Haste Rating", 36, 68
Stat | Old | Diff | New |
---|---|---|---|
(6) Spirit | 206 | - 82 | 124 |
(36) Haste Rating | 172 | - 68 | 104 |
This example will print all the reforge item's source stats
local stats = {GetSourceReforgeStats()} for i = 1, #stats, 3 do print(stats[i], stats[i+1], stats[i+2]) end
See Also
- GetReforgeItemStats for all of the reforge item's stats
- GetDestinationReforgeStats for dest stats