GetItemStat

From Dragon Age Toolset Wiki
Revision as of 22:00, 2 March 2010 by BryanDerksen (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Get a stat modifier of the item (including material modifier)

float GetItemStat(
object oItem,
int nStatType
);
Parameters:
oItem
the Item
nStatType
The stat that is being queried
Returns:

Modifier for the stat given by this item

Source:

script.ldf

Description

Queries the items and material 2DAs to get the stat modifier that a certain item has when equipped.