void main()
{
object oPC = GetItemActivator();
if (!GetIsPC(oPC)) return;
if (GetItemPossessedBy(oPC, "ItemSoulGem")== OBJECT_INVALID) return;
// Apply Amulet VFX
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_DUR_PROTECTION_ELEMENTS), oPC, 7.0f);
DelayCommand(1.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_HOLY_AID), oPC));
DelayCommand(5.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_STRIKE_HOLY), oPC));
// Teleport party back to Lord Justinian & his Seer
object oTarget = GetWaypointByTag("WP_SeerEnd");
location lTarget = GetLocation(oTarget);
oTarget=GetFirstFactionMember(oPC, FALSE);
while (GetIsObjectValid(oTarget))
   {
   DelayCommand(5.5, AssignCommand(oTarget, ClearAllActions()));
   DelayCommand(6.5, AssignCommand(oTarget, ActionJumpToLocation(lTarget)));
   oTarget=GetNextFactionMember(oPC, FALSE);
   }
}
