Lore archive · Warcraft Wiki, 2023 dump
API GetDestinationReforgeStats
Last wiki revision 2022-07-21
Returns the reforge item's dest stats. name1, statID1, statValue1, reforgeID1, ... = GetDestinationReforgeStats(stat, value)
- stat: - Source Stat ID
- value: - Source Stat Value
- name: - Stat Name
- statID: - Dest Stat ID
- statValue: - Dest Stat Value
- reforgeID: - <font color="#ff8080">Reforge ID . It behaves more like an index though
/dump GetSourceReforgeStats(6, 82) => "Dodge Rating", 13, 82, <font color="#ff8080">1, "Parry Rating", 14, 82, <font color="#ff8080">2 , "Hit Rating", 31, 82, <font color="#ff8080">3 , "Critical Strike Rating", 32, 82, <font color="#ff8080">4 , "Expertise Rating", 37, 82, <font color="#ff8080">5 , "Mastery Rating", 49, 82, <font color="#ff8080">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
- GetReforgeItemStats for all of the reforge item's stats
- GetSourceReforgeStats for source stats
Source
https://warcraft.wiki.gg/wiki/API_GetDestinationReforgeStats · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.