From a39a2a8ede1be9ebab098f2c5749670bafd8711c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 13 Sep 2019 23:15:55 -0300 Subject: If the event runs at 120 rates per second, I don't need OnTouch. This is a challenge, what works best: AreaTimer or OnTouch? =3 --- npc/023-3/logic.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/023-3') diff --git a/npc/023-3/logic.txt b/npc/023-3/logic.txt index b936f0f0d..2a2f1e440 100644 --- a/npc/023-3/logic.txt +++ b/npc/023-3/logic.txt @@ -277,12 +277,12 @@ OnTimer120: npcwalkto(47, 41); } if (getareausers("023-3", 0)) { - areatimer2("023-3", .x, .y, .x, .y, 10, .name$+"::OnTouch"); + areatimer2("023-3", .x, .y, .x, .y, 10, .name$+"::OnTouchie"); } initnpctimer; end; -OnTouch: +OnTouchie: percentheal -40, -40; slide 47, 42; end; @@ -307,12 +307,12 @@ OnTimer120: npcwalkto(48, 41); } if (getareausers("023-3", 0)) { - areatimer2("023-3", .x, .y, .x, .y, 10, .name$+"::OnTouch"); + areatimer2("023-3", .x, .y, .x, .y, 10, .name$+"::OnTouchie"); } initnpctimer; end; -OnTouch: +OnTouchie: percentheal -40, -40; slide 48, 42; end; -- cgit v1.2.3-70-g09d2