Difference between revisions of "Ability GetScaledCost"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Recreated)
m
 
Line 1: Line 1:
 
{{dafunction
 
{{dafunction
 
|name          = Ability_GetScaledCost
 
|name          = Ability_GetScaledCost
|brief        =  
+
|brief        = Returns the nCost parameter without any scaling.
 
|param1type    = int  
 
|param1type    = int  
 
|param1name    = nAbility
 
|param1name    = nAbility

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.