GetFeatRemainingUses(int, object)
From NWN Lexicon
Jump to navigationJump to searchIf oCreature has nFeat, and nFeat is useable, returns the number of remaining uses left.
Parameters
- nFeat
- The FEAT_* constant number or reference from feat.2da to query for remaining uses.
- oCreature
- The creature to query for remaining feat uses.
Description
If oCreature has nFeat, and nFeat is useable, returns the number of remaining uses left.
If the feat has unlimited uses (e.g. FEAT_KNOCKDOWN) or the feat isn't useable (e.g. FEAT_ARMOR_PROFICIENCY_HEAVY), returns the maximum int value.
Remarks
Version
This function was added in 1.87.8193.35 of NWN:EE.
Example
See Also
constants: | FEAT_* Constants |
functions: | GetHasFeat() |
author: Shadguy