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

24 lines
607 B
Plaintext

/*
01/03/19 by Stratovarius
Shadowy Strike
Touch attack
*/
#include "prc_inc_combat"
void main()
{
object oShadow = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
effect eNone;
PerformAttackRound(oTarget, oShadow, eNone, 0.0, 0, 0, 0, FALSE, "Shadowy Strike Hit", "Shadowy Strike Miss", FALSE, TOUCH_ATTACK_MELEE);
DecrementRemainingFeatUses(oShadow, FEAT_UNERRING_STRIKE);
DecrementRemainingFeatUses(oShadow, FEAT_UNEXPECTED_STRIKE);
DecrementRemainingFeatUses(oShadow, FEAT_EPHEMERAL_WEAPON);
DecrementRemainingFeatUses(oShadow, FEAT_FAR_SHADOW);
}