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

44 lines
1.1 KiB
Plaintext

/*
----------------
Swarm Tactics, Enter
tob_wtrn_swarmt.nss
----------------
29/09/07 by Stratovarius
*/ /** @file
Swarm Tactics
Devoted Spirit (Stance)
Level: Crusader 5, Warblade 5
Prerequisite: One White Raven maneuver
Initiation Action: 1 Swift Action
Range: 60 ft.
Area: 60 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_tobfunc"
#include "tob_movehook"
//#include "prc_alterations"
void main()
{
//Declare major variables
object oTarget = GetEnteringObject();
effect eAC = EffectACDecrease(5);
eAC = ExtraordinaryEffect(eAC);
// Targets it can apply to
if (GetIsEnemy(oTarget, GetAreaOfEffectCreator()) && GetIsInMeleeRange(oTarget, GetAreaOfEffectCreator()))
{
// Lasts until they leave the AoE
SPApplyEffectToObject(DURATION_TYPE_PERMANENT, eAC, oTarget);
}
}