summaryrefslogtreecommitdiff
path: root/npc/003-4/sorfina.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-15 00:34:10 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-15 00:34:10 -0300
commitfda7f52fa934d21ea8a6f7fe8d363aacbf22128d (patch)
treee9ae4bc301784abcd5243fa4d630f9c82a7254b6 /npc/003-4/sorfina.txt
parentcf9965f364d8dddfc39cc432fdd2ffbe69676054 (diff)
downloadserverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.tar.gz
serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.tar.bz2
serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.tar.xz
serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.zip
santime() experiment
Diffstat (limited to 'npc/003-4/sorfina.txt')
-rw-r--r--npc/003-4/sorfina.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/003-4/sorfina.txt b/npc/003-4/sorfina.txt
index 7acb8808a..3a5d10f28 100644
--- a/npc/003-4/sorfina.txt
+++ b/npc/003-4/sorfina.txt
@@ -48,7 +48,7 @@ L_Trouble:
L_Basement:
if (BaseLevel < 13) goto L_TooWeak;
- if (getq3(TulimsharQuest_Hasan) > gettimetick(2)) goto L_Wait;
+ if (getq3(TulimsharQuest_Hasan) > santime()) goto L_Wait;
mesn;
mesq l("There's one on the basement of this house. If you kill it, Hasan will think on you as a hero and won't steal you anymore.");
next;
@@ -61,7 +61,7 @@ L_OpenDoors:
.@MAP_NAME$="hasn@"+str(.@ID); // Max 4 chars for map name
.@INSTID = instance_create("003-4-1@a"+(.@ID), getcharid(3), IOT_CHAR);
.@instanceMapName$ = instance_attachmap("003-4-1", .@INSTID, 0, .@MAP_NAME$);
- setq TulimsharQuest_Hasan, 3, .@INSTID, gettimetick(2)+300;
+ setq TulimsharQuest_Hasan, 3, .@INSTID, santime()+300;
// Debug
if (.@instanceMapName$ == "") debugmes "Error: Map 003-4-1 X failed";