Difference between revisions of "Ability GetScaledDamage"

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

Latest revision as of 21:05, 3 August 2011

Returns the nDamage parameter without any scaling.

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