From 15ecdf518d911009716ebb9c546501cc1b447606 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 15 Jul 2018 00:36:41 -0300 Subject: Second attempt --- npc/015-3/arkim.txt | 7 ++++--- npc/functions/time.txt | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'npc') diff --git a/npc/015-3/arkim.txt b/npc/015-3/arkim.txt index 37fa8490b..a7e2114f8 100644 --- a/npc/015-3/arkim.txt +++ b/npc/015-3/arkim.txt @@ -25,9 +25,9 @@ L_Loop: mesq l("I am doing a great research with Bats, and thus far I collected @@ Bat Wings and Teeths.", $ARKIM_ST); next; // It was yesterday - if (.@q3 < $@ARKIM_TIMER) { + if (.@q3 < $@ARKIM_QTIMER) { setq2 HurnscaldQuest_Arkim, 0; - setq3 HurnscaldQuest_Arkim, $@ARKIM_TIMER; + setq3 HurnscaldQuest_Arkim, $@ARKIM_QTIMER; } // Daily limit reached @@ -139,7 +139,8 @@ OnInit: // No end; on purpose OnHour00: - $@ARKIM_TIMER=santime(); + $@ARKIM_QTIMER=santime(); + $@ARKIM_TIMER=gettimetick(2); end; } diff --git a/npc/functions/time.txt b/npc/functions/time.txt index 56f691e35..e3337af72 100644 --- a/npc/functions/time.txt +++ b/npc/functions/time.txt @@ -9,7 +9,7 @@ function script now { function script santime { .@day=60*60*24; .@year=.@day*30*360; - .@fact=.@year*(2018-1970); + .@fact=.@year*(2017-1970); return gettimetick(2)-(.@fact); } -- cgit v1.2.3-70-g09d2