PRC8/nwn/trunk/spells/sp_blnd_gloryA.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
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.
2023-08-22 10:00:21 -04:00

52 lines
1.4 KiB
Plaintext

//::///////////////////////////////////////////////
//:: Name Blinding Glory on Enter
//:: FileName sp_blnd_gloryA.nss
//:://////////////////////////////////////////////
/**@file Blinding Glory
Conjuration (Creation) [Good]
Level: Glory 9, Sor/Wiz 9
Components: V, S, M/DF
Casting Time: 1 hour
Range: Close (25 ft. + 5 ft./2 levels)
Area: 100-ft./level radius spread, centered on you
Duration: 1 hour/level
Saving Throw: None
Spell Resistance: No
A brilliant radiance spreads from you, brightly
illuminating the area. The light is similar to that
created by the daylight spell, but no magical
darkness counters or dispels it. Furthermore,
evil-aligned creatures are blinded within this light.
Blinding glory brought into an area of magical
darkness (or vice versa), including an utterdark
spell, is temporarily negated, so that the otherwise
prevailing light conditions exist in the overlapping
areas of effect.
Arcane Material Component: A polished rod of pure
silver.
Author: Tenjac
Created: 6/13/06
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "prc_inc_spells"
void main()
{
object oTarget = GetEnteringObject();
if(!PRCGetHasEffect(EFFECT_TYPE_DARKNESS, oTarget))
{
if(GetAlignmentGoodEvil(oTarget) == ALIGNMENT_EVIL)
{
SPApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectBlindness(), oTarget);
}
}
}