Clear out experimental .35 files
Clear out experimental .35 files
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
///////////////////////////////////////////////////
|
||||
// Daylight On Enter
|
||||
// sp_daylightA.nss
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
object oTarget = GetEnteringObject();
|
||||
int nLight = GetLocalInt(oTarget, "PRCInLight");
|
||||
nLight++;
|
||||
SetLocalInt(oTarget, "PRCInLight", nLight);
|
||||
|
||||
effect eTest = GetFirstEffect(oTarget);
|
||||
|
||||
while(GetIsEffectValid(eTest))
|
||||
{
|
||||
if(GetEffectSpellId(eTest) == SPELL_DARKNESS) RemoveEffect(oTarget, eTest);
|
||||
eTest = GetNextEffect(oTarget);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user