PRC8_fork/nwn/trunk/epicspellscripts/wander_unseen.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

24 lines
863 B
Plaintext

//:://////////////////////////////////////////////
//:: FileName: "wander_unseen"
/* Purpose: Wander Unseen - this is the ability that is granted to a player
as the result of an Unseen Wanderer epic spell. Using this feat will
either turn the player invisible, or if already in that state, visible
again.
*/
//:://////////////////////////////////////////////
//:: Created By: Boneshank
//:: Last Updated On: March 13, 2004
//:://////////////////////////////////////////////
#include "prc_inc_spells"
void main()
{
PRCSetSchool(SPELL_SCHOOL_ILLUSION);
if(GetHasSpellEffect(SPELL_WANDER_UNSEEN))
PRCRemoveEffectsFromSpell(OBJECT_SELF, SPELL_WANDER_UNSEEN);
else
ApplyEffectToObject(DURATION_TYPE_PERMANENT, SupernaturalEffect(EffectInvisibility(INVISIBILITY_TYPE_NORMAL)), OBJECT_SELF);
PRCSetSchool();
}