PRC8/trunk/spells/nw_s1_auradrag.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

38 lines
1.1 KiB
Plaintext

//::///////////////////////////////////////////////
//:: Dragon Aura of Fear
//:: NW_S1_AuraDrag.nss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Upon entering the aura of the creature the player
must make a will save or be struck with fear because
of the creatures presence.
GZ, OCT 2003
Since Druids and Shifter's can now use this as well,
make their version last level /4 rounds
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: April 17, 2001
//:://////////////////////////////////////////////
#include "prc_alterations"
// Modified 2004/01/30 (Brian Greinke)
// Added disable/reenable support
void main()
{
//first, look to see if effect is already activated
if ( GetHasSpellEffect(SPELLABILITY_DRAGON_FEAR, OBJECT_SELF) )
{
PRCRemoveSpellEffects( SPELLABILITY_DRAGON_FEAR, OBJECT_SELF, OBJECT_SELF );
return;
}
effect eAOE = EffectAreaOfEffect(36);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eAOE, OBJECT_SELF, HoursToSeconds(100));
}