diff options
Diffstat (limited to 'npc/003-10')
-rw-r--r-- | npc/003-10/guarddevoir.txt | 8 |
1 files changed, 3 insertions, 5 deletions
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)); |