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

44 lines
1.3 KiB
Plaintext

/*
----------------
Thicket of Blades, Enter
tob_dvsp_thckbld.nss
----------------
15/07/07 by Stratovarius
*/ /** @file
Thicket of Blades
Devoted Spirit (Stance)
Level: Crusader 3
Prerequisite: One Devoted Spirit maneuver.
Initiation Action: 1 Swift Action
Range: Personal.
Target: You.
Duration: Stance.
You maintain a careful guard as you search for any gaps in your opponent's
awarness. Even the slightest move provokes a stinging counter from you.
Any creature who attempts to move near you provokes an AoO.
*/
#include "tob_inc_tobfunc"
#include "tob_movehook"
////#include "prc_alterations"
void main()
{
//Declare major variables
object oTarget = GetEnteringObject();
// Targets it can apply to
if (oTarget != GetAreaOfEffectCreator() && GetIsEnemy(oTarget, GetAreaOfEffectCreator()) && !GetLocalInt(GetAreaOfEffectCreator(), "ThicketOfBladesDelay"))
{
// Slap upside the head, only one AoO per round.
effect eNone;
DelayCommand(0.0, PerformAttack(oTarget, GetAreaOfEffectCreator(), eNone, 0.0, 0, 0, 0, "Thicket of Blades Hit", "Thicket of Blades Miss"));
SetLocalInt(GetAreaOfEffectCreator(), "ThicketOfBladesDelay", TRUE);
DelayCommand(6.0, DeleteLocalInt(GetAreaOfEffectCreator(), "ThicketOfBladesDelay"));
}
}