PRC8_fork/trunk/scripts/prc_reflx_psych.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -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)));
}