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

48 lines
1.0 KiB
Plaintext

/*
----------------
Battle Leader's Charge
tob_wtrn_btlldrc.nss
----------------
08/06/07 by Stratovarius
*/ /** @file
Battle Leader's Charge
White Raven (Strike)
Level: Crusader 2, Warblade 2
Initiation Action: 1 Full-round Action
Range: Melee Attack
Target: One Creature
You lead from the front, charging your enemies so that your allies
can follow in your wake.
You charge your opponent, dealing an extra 10 damage if you hit. You take no
AoOs from the movement.
*/
#include "tob_inc_move"
#include "tob_movehook"
#include "prc_inc_combmove"
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)
{
DoCharge(oInitiator, oTarget, TRUE, FALSE, 10);
}
}