GetIsMagicStatBonus

From NWN Lexicon
Jump to navigationJump to search


GetIsMagicStatBonus(object)

Returns spellcasting ability modifier.

Parameters

oCaster

Creature in question.


Description

Returns the modifier from the ability score that matters for this caster.



Remarks

This function is not compatible with custom content as it is class based.

Known Bugs

Works wrong with creatures having more than one casting class.

Requirements

#include " x2_i0_spells "


Version

???

See Also

functions: 

GetCasterAbilityModifier

constants: 

ABILITY_*



author: ShaDoOoW, editor: Kookoo