summaryrefslogtreecommitdiff
path: root/npc/023-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-17 16:44:34 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-17 16:44:34 -0300
commit970f6acc845d1471a8c9be980eaad7c2e3d038e0 (patch)
treee97fa4472fb67efdac6df2aea2b56125954b427a /npc/023-3
parent7c29d1e1a4e9373bdbe6b66b8f1aacb41a85bb61 (diff)
downloadserverdata-970f6acc845d1471a8c9be980eaad7c2e3d038e0.tar.gz
serverdata-970f6acc845d1471a8c9be980eaad7c2e3d038e0.tar.bz2
serverdata-970f6acc845d1471a8c9be980eaad7c2e3d038e0.tar.xz
serverdata-970f6acc845d1471a8c9be980eaad7c2e3d038e0.zip
Rolling Stones Trap - MASTERED
Diffstat (limited to 'npc/023-3')
-rw-r--r--npc/023-3/logic.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/npc/023-3/logic.txt b/npc/023-3/logic.txt
index 55cf48885..f3410d5ea 100644
--- a/npc/023-3/logic.txt
+++ b/npc/023-3/logic.txt
@@ -282,16 +282,19 @@ OnTimer250:
end;
OnInit:
- npcspeed(180);
+ npcspeed(220);
initnpctimer;
npcwalkto(47, 41);
end;
-OnTimer180:
+OnTimer220:
if (.y >= 40) {
movenpc(.name$, 47, 23);
npcwalkto(47, 41);
}
+ if (getareausers("023-3", 0)) {
+ areatimer2("023-3", .x, .y, .x, .y, 10, .name$+"::OnTouch");
+ }
initnpctimer;
end;
@@ -308,16 +311,19 @@ OnTouchNPC:
end;
OnInit:
- npcspeed(180);
+ npcspeed(220);
initnpctimer;
npcwalkto(48, 41);
end;
-OnTimer180:
+OnTimer220:
if (.y >= 40) {
movenpc(.name$, 48, 23);
npcwalkto(48, 41);
}
+ if (getareausers("023-3", 0)) {
+ areatimer2("023-3", .x, .y, .x, .y, 10, .name$+"::OnTouch");
+ }
initnpctimer;
end;