Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,35 @@
//::///////////////////////////////////////////////
//:: 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);
}
}