18 lines
612 B
Plaintext
18 lines
612 B
Plaintext
void main()
|
|
{
|
|
object grave = GetLocalObject(OBJECT_SELF, "T1_PLAYER_LASTGRAVE");
|
|
|
|
FloatingTextStringOnCreature("You feel your soul being pulled...",OBJECT_SELF,FALSE);
|
|
|
|
effect eFx = EffectVisualEffect(VFX_IMP_AURA_HOLY);
|
|
effect eHx = EffectVisualEffect(VFX_IMP_HEALING_X);
|
|
|
|
DelayCommand(5.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, eHx, OBJECT_SELF));
|
|
DelayCommand(6.0,ClearAllActions());
|
|
DelayCommand(7.0,ActionJumpToObject(grave));
|
|
DelayCommand(8.0,ApplyEffectToObject(DURATION_TYPE_INSTANT, eFx, OBJECT_SELF,15.0));
|
|
DelayCommand(9.0,DestroyObject(grave));
|
|
|
|
return;
|
|
}
|