PRC8/nwn/nwnprc/trunk/newspellbook/tob_dvsp_igglra.nss
Jaysyn904 6ec137a24e Updated AMS marker feats
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.
2024-02-11 14:01:05 -05:00

46 lines
1.2 KiB
Plaintext

/*
----------------
Iron Guard's Glare, Enter
tob_dvsp_igglra.nss
----------------
29/03/07 by Stratovarius
*/ /** @file
Iron Guard's Glare
Devoted Spirit (Stance)
Level: Crusader 1
Initiation Action: 1 Swift Action
Range: Personal.
Target: You.
Duration: Stance.
With a quick snarl and a glare that would stop a charging barbarian in his tracks,
you spoil an opponent's attack. Rather than strike his original target, your enemy
turns his attention to you.
Any creature you threaten takes a -4 penalty on attacks against allies.
(Mechnical implementation: AoE that grants allies +4 Dodge AC when they are in it).
*/
#include "tob_inc_tobfunc"
#include "tob_movehook"
////#include "prc_alterations"
void main()
{
//Declare major variables
object oTarget = GetEnteringObject();
effect eAC = EffectACIncrease(4);
eAC = ExtraordinaryEffect(eAC);
// Targets it can apply to
if (oTarget != GetAreaOfEffectCreator() &&
GetIsFriend(oTarget, GetAreaOfEffectCreator()) &&
GetIsPC(oTarget))
{
// Lasts until they leave the AoE
SPApplyEffectToObject(DURATION_TYPE_PERMANENT, eAC, oTarget);
}
}