PRC8_fork/trunk/newspellbook/tob_sdhd_ghstbd.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

50 lines
1.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//////////////////////////////////////////////////
// Ghost Blade
// tob_sdhd_ghstbd.nss
// Tenjac 12/12/07
//////////////////////////////////////////////////
/** @file Ghost Blade
Shadow Hand (Strike)
Level: Swordsage 6
Prerequisite: Three Shadow Hand maneuvers
Initiation Action: 1 standard action
Range: Melee attack
Target: One creature
A smile brightens your foes eyes; he has dodged your blow. But that was merely the ghost blade.
The real blade is cutting swiftly from underneath, and yet he still smiles.
As part of this maneuver, you make a melee attack. As you strike at your opponent, you create an
illusory double of your weapon. This double slashes at your opponent, tricking him into mistaking
it for your attack. In truth, the illusion cloaks your real attack. Your opponent is caught flat-
footed against this strike, as the hidden attack from a new direction ruins his defenses.
This maneuver is a supernatural ability.
*/
#include "tob_inc_move"
#include "tob_movehook"
////#include "prc_alterations"
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);
effect eNone;
if(move.bCanManeuver)
{
AssignCommand(oTarget, ClearAllActions(TRUE));
DelayCommand(0.0, PerformAttack(oTarget, oInitiator, eNone, 0.0, 0, 0, 0, "Ghost Blade Hit", "Ghost Blade Miss"));
}
}