Difference between revisions of "GetItemStat"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=GetItemStat | |name=GetItemStat | ||
Line 10: | Line 9: | ||
|param2desc=The stat that is being queried | |param2desc=The stat that is being queried | ||
|returntype=float | |returntype=float | ||
− | |returndesc= | + | |returndesc=Modifier for the stat given by this item |
|sourcefile=script.ldf | |sourcefile=script.ldf | ||
|sourcemodule= | |sourcemodule= | ||
Line 17: | Line 16: | ||
== Description == | == Description == | ||
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | <!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | ||
− | Queries the items and material | + | Queries the [[BITM base.xls|items]] and [[Materialtypes.xls|material 2DA]]s to get the stat modifier that a certain item has when equipped. |
− | that a certain item has when equipped. | + | |
<!-- == Remarks == --> | <!-- == Remarks == --> |
Latest revision as of 22:00, 2 March 2010
Get a stat modifier of the item (including material modifier)
- 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.