From NWN Lexicon
Revision as of 04:18, 19 September 2021 by Shadguy (talk | contribs) (→‎Version: applied patch template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Sets the ability penalty limit.

void SetAbilityPenaltyLimit(
    int nNewLimit


The value to set the bonus to.


Sets the ability penalty limit. The default value is 30. The minimum value is 0. The maximum value is 255.


Information icon.png This section of the article is a stub. You can help the NWN Lexicon by expanding it.


This function was added in 1.74.8158 of NWN:EE.


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

functions: GetAbilityPenaltyLimit(), SetAbilityBonusLimit()