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

18 lines
477 B
Plaintext

#include "prc_feat_const"
void main()
{
object oPC = OBJECT_SELF;
string sMes;
if(GetLocalInt(oPC, "INV_SPELLWEAVE"))
{
FloatingTextStringOnCreature("Eldritch Spellweave is already active!", oPC, FALSE);
IncrementRemainingFeatUses(oPC, FEAT_ELDRITCH_SPELLWEAVE);
}
else
{
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_PDK_FINAL_STAND), oPC);
SetLocalInt(oPC, "INV_SPELLWEAVE", TRUE);
}
}