summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-29 00:58:39 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-29 00:58:39 -0200
commit8239cf46ae8859140bc2ad2e6f69f7f7da2b2778 (patch)
treeb297b3c6c425a983bdd7031555af3504fddc46d3 /npc
parent0ea3ba873aa4a6a187b04e83a7d01be3ffb634bb (diff)
downloadserverdata-8239cf46ae8859140bc2ad2e6f69f7f7da2b2778.tar.gz
serverdata-8239cf46ae8859140bc2ad2e6f69f7f7da2b2778.tar.bz2
serverdata-8239cf46ae8859140bc2ad2e6f69f7f7da2b2778.tar.xz
serverdata-8239cf46ae8859140bc2ad2e6f69f7f7da2b2778.zip
Stranger Quest is only available Jan/Apr/Jul/Oct 18~25
Diffstat (limited to 'npc')
-rw-r--r--npc/017-1/stranger.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/017-1/stranger.txt b/npc/017-1/stranger.txt
index ac11e8c3f..aede21227 100644
--- a/npc/017-1/stranger.txt
+++ b/npc/017-1/stranger.txt
@@ -11,6 +11,15 @@
end;
OnInit:
+ .distance=5;
+OnClock0000:
+ if (gettime(GETTIME_MONTH) % 3 == 1) {
+ if (gettime(GETTIME_DAYOFMONTH) >= 18 && gettime(GETTIME_DAYOFMONTH) <= 25) {
+ enablenpc .name$;
+ end;
+ }
+ }
+ disablenpc .name$;
end;
}