From fda7f52fa934d21ea8a6f7fe8d363aacbf22128d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 15 Jul 2018 00:34:10 -0300 Subject: santime() experiment --- npc/003-4/sorfina.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/003-4/sorfina.txt') 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"; -- cgit v1.2.3-60-g2f50