PRC8/nwn/trunk/newspellbook/bnd_vest_acespll.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

34 lines
662 B
Plaintext

/**
* @file
* Spellscript for Acererak Vestige
*
*/
#include "bnd_inc_bndfunc"
void main()
{
object oBinder = OBJECT_SELF;
int nCasterLevel = GetBinderLevel(oBinder, VESTIGE_ACERERAK);
int nDC = GetBinderDC(oBinder, VESTIGE_ACERERAK);
int nSpell, nUses;
int nSLA = GetSpellId();
effect eNone;
int nInstant = FALSE;
switch(nSLA){
case 19113:
{
nSpell = SPELL_DETECT_UNDEAD;
break;
}
case 19114:
{
nSpell = SPELL_HIDE_FROM_UNDEAD;
break;
}
}
DoRacialSLA(nSpell, nCasterLevel, nDC, nInstant);
}