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,23 @@
void main()
{
if (GetTag(GetItemActivated()) == "yingyangcrystal")
{
object oPC = GetItemActivator();
object oTarget = GetWaypointByTag("WP_CW_START");
location lTarget = GetLocation(oTarget);
string sArea = GetTag(GetArea(oPC));
if (sArea != "Rift")
{
SendMessageToPC(oPC,"The item is not attuned to this area....");
return;
}
AssignCommand(oPC, ClearAllActions());
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_ELECTRIC_EXPLOSION),lTarget);
DelayCommand(2.0, AssignCommand(oPC, ActionJumpToLocation(lTarget)));
}
}