GetSpellBreachProtection

From NWN Lexicon



Contents

[edit] GetSpellBreachProtection(int)

Returns the next protection spell from a list of seventeen.

int GetSpellBreachProtection(
    int nLastChecked
);

[edit] Parameters

nLastChecked

Specified the last protection spell checked.


[edit] Description

Returns the next protection spell from a list of seventeen. Basically it mimics an array of 17 spell identifiers (SPELL_ID_*).



[edit] Remarks

nw_i0_spells.nss: 35
Used in conjunction with RemoveProtections(), GetSpellBreachProtection() is used to script Lesser and Greater Spell Breach as well as Mordenkainen's Disjunction.

GetSpellBreachProtection should not be of much use all by itself. This function merely


[edit] Requirements

#include " nw_i0_spells "

[edit] Version

1.22

[edit] See Also

functions: 

RemoveProtections

constants: 

SPELL_* Constants



 author: Tom Cassiotis
 

Personal tools
Categories