Initial commit

Initial commit.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-06-13 15:08:33 -04:00
parent c0bd67a6a7
commit a6f6db7303
5236 changed files with 4203994 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
void main()
{
object oPC;
effect eVis;
effect eDam;
oPC=GetEnteringObject();
if (GetIsPC(oPC) || GetIsPC(GetMaster(oPC)))
{
if (GetLocalInt(OBJECT_SELF,"Active")==1)
{
object oWP=GetObjectByTag("TM1_TPDest");
AssignCommand(oPC,JumpToLocation(GetLocation(oWP)));
SendMessageToPC(oPC,"You feel the winds of magic sweep you to a different location.");
} else {
if (Random(6)==0 && GetLocalInt(OBJECT_SELF,"TrapSprung")==0)
{
SetLocalInt(OBJECT_SELF,"TrapSprung",1);
eVis = EffectVisualEffect(VFX_FNF_SWINGING_BLADE);
DelayCommand(0.5, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, GetLocation(oPC),3.0));
if (ReflexSave(oPC,24) == 0)
{
eDam = EffectDamage(d6(3), DAMAGE_TYPE_SLASHING);
DelayCommand(0.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, eDam, oPC));
}
}
}
}
}