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

45 lines
980 B
Plaintext

/*
----------------
Generic Maneuver
tob_disc_move.nss
----------------
26/03/07 by Stratovarius
*/ /** @file
Generic Maneuver
Discipline (Strike, Boost, Counter, or Stance)
Level: Crusader 1, Swordsage 1, Warblade 1
Initiation Action: 1 Standard/Swift/Full-Round Action
Range:
Target:
Duration:
Flavour Text
Mechanical abilities
*/
#include "tob_inc_move"
#include "tob_movehook"
void main()
{
if(!PreManeuverCastCode()) return;
object oInitiator = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
struct maneuver move = EvaluateManeuver(oInitiator, oTarget);
if(move.bCanManeuver)
{
// This section is for a strike, change for a boost or counter
effect eNone;
DelayCommand(0.0, PerformAttack(oTarget, oInitiator, eNone));
if(GetLocalInt(oTarget, "PRCCombat_StruckByAttack"))
{
// Apply effects in here
}
}
}