Returns stat names and amounts of original or upgraded item. This function can currently only be called when at the upgrade merchant
See also Item Upgrade functions.
Signature:
stat,
amount,
...
=
GetItemUpgradeStats(getNew)
Arguments:
getNew
- true: return the current stats, false: return upgraded stats (boolean
)
Returns:
stat
- localized name of an item stat (string
)amount
- amount of the stat (number
)...
- for each stat present on the item, pairs of stat name/stat amount are returned (string
)