PRC8/trunk/newspellbook/shd_myst_flckrft.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04: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 = max(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);
}