PRC8/nwn/trunk/newspellbook/bnd_anim_cast.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

23 lines
528 B
Plaintext

/*
04/03/21 by Stratovarius
Anima Mage Exploit Vestige Cast Spell
Cast a spell from an exploited vestige
*/
#include "bnd_inc_bndfunc"
void main()
{
object oBinder = OBJECT_SELF;
if (GetLocalInt(oBinder, "ExploitVestige"))
{
ActionCastSpell(GetLocalInt(oBinder, "ExploitVestigeSpell"), 0, 0, 0, METAMAGIC_NONE, GetPrimaryArcaneClass(oBinder), 0, 0, OBJECT_INVALID, FALSE);
}
else
{
IncrementRemainingFeatUses(oBinder, 9259);
FloatingTextStringOnCreature("You are not exploiting a vestige!", oBinder, FALSE);
}
}