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

23 lines
608 B
Plaintext

/*
01/03/19 by Stratovarius
Ephemeral Weapon
2d6 damage
*/
#include "prc_inc_combat"
void main()
{
object oShadow = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
effect eNone;
PerformAttackRound(oTarget, oShadow, eNone, 0.0, 0, d6(2), DAMAGE_TYPE_MAGICAL, FALSE, "Ephemeral Weapon Hit", "Ephemeral Weapon Miss");
DecrementRemainingFeatUses(oShadow, FEAT_UNERRING_STRIKE);
DecrementRemainingFeatUses(oShadow, FEAT_UNEXPECTED_STRIKE);
DecrementRemainingFeatUses(oShadow, FEAT_SHADOWY_STRIKE);
DecrementRemainingFeatUses(oShadow, FEAT_FAR_SHADOW);
}