From 8949632777ba3a1a6981dadc90940eca164d3839 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 21 Oct 2019 13:07:52 -0300 Subject: Sorry, this skill was replaced with @toevent --- npc/commands/event.txt | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'npc/commands/event.txt') diff --git a/npc/commands/event.txt b/npc/commands/event.txt index 4982d85f1..61caed24b 100644 --- a/npc/commands/event.txt +++ b/npc/commands/event.txt @@ -233,10 +233,7 @@ OnCall: end; } -- script @toevent 32767,{ - end; - -OnCall: +function script CMD_toevent { if (!@toeventchk) { @toeventval1=readparam(Hp); @toeventval2=readparam(Sp); @@ -244,6 +241,14 @@ OnCall: specialeffect FX_CIRCLE, SELF, getcharid(3); addtimer 4000, "@toevent::OnEffect"; } + return; +} + +- script @toevent 32767,{ + end; + +OnCall: + CMD_toevent(); end; OnEffect: -- cgit v1.2.3-60-g2f50