PRC8/nwn/nwnprc/trunk/newspellbook/tob_ft_istntclty.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

36 lines
938 B
Plaintext

//::///////////////////////////////////////////////
//:: Name Instant Clarity
//:: FileName tob_ft_istntclty.nss
//:://////////////////////////////////////////////
/** You can take a swift action to become
psionically focused after successfully initiating
a martial strike. You can use this ability three
times per day.
Author: Stratovarius
Created: 23.9.2018
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "psi_inc_core"
void main()
{
object oInitiator = OBJECT_SELF;
if (!GetHasFeat(FEAT_INSTANT_CLARITY, oInitiator)) return; // Need to have the feat
int nSwitch = GetLocalInt(oInitiator, "InstantClaritySwitch");
if (nSwitch == 2)
{
GainPsionicFocus(oInitiator);
DeleteLocalInt(oInitiator, "InstantClaritySwitch");
}
else
{
SetLocalInt(oInitiator, "InstantClaritySwitch", 1);
}
}