Files
PRC8/nwn/nwnprc/trunk/spells/nw_s1_auradrag.nss
Jaysyn904 48ca4b8acf 2026/01/21 Update
Swapped Disciple of Asmodeus' Summon Glabrezu for Summon Pit Fiend.  Glabrezu aren't devils.
Wisplings can qualify for Warsling Sniper.
Added Maeluth planetouched racialtype.
Maeluth can qualify for Dwarven Defender. Ollam and Ironsoul Forgemaster.
Added Mechanatrix planetouched racialtype.
Updated creature aura scripts to use PRCEffectDamage(), SPApplyEffectToObject() & PRCMySavingThrow().
2026-01-21 16:35:43 -05: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);
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eAOE, OBJECT_SELF, HoursToSeconds(100));
}