From 06bf50eec3b3c358b99fe06cd650420a07be8af1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 25 May 2018 12:42:08 -0300 Subject: Revert "Attempt to test qtime. I'm not really sure about this one." This reverts commit 82c666e4cd8a2b5191474a89545aec48651fd8c4. Requires further testing. --- npc/003-10/guarddevoir.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'npc/003-10') diff --git a/npc/003-10/guarddevoir.txt b/npc/003-10/guarddevoir.txt index 59cd43e44..c63c351d8 100644 --- a/npc/003-10/guarddevoir.txt +++ b/npc/003-10/guarddevoir.txt @@ -29,7 +29,7 @@ L_Quest: mesq l("Nice! I want you to kill some red scorpions, as I said!"); next; if (.@q == 0) goto L_Continue; - if (.@q == 1 && gettimetick(2) >= getqtime(TulimsharQuest_Devoir)) setq1 TulimsharQuest_Devoir, 2; // Repats every 36 hours + if (.@q == 1 && gettimetick(2) >= getq2(TulimsharQuest_Devoir) + 60 * 60 * 36) setq1 TulimsharQuest_Devoir, 2; // Repats every 36 hours if (.@q == 2) goto L_Repeat; close; @@ -58,8 +58,7 @@ L_Finish: delitem RedScorpionStinger, 14; getexp 1555, 10; Zeny = (Zeny + 1410); // 70*14 = 980 base - setq1 TulimsharQuest_Devoir, 1; - setqtime TulimsharQuest_Devoir, gettimetick(2) + (60*60*36); + setq TulimsharQuest_Devoir, 1, gettimetick(2); mes ""; mesn; mesq l("Many thanks! Come back later to bring me extra @@!", getitemlink(RedScorpionStinger)); @@ -70,8 +69,7 @@ L_Finish2: delitem RedScorpionStinger, 7; getexp 999, 0; Zeny = (Zeny + 680); // 70*7 = 490 base - setq1 TulimsharQuest_Devoir, 1; - setqtime TulimsharQuest_Devoir, gettimetick(2) + (60*60*36); + setq TulimsharQuest_Devoir, 1, gettimetick(2); mes ""; mesn; mesq l("Many thanks! Come back later to bring me extra @@!", getitemlink(RedScorpionStinger)); -- cgit v1.2.3-70-g09d2