summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-15 00:36:41 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-15 00:36:41 -0300
commit15ecdf518d911009716ebb9c546501cc1b447606 (patch)
tree5d782e15ce6d0e059f6a8c48f790c84c43c3ca1b /npc
parentfda7f52fa934d21ea8a6f7fe8d363aacbf22128d (diff)
downloadserverdata-15ecdf518d911009716ebb9c546501cc1b447606.tar.gz
serverdata-15ecdf518d911009716ebb9c546501cc1b447606.tar.bz2
serverdata-15ecdf518d911009716ebb9c546501cc1b447606.tar.xz
serverdata-15ecdf518d911009716ebb9c546501cc1b447606.zip
Second attempt
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);
}