mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2026-01-16 23:06:29 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
22
trunk/newspellbook/bnd_vest_zcerysm.nss
Normal file
22
trunk/newspellbook/bnd_vest_zcerysm.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* @file
|
||||
* Summon Alien for Zceryll
|
||||
*
|
||||
*/
|
||||
|
||||
#include "bnd_inc_bndfunc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oBinder = OBJECT_SELF;
|
||||
if(!BindAbilCooldown(oBinder, GetSpellId(), VESTIGE_ZCERYLL)) return;
|
||||
int nBinderLevel = GetBinderLevel(oBinder, VESTIGE_ZCERYLL);
|
||||
int nSpell = SPELL_SUMMON_CREATURE_V;
|
||||
if (nBinderLevel >= 18) nSpell = SPELL_SUMMON_CREATURE_IX;
|
||||
else if (nBinderLevel >= 16) nSpell = SPELL_SUMMON_CREATURE_VIII;
|
||||
else if (nBinderLevel >= 14) nSpell = SPELL_SUMMON_CREATURE_VII;
|
||||
else if (nBinderLevel >= 12) nSpell = SPELL_SUMMON_CREATURE_VI;
|
||||
|
||||
DoRacialSLA(nSpell, nBinderLevel, GetBinderDC(oBinder, VESTIGE_ZCERYLL));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user