summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-21 13:07:52 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-21 13:07:52 -0300
commit8949632777ba3a1a6981dadc90940eca164d3839 (patch)
tree8d125b0286c2ca306f645c8822b91e5db2c3f58a /npc
parent9d946eaa2eb2b662dfd5120bae57aa4da6882c7e (diff)
downloadserverdata-8949632777ba3a1a6981dadc90940eca164d3839.tar.gz
serverdata-8949632777ba3a1a6981dadc90940eca164d3839.tar.bz2
serverdata-8949632777ba3a1a6981dadc90940eca164d3839.tar.xz
serverdata-8949632777ba3a1a6981dadc90940eca164d3839.zip
Sorry, this skill was replaced with @toevent
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/event.txt13
-rw-r--r--npc/functions/hub.txt3
2 files changed, 11 insertions, 5 deletions
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:
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index d5dfb9dae..2a844f5f6 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -184,7 +184,8 @@ function script HUB_SkillInvoke {
atcommand("@refresh");
break;
case TMW2_FAKESKILL2:
- CMD_lang(); next; closeclientdialog;
+ //CMD_lang(); next; closeclientdialog;
+ CMD_toevent();
break;
}