Clear out experimental .35 files

Clear out experimental .35 files
This commit is contained in:
Jaysyn904
2024-02-11 13:04:14 -05:00
parent 2112b92e24
commit 618cd42b82
22356 changed files with 0 additions and 1248956 deletions

View File

@@ -1,42 +0,0 @@
//::///////////////////////////////////////////////
//:: Invisibility Sphere: On Exit
//:: NW_S0_InvSphA.nss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
All allies within 15ft are rendered invisible.
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Jan 7, 2002
//:://////////////////////////////////////////////
#include "prc_inc_spells"
void main()
{
PRCSetSchool(SPELL_SCHOOL_ILLUSION);
//Get the object that is exiting the AOE
object oTarget = GetExitingObject();
if(GetHasSpellEffect(SPELL_INVISIBILITY_SPHERE, oTarget))
{
int bValid = FALSE;
//Search through the valid effects on the target.
effect eAOE = GetFirstEffect(oTarget);
while(GetIsEffectValid(eAOE) && !bValid)
{
//If the effect was created by the Invisibility Sphere then remove it
if(GetEffectCreator(eAOE) == GetAreaOfEffectCreator()
&& GetEffectSpellId(eAOE) == SPELL_INVISIBILITY_SPHERE
&& GetEffectType(eAOE) != EFFECT_TYPE_AREA_OF_EFFECT)
{
RemoveEffect(oTarget, eAOE);
bValid = TRUE;
}
//Get next effect on the target
eAOE = GetNextEffect(oTarget);
}
}
PRCSetSchool();
}