RemoveProtections

From NWN Lexicon



Contents

[edit] RemoveProtections(int, object, int)

Removes all spell protections of a specific type.

int RemoveProtections(
    int nSpellID,
    object oTarget,
    int nCount
);

[edit] Parameters

nSpellID

SPELL_ID_*

oTarget

The object which will have the protections removed.

nCount

Not used


[edit] Description

Removes all spell protections of a specific type.

Returns 1 if one or more protections have been removed, otherwise 0.



[edit] Remarks

nw_i0_spells.nss: 33


[edit] Requirements

#include " nw_i0_spells "

[edit] Version

1.22

[edit] See Also

functions: 

GetSpellBreachProtection

constants: 

SPELL_* Constants



 author: Tom Cassiotis
 

Personal tools
Categories