PRC8/nwn/trunk/racescripts/race_wld_fury.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

23 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*Once per day, a wildren who has taken at least 1 point of damage can choose to enter a brief state of rage-like fury at the beginning of her next turn.
In this state, a wildren gains +4 to Strength and 2 to Armor Class. The fury lasts for 1 round, and a wildren cannot end her fury voluntarily. The
effect of this ability stacks with similar effects (such as the barbarians rage class feature).*/
#include "inc_vfx_const"
void main()
{
object oPC = OBJECT_SELF;
// Need to be wounded
if (GetCurrentHitPoints(oPC) == GetMaxHitPoints(oPC))
IncrementRemainingFeatUses(oPC, 5386);
else
{
effect eLink = EffectLinkEffects(EffectAbilityIncrease(ABILITY_STRENGTH, 4), EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE));
eLink = EffectLinkEffects(EffectACDecrease(2), eLink);
eLink = ExtraordinaryEffect(eLink);
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_BONUS_STRENGTH), oPC);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, oPC, 6.0);
}
}