RemoveProtections
From NWN Lexicon
Jump to navigationJump to search
RemoveProtections(int, object, int)
Removes all spell protections of a specific type.
int RemoveProtections(
int nSpellID,
object oTarget,
int nCount
);
Parameters
nSpellID
SPELL_ID_*
oTarget
The object which will have the protections removed.
nCount
Not used
Description
Removes all spell protections of a specific type.
Returns 1 if one or more protections have been removed, otherwise 0.
Remarks
nw_i0_spells.nss: 33
Requirements
#include " nw_i0_spells "
Version
1.22
See Also
| functions: | |
| constants: |
author: Tom Cassiotis