Difference between revisions of "Chargen ModifyCreaturePropertyBase"
From Dragon Age Toolset Wiki
(created) |
m (Fixing headings) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{dafunction | {{dafunction | ||
− | |name=Chargen_ModifyCreaturePropertyBase | + | |name = Chargen_ModifyCreaturePropertyBase |
− | |brief=Modifiers a creature property base value by a given number | + | |brief = Modifiers a creature property base value by a given number |
− | |param1type = object | + | |param1type = object |
− | |param1name = oChar | + | |param1name = oChar |
− | |param1desc = Affected charakter. | + | |param1desc = Affected charakter. |
|param1default = | |param1default = | ||
− | |param2type = int | + | |param2type = int |
− | |param2name = nProperty | + | |param2name = nProperty |
− | |param2desc = The property to modifiy (see [[ | + | |param2desc = The property to modifiy (see [[PROPERTY_*]]). |
|param2default = | |param2default = | ||
− | |param3type = float | + | |param3type = float |
− | |param3name = fModifyBy | + | |param3name = fModifyBy |
− | |param3desc = The value by which the property is modified. | + | |param3desc = The value by which the property is modified. |
|param3default = | |param3default = | ||
− | + | |returntype = void | |
− | |returntype = void | + | |returndesc = returns the lesser value of both |
− | + | |sourcefile = sys_chargen_h | |
− | |returndesc = returns the lesser value of both | + | |sourcemodule = Core Game Resources |
− | |sourcefile = sys_chargen_h | + | |
− | |sourcemodule = Core Resources | + | |
}} | }} | ||
− | + | == 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. --> | ||
Function to modify the baseproperty of a creature. | Function to modify the baseproperty of a creature. | ||
− | |||
<!-- == Remarks == --> | <!-- == Remarks == --> | ||
<!-- This section contains additional comments, observations and known issues. --> | <!-- This section contains additional comments, observations and known issues. --> | ||
− | |||
<!-- == Examples == --> | <!-- == Examples == --> | ||
<!-- This section contains examples transcluded from the snippet library. --> | <!-- This section contains examples transcluded from the snippet library. --> | ||
− | |||
<!-- == See also == --> | <!-- == See also == --> | ||
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
− | + | ||
− | [[Category: | + | [[Category:Uncategorised function]] |
Latest revision as of 12:58, 24 August 2011
Modifiers a creature property base value by a given number
- Parameters:
- oChar
- Affected charakter.
- nProperty
- The property to modifiy (see PROPERTY_*).
- fModifyBy
- The value by which the property is modified.
- Returns:
- Nothing.
- Source:
- Core Game Resources.sys_chargen_h
Description
Function to modify the baseproperty of a creature.