PRC8/nwn/nwnprc/trunk/newspellbook/tob_stdr_bldrrll.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
2024-02-11 14:01:05 -05:00

51 lines
1.3 KiB
Plaintext

/*
----------------
Boulder Roll
tob_stdr_bldrrll
----------------
19/08/07 by Stratovarius
*/ /** @file
Boulder Roll
Stone Dragon (Strike)
Level: Crusader 4, Swordsage 4, Warblade 4
Prerequisite: Two Stone Dragon maneuvers
Initiation Action: 1 Standard Action
Range: Melee Attack
Target: One Creature
Like a boulder tumbling down the mountain, you slam through your enemies.
You make an overrun attempt against each creature in a line with a +4 bonus. You do not
provoke attacks of opportunity, and if you fail, you are not knocked prone, you simply halt.
*/
#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)
{
location lTarget = PRCGetSpellTargetLocation();
SetLocalInt(oInitiator, "BoulderRoll", TRUE);
DoOverrun(oInitiator, oTarget, lTarget, FALSE, 4, TRUE, FALSE);
DelayCommand(5.0, DeleteLocalInt(oInitiator, "BoulderRoll"));
}
}