PRC8/nwn/nwnprc/trunk/newspellbook/shd_myst_flckrft.nss
Jaysyn904 e641b42f84 Exalted update
Updated Vow of Poverty. Added Sanctify Ki Strike, Holy Strike, Fist of Heavens, Vow of Abstinence, Vow of Chastity & Gift of Faith.  (@fenac).  Turned off the Taunt & Parry skills.  Re-disabled AC & save bonuses from Tumble & Spellcraft.   Updated min() & max() to PRCmin() & PRCmax() to not conflict with similarly named NUI adjacent functions.  Set Point Blank Shot to 30' per PnP.  Added icon for Chosen of Evil.  Started work on Hidden Talent.  Created Psionics function cheatsheet.  Updated release archive.
2025-01-29 22:46:38 -05:00

34 lines
1.0 KiB
Plaintext

/*
13/02/19 by Stratovarius
Flicker
Apprentice, Ebon Whispers
Level/School: 3rd/Conjuration (Teleportation)
Range: Personal
Target: You
Duration: 1 round/level
You flash through the conduits and pathways of the Plane of Shadow, manifesting in multiple locations in the real world.
Once per round, as an immediate action, you can instantly transfer yourself from your current location to any other spot within a close distance.
*/
#include "shd_inc_shdfunc"
#include "spinc_dimdoor"
void main()
{
object oShadow = OBJECT_SELF;
if (!GetLocalInt(oShadow, "FlickerMyst"))
{
int nLevel = PRCMax(GetShadowcasterLevel(oShadow), GetLocalInt(oShadow, "TenebrousFlicker"));
DimensionDoor(oShadow, nLevel);
SetLocalInt(oShadow, "FlickerMyst", TRUE);
DelayCommand(5.5, DeleteLocalInt(oShadow, "FlickerMyst"));
DelayCommand(5.5, FloatingTextStringOnCreature("You may Flicker again.", oShadow, FALSE));
}
else
FloatingTextStringOnCreature("You may only use Flicker once per round.", oShadow, FALSE);
}