summaryrefslogtreecommitdiff
path: root/npc/023-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-13 23:15:55 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-13 23:15:55 -0300
commita39a2a8ede1be9ebab098f2c5749670bafd8711c (patch)
treec4aad23e1dd647fa6c425e2614f83d30f15f8447 /npc/023-3
parent6d24cf0b0afa88c1330c04ef2d077554fb982b24 (diff)
downloadserverdata-a39a2a8ede1be9ebab098f2c5749670bafd8711c.tar.gz
serverdata-a39a2a8ede1be9ebab098f2c5749670bafd8711c.tar.bz2
serverdata-a39a2a8ede1be9ebab098f2c5749670bafd8711c.tar.xz
serverdata-a39a2a8ede1be9ebab098f2c5749670bafd8711c.zip
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
Diffstat (limited to 'npc/023-3')
-rw-r--r--npc/023-3/logic.txt8
1 files changed, 4 insertions, 4 deletions
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;