PRC8_fork/trunk/newspellbook/tob_disc_move.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04: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
}
}
}