Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 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);
}
}