PRC8/trunk/newspellbook/bnd_vest_acespll.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -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);
}