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

37 lines
1.1 KiB
Plaintext

//::///////////////////////////////////////////////
//:: Cruelest Cut
//:: prc_rava_cut
//::
//:://////////////////////////////////////////////
/*
Target takes Constitution damage of 1d4 for 5 rds
plus 1 round for every ravager level
*/
//:://////////////////////////////////////////////
//:: Created By: aser
//:: Created On: Feb/21/04
//:: Updated by Oni5115 9/23/2004 to use new combat engine
//:: Updated by Strat 12/11/2006 to make it work.
//:://////////////////////////////////////////////
#include "prc_inc_combat"
void main()
{
object oPC = OBJECT_SELF;
object oTarget = PRCGetSpellTargetObject();
effect eDummy = EffectVisualEffect(VFX_IMP_DISEASE_S);
effect eDam = EffectAbilityDecrease(ABILITY_CONSTITUTION, d4(1));
eDummy = EffectLinkEffects(eDummy, eDam);
PerformAttackRound(oTarget, oPC, eDam, 9999.0, 0, 0, 0, FALSE, "Cruelest Cut Hit", "Cruelest Cut Miss");
if (GetLocalInt(oTarget, "PRCCombat_StruckByAttack"))
{
if (DEBUG) DoDebug("prc_rava_cut: PRCCombat_StruckByAttack is True");
ApplyAbilityDamage(oTarget, ABILITY_CONSTITUTION, d4(1), DURATION_TYPE_PERMANENT, TRUE);
}
}