PRC8/nwn/trunk/newspellbook/tob_dw_dsttmpt.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

47 lines
1.2 KiB
Plaintext

/*
----------------
Desert Tempest
tob_dw_dsttmpt.nss
----------------
29/10/07 by Stratovarius
*/ /** @file
Desert Tempest
Desert Wind (Strike)
Level: Swordsage 6
Prerequisite: Two Desert Wind maneuvers
Initiation Action: 1 Full-round Action
Range: Personal
Target: You
Duration: 1 round.
You move in a blur, leaving scorch marks in your wake as you twirl around
the battlefield, slicing into your foes as you move.
Move up to your speed. Each time you move next to an enemy, make a single melee attack against him.
No enemy can be struck more than once.
*/
#include "tob_inc_move"
#include "tob_movehook"
void main()
{
if (!PreManeuverCastCode())
{
// If code within the PreManeuverCastCode (i.e. UMD) reports FALSE, do not run this spell
return;
}
object oInitiator = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
struct maneuver move = EvaluateManeuver(oInitiator, oTarget);
if(move.bCanManeuver)
{
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, ExtraordinaryEffect(EffectAreaOfEffect(AOE_PER_DESERT_TEMPEST)), oTarget, 6.0);
}
}