EffectBonusFeat(int)

From NWN Lexicon
Jump to navigationJump to search
Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.

Creates a bonus feat effect.

effect EffectBonusFeat(
    int nFeat
);

Parameters

nFeat
The feat to grant as an effect; a feat.2da entry - which can be identified with a FEAT_* constant.


Description

Creates a bonus feat effect. These act like the Bonus Feat item property, and do not work as feat prerequisites for levelup purposes.


Remarks

This can be made long-lasting (even through death) with UnyieldingEffect which can remove the need to have hide-applied ItemPropertyBonusFeat and allow feats through EffectPolymorph which alters the items of the creature it is applied to.

Like bonus feats on items it won't count when levelling up for any prerequisites.


Version

This function was added in 1.87.8193.35 of NWN:EE.


Example

Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.


See Also

constants:  FEAT_* Constants


 author: Shadguy