GetSpellBreachProtection(int)
Returns the next protection spell from a list of seventeen.
int GetSpellBreachProtection( int nLastChecked );
Parameters
nLastChecked
Specified the last protection spell checked.
Description
Returns the next protection spell from a list of seventeen. Basically it mimics an array of 17 spell identifiers (SPELL_ID_*).
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
Requirements
#include "nw_i0_spells"
Version
1.22
See Also
functions: | RemoveProtections |
categories: | Spells Functions |
constants: | SPELL_* Constants |
author: Tom Cassiotis