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.
63 lines
2.1 KiB
Plaintext
63 lines
2.1 KiB
Plaintext
//////////////////////////////////////////////////
|
|
// Disrupting Blow
|
|
// tob_dmnd_drptb.nss
|
|
// Tenjac 9/28/07
|
|
//////////////////////////////////////////////////
|
|
/** @file Disrupting Blow
|
|
Diamond Mind(Strike)
|
|
Level: Swordsage 5, warblade 5
|
|
Prerequisite: Two Diamond Mind maneuvers
|
|
Inititation Action: 1 standard action
|
|
Range: Melee attack
|
|
Target: One creature
|
|
Saving Throw: Will negates
|
|
Duration: 1 round
|
|
|
|
With a combination of brute force, keen timing, and exacting aim, you force your
|
|
opponent into an awkward position that ruins his next action.
|
|
|
|
As part of this maneuver, you make a melee attack. If this attack hits, your
|
|
target takes normal melee damage and must make a Will save (DC 15 + your Str modifier)
|
|
or be unable to take any actions for 1 round.
|
|
*/
|
|
|
|
#include "tob_inc_move"
|
|
#include "tob_movehook"
|
|
////#include "prc_alterations"
|
|
|
|
void TOBAttack(object oTarget, object oInitiator)
|
|
{
|
|
effect eNone;
|
|
PerformAttack(oTarget, oInitiator, eNone, 0.0, 0, 0, 0, "Disrupting Blow Hit", "Disrupting Blow Miss");
|
|
|
|
if (GetLocalInt(oTarget, "PRCCombat_StruckByAttack"))
|
|
{
|
|
int nDC = 15 + GetAbilityModifier(ABILITY_STRENGTH, oInitiator);
|
|
|
|
// Saving Throw
|
|
if (!PRCMySavingThrow(SAVING_THROW_WILL, oTarget, nDC))
|
|
{
|
|
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectDazed(), oTarget, RoundsToSeconds(1));
|
|
}
|
|
}
|
|
}
|
|
|
|
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)
|
|
{
|
|
DelayCommand(0.0, TOBAttack(oTarget, oInitiator));
|
|
}
|
|
}
|
|
|