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.
36 lines
938 B
Plaintext
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);
|
|
}
|
|
}
|
|
|