PRC8_fork/nwn/trunk/scripts/prc_arc_feat1.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

27 lines
841 B
Plaintext

//:://////////////////////////////////////////////
//:: Created By: Solowing
//:: Created On: September 2, 2004
//:://////////////////////////////////////////////
#include "prc_alterations"
#include "x2_inc_switches"
#include "x2_inc_spellhook"
void main()
{
object oPC = OBJECT_SELF;
if(!GetLocalInt(oPC,"arcstrikeactive"))
{
SetLocalInt(oPC,"arcstrikeactive",TRUE);
FloatingTextStringOnCreature("Spell Storing Activated",oPC);
SetLocalString(OBJECT_SELF,"arcstrikeovscript", PRCGetUserSpecificSpellScript());
PRCSetUserSpecificSpellScript("prc_arc_strike");
}
else
{
PRCSetUserSpecificSpellScript(GetLocalString(OBJECT_SELF,"arcstrikeovscript"));
FloatingTextStringOnCreature("Spell Storing Deactivated",oPC);
DeleteLocalInt(oPC,"arcstrikeactive");
}
}