Difference between revisions of "Ability GetScaledCost"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (Redirected page to Ability GetScaled*) |
m (Recreated) |
||
Line 1: | Line 1: | ||
− | + | {{dafunction | |
+ | |name = Ability_GetScaledCost | ||
+ | |brief = | ||
+ | |param1type = int | ||
+ | |param1name = nAbility | ||
+ | |param1desc = an [[ABILITY_*]] constant | ||
+ | |param1default = | ||
+ | |param2type = object | ||
+ | |param2name = oCaster | ||
+ | |param2desc = the creature using the ability | ||
+ | |param2default = | ||
+ | |param3type = int | ||
+ | |param3name = nCost | ||
+ | |param3desc = an item cost | ||
+ | |param3default = | ||
+ | |returntype = int | ||
+ | |returndesc = the nCost parameter | ||
+ | |sourcefile = ability_h | ||
+ | |sourcemodule = Core Game Resources | ||
+ | }} | ||
+ | <!-- | ||
+ | == Description == --> | ||
+ | <!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | ||
+ | == Remarks == | ||
+ | <!-- This section contains additional comments, observations and known issues. --> | ||
+ | Despite its name this function simply returns the nCost parameter without any scaling. | ||
+ | <!-- | ||
+ | == Examples == --> | ||
+ | <!-- This section contains examples transcluded from the snippet library. --> | ||
+ | <!-- | ||
+ | == See also == --> | ||
+ | <!-- This section contains links to articles, functions or constant groups. --> |
Revision as of 21:03, 3 August 2011
- Parameters:
- nAbility
- an ABILITY_* constant
- oCaster
- the creature using the ability
- nCost
- an item cost
- Returns:
- the nCost parameter
- Source:
- Core Game Resources.ability_h
Remarks
Despite its name this function simply returns the nCost parameter without any scaling.