WoW:API GetTradeSkillItemStats: Difference between revisions
Jump to navigation
Jump to search
m
→Example: correction
m (fixed overview erroneous function name (was GetTradeSkillItemLink) |
m (→Example: correction) |
||
| Line 49: | Line 49: | ||
== Example == | == Example == | ||
itemStats = GetTradeSkillItemStats(2) -- Get item stats for Deadly Bronze Poniard (see above) | itemStats = {GetTradeSkillItemStats(2)} -- Get item stats for Deadly Bronze Poniard (see above) | ||
=== Result === | === Result === | ||
itemStats = { "Uncommon", "Binds when equipped", "One-Hand", "|cffff2020Dagger|r", "16 - 30 Damage", "Speed 18", "+4 Strength", "Level 25", "Requires Level 20" } | itemStats = { "Uncommon", "Binds when equipped", "One-Hand", "|cffff2020Dagger|r", "16 - 30 Damage", "Speed 18", "+4 Strength", "Level 25", "Requires Level 20" } | ||
=== Note === | |||
The curly braces around the functions call are critical, if you forget those your result will be: | |||
itemStats = "Uncommon" | |||