summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/015-3/arkim.txt7
-rw-r--r--npc/functions/time.txt2
2 files changed, 5 insertions, 4 deletions
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);
}