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.
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Aura of Blinding
|
|
//:: NW_S1_AuraBlind.nss
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
Upon entering the aura of the creature the player
|
|
must make a will save or be blinded because of the
|
|
sheer ugliness or beauty of the creature.
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: 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_BLINDING, OBJECT_SELF) )
|
|
{
|
|
PRCRemoveSpellEffects( SPELLABILITY_AURA_BLINDING, OBJECT_SELF, OBJECT_SELF );
|
|
return;
|
|
}
|
|
|
|
//Set the AOE effect and place it in the world. The Aura abilities
|
|
//are all permamnent and do not require recasting.
|
|
effect eAOE = EffectAreaOfEffect(AOE_MOB_BLINDING);
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eAOE, OBJECT_SELF);
|
|
}
|