Ability GetAbilityCost
From Dragon Age Toolset Wiki
Revision as of 23:12, 24 February 2010 by BryanDerksen (Talk | contribs) (these parameter descriptions appear to have been inappropriately duplicated from other function documentation)
returns the cost (mana or stamina) of using an ability
float Ability_GetAbilityCost(
object oCaster,
int nAbility,
int nAbilityType = ABILITY_TYPE_INVALID,
int bUpkeep = FALSE
);
object oCaster,
int nAbility,
int nAbilityType = ABILITY_TYPE_INVALID,
int bUpkeep = FALSE
);
- Parameters:
- oCaster
- [Undocumented]
- nAbility
- [Undocumented]
- nAbilityType
- [Undocumented]
- bUpkeep
- [Undocumented]
- Returns:
- The cost of using the ability
- Source:
- Core Resources.ability_h
Remarks
Note: nAbility = ABILITY_TYPE_INVALID will cause a lookup in the 2da.
This function is duplicated within the game executable. Any change made to this function will result in GUI glitches and other bugs. Sorry.