Difference between revisions of "Ability GetScaledDamage"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (Redirected page to Ability GetScaled*) |
m |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{dafunction | |
| + | |name = Ability_GetScaledDamage | ||
| + | |brief = Returns the nDamage parameter without any scaling. | ||
| + | |param1type = int | ||
| + | |param1name = nAbility | ||
| + | |param1desc = an [[ABILITY_*]] constant | ||
| + | |param1default = | ||
| + | |param2type = object | ||
| + | |param2name = oCaster | ||
| + | |param2desc = the creature using the ability | ||
| + | |param2default = | ||
| + | |param3type = int | ||
| + | |param3name = nDamage | ||
| + | |param3desc = an amount of damage | ||
| + | |param3default = | ||
| + | |returntype = int | ||
| + | |returndesc = the nDamage 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 nDamage 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. --> | ||
Latest revision as of 20:05, 3 August 2011
Returns the nDamage parameter without any scaling.
- Parameters:
- nAbility
- an ABILITY_* constant
- oCaster
- the creature using the ability
- nDamage
- an amount of damage
- Returns:
- the nDamage parameter
- Source:
- Core Game Resources.ability_h
Remarks
Despite its name this function simply returns the nDamage parameter without any scaling.