GetAbilityModifier(int, object)

Get a creature's ability modifier for a specified ability.

int GetAbilityModifier(
    int nAbility,
    object oCreature = OBJECT_SELF
);

Parameters

nAbility

ABILITY_*

oCreature

The creature whose ability modifer is sought. (Default: OBJECT_SELF)


Description

Returns oCreature's ability modifier for nAbility.



Version

1.22

See Also

categories: Get Data from Creature Functions
constants: ABILITY_* Constants


 author: Kristian Markon