mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-17 05:37:15 -05:00
Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
23
trunk/newspellbook/bnd_anim_cast.nss
Normal file
23
trunk/newspellbook/bnd_anim_cast.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user