GetAbilityModifier

From NWN Lexicon
Jump to navigationJump to search



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

constants: 

ABILITY_* Constants



 author: Kristian Markon