Difference between revisions of "Ability GetScaledCost"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Redirected page to Ability GetScaled*)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
#REDIRECT[[Ability GetScaled*]]
+
{{dafunction
 +
|name          = Ability_GetScaledCost
 +
|brief        = Returns the nCost 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    = 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. -->

Latest revision as of 21:04, 3 August 2011

Returns the nCost parameter without any scaling.

int Ability_GetScaledCost(
int nAbility,
object oCaster,
int nCost
);
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.