PRC8/nwn/nwnprc/trunk/scripts/prc_sb_farshad.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

25 lines
686 B
Plaintext

/*
01/03/19 by Stratovarius
Far Shadow
+10ft reach
*/
#include "prc_inc_combat"
void main()
{
object oShadow = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
SetLocalInt(oShadow, "PRC_SB_FARSHAD", TRUE);
effect eNone;
PerformAttackRound(oTarget, oShadow, eNone, 0.0, 0, 0, 0, FALSE, "Far Shadow Hit", "Far Shadow Miss");
DelayCommand(6.0, DeleteLocalInt(oShadow, "PRC_SB_FARSHAD"));
DecrementRemainingFeatUses(oShadow, FEAT_UNERRING_STRIKE);
DecrementRemainingFeatUses(oShadow, FEAT_UNEXPECTED_STRIKE);
DecrementRemainingFeatUses(oShadow, FEAT_EPHEMERAL_WEAPON);
DecrementRemainingFeatUses(oShadow, FEAT_SHADOWY_STRIKE);
}