Further file organization
Further file organization
This commit is contained in:
32
nwn/nwnprc/trunk/spells/nw_s1_aurafear.nss
Normal file
32
nwn/nwnprc/trunk/spells/nw_s1_aurafear.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Aura of Fear
|
||||
//:: NW_S1_AuraFear.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.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Preston Watamaniuk
|
||||
//:: Created On: May 25, 2001
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
// Modified 2004/01/30 (Brian Greinke)
|
||||
// Added disable/reenable support
|
||||
#include "prc_alterations"
|
||||
|
||||
void main()
|
||||
{
|
||||
//first, look to see if effect is already activated
|
||||
if ( GetHasSpellEffect(SPELLABILITY_AURA_FEAR, OBJECT_SELF) )
|
||||
{
|
||||
PRCRemoveSpellEffects( SPELLABILITY_AURA_FEAR, OBJECT_SELF, OBJECT_SELF );
|
||||
return;
|
||||
}
|
||||
|
||||
//Set and apply AOE object
|
||||
effect eAOE = EffectAreaOfEffect(AOE_MOB_FEAR);
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eAOE, OBJECT_SELF, HoursToSeconds(100));
|
||||
}
|
Reference in New Issue
Block a user