PRC8_fork/nwn/trunk/scripts/prc_reflx_psych.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

16 lines
715 B
Plaintext

/*Reflexive Psychosis [Vile, Deformity]
In the face of adversity, you withdraw into the haunted corridors
of your mind.
Prerequisite: Deformity (Madness).
Benefit: As an immediate action, you can gain damage
reduction 5/- for 1 round. After using this ability, you are
confused until the end of your next turn.*/
#include "prc_inc_spells"
void main()
{
object oPC = OBJECT_SELF;
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectDamageReduction(5, DAMAGE_POWER_PLUS_FIVE, 0), oPC, RoundsToSeconds(1));
DelayCommand(RoundsToSeconds(1), ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectLinkEffects(PRCEffectConfused(), EffectVisualEffect(VFX_DUR_MIND_AFFECTING_DISABLED)), oPC, TurnsToSeconds(1)));
}