Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
void Repeat(object oPC)
{
location lPC= GetLocation(oPC);
int nEffectNumber = Random(2);
switch (nEffectNumber)
{
case 0:
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_UNSUMMON), lPC);
break;
case 1:
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_RAISE_DEAD), lPC);
break;
}
int nPC = GetLocalInt(oPC,"rift");
if(nPC==1)
{
DelayCommand(20.0, Repeat(oPC));
}
else return;
}
void main()
{
object oPC = GetEnteringObject();
if (GetIsDM(oPC)) return;
SetLocalInt(oPC,"rift",1);
Repeat(oPC);
}