Difference between revisions of "SetAbilityBonusLimit"

From NWN Lexicon
Jump to: navigation, search
(See Also)
m (Version: applied patch template)
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
  
 
===Description===
 
===Description===
Sets the ability bonus limit. The minimum value is 0.
+
Sets the ability bonus limit.   The default value is 12.  The minimum value is 0.  The maximum value is 255.
  
 
===Remarks===
 
===Remarks===
Line 18: Line 18:
  
 
===Version===
 
===Version===
[http://blog.beamdog.com/2018/02/nwnee-8157-8158-patch-notes.html 1.74.8158]
+
{{patchnwnee|patch=1.74.8158|link=http://blog.beamdog.com/2018/02/nwnee-8157-8158-patch-notes.html}}
  
 
===Example===
 
===Example===
Line 31: Line 31:
 
----
 
----
  
[[Category:Functions]]{{DISPLAYTITLE:SetAbilityBonusLimit(int)}}
+
[[Category:Functions]]
 +
[[Category:Ruleset_Functions]]
 +
{{DISPLAYTITLE:SetAbilityBonusLimit(int)}}

Latest revision as of 04:17, 19 September 2021

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 bonus limit.
void SetAbilityBonusLimit(
    int nNewLimit
);

Parameters

nNewLimit
The value to set the bonus to.

Description

Sets the ability bonus limit. The default value is 12. The minimum value is 0. The maximum value is 255.

Remarks

Information icon.png 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

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: GetAbilityBonusLimit(), SetAbilityPenaltyLimit()