PRC8_fork/trunk/epicspellscripts/wander_unseen.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -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();
}