PRC8/nwn/nwnprc/trunk/newspellbook/tob_wtrn_swarmt.nss
Jaysyn904 8a034b0da0 2025/05/25 Update
Updated all ToB maneuvers with saves to respect Blade Meditation.
Added HasBladeMeditationForDiscipline()
Expanded Witchborn Binder for epic progression.
Fixed a few bugs around Vile Martial strike.
Echo Spell shouldn't target self or items.
Muckdweller should have a -6 STR.
Added new Vile Martial feats to GetVileFeats().
Grappling something now removes invisibility.
Started on Power Attack NUI.
Starmantle shouldn't stack.
Factotum & Shadow Thief of Amn require UMD checks for scroll casting.
2025-05-25 16:16:36 -04:00

50 lines
1.2 KiB
Plaintext

/*
----------------
Swarm Tactics
tob_wtrn_swarmt.nss
----------------
29/09/07 by Stratovarius
*/ /** @file
Swarm Tactics
White Raven (Stance)
Level: Crusader 5, Warblade 5
Prerequisite: One White Raven maneuver
Initiation Action: 1 Swift Action
Range: 10 ft.
Area: 10 ft.
Duration: Stance.
Your quick directions enable close teamwork between you and an ally.
At your urging, your allies seize the initiative and work in close
coordination with you to defeat an enemy.
Any creature you threaten takes a -5 penalty to armour class.
*/
#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);
if(move.bCanManeuver)
{
SPApplyEffectToObject(DURATION_TYPE_PERMANENT, ExtraordinaryEffect(EffectAreaOfEffect(AOE_PER_SWARM_TACTICS)), oTarget);
}
}