PRC8/nwn/trunk/newspellbook/tob_irnh_lgtngrc.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

50 lines
1.3 KiB
Plaintext

/*
----------------
Lightning Recovery
tob_irnh_lgtngrc
----------------
19/08/07 by Stratovarius
*/ /** @file
Lightning Recovery
Iron Heart (Counter)
Level: Warblade 4
Prerequisite: Two Iron Heart Maneuvers
Initiation Action: 1 Swift Action
Range: Melee Attack
Target: One Creature
Your foe twists out of the way of your initial attack, but your weapon becomes a blur as
you reverse direction and strike at him again with lightning speed. In the blink of an
eye, you complete your attack and resume your defensive posture.
Make a single attack with a +2 bonus on the attack roll.
*/
#include "tob_inc_move"
#include "tob_movehook"
////#include "prc_alterations"
void main()
{
if (!PreManeuverCastCode())
{
// If code within the PreManeuverCastCode (i.e. UMD) reports FALSE, do not run this spell
return;
}
// End of Spell Cast Hook
object oInitiator = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
struct maneuver move = EvaluateManeuver(oInitiator, oTarget);
if(move.bCanManeuver)
{
effect eNone;
DelayCommand(0.0, PerformAttack(oTarget, oInitiator, eNone, 0.0, 2, 0, 0, "Lightning Recovery Hit", "Lightning Recovery Miss"));
}
}