From 817b2e9d685030ba165bcffe614b7a030d08ec33 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 26 Sep 2022 02:00:34 -0300 Subject: Fix a bug with Arkim Timer Code --- npc/015-3/arkim.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/015-3/arkim.txt b/npc/015-3/arkim.txt index 2d226a64f..64f22af52 100644 --- a/npc/015-3/arkim.txt +++ b/npc/015-3/arkim.txt @@ -236,7 +236,13 @@ function pmap_right { OnInit: .sex=G_MALE; .distance=5; - // No end; on purpose + + $@ARKIM_QTIMER=gettimeparam(GETTIME_DAYOFMONTH); + $@ARKIM_TIMER=gettimetick(2); + $@ARKIM_TIMER-=gettime(1); + $@ARKIM_TIMER-=gettime(2)*60; + $@ARKIM_TIMER-=gettime(3)*3600; + end; OnHour00: $@ARKIM_QTIMER=gettimeparam(GETTIME_DAYOFMONTH); -- cgit v1.2.3-60-g2f50