Ability GetAbilityTable

From Dragon Age Toolset Wiki
Jump to: navigation, search

Returns the TABLE* constants for 2da lookups for a specific abiltiy

int Ability_GetAbilityTable(
int nAbilityType
);
Parameters:
nAbilityType
ABILITY_TYPE* constant
Returns:

TABLE* constant

Source:

Core Resources.ability_h


Talents, Spells, Skills and Items use different 2das, even tho they have the same structure. This function returns the constant for use with the GetM2DA* functions.