SetAttackBonusLimit(int)

From NWN Lexicon
Jump to navigationJump to search
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 attack bonus limit.

void SetAttackBonusLimit(
    int nNewLimit
);

Parameters

nNewLimit
The maximum attack bonus for the module.

Description

Sets the attack bonus limit. The default value is 20. The minimum value is 0. The maximum value is 255.

Remarks

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

Version

This function was added in 1.74.8158 of NWN:EE.

Example

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

See Also

functions: GetAttackBonusLimit()