summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/003-10/guarddevoir.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/003-10/guarddevoir.txt b/npc/003-10/guarddevoir.txt
index c63c351d8..59cd43e44 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) >= getq2(TulimsharQuest_Devoir) + 60 * 60 * 36) setq1 TulimsharQuest_Devoir, 2; // Repats every 36 hours
+ if (.@q == 1 && gettimetick(2) >= getqtime(TulimsharQuest_Devoir)) setq1 TulimsharQuest_Devoir, 2; // Repats every 36 hours
if (.@q == 2) goto L_Repeat;
close;
@@ -58,7 +58,8 @@ L_Finish:
delitem RedScorpionStinger, 14;
getexp 1555, 10;
Zeny = (Zeny + 1410); // 70*14 = 980 base
- setq TulimsharQuest_Devoir, 1, gettimetick(2);
+ setq1 TulimsharQuest_Devoir, 1;
+ setqtime TulimsharQuest_Devoir, gettimetick(2) + (60*60*36);
mes "";
mesn;
mesq l("Many thanks! Come back later to bring me extra @@!", getitemlink(RedScorpionStinger));
@@ -69,7 +70,8 @@ L_Finish2:
delitem RedScorpionStinger, 7;
getexp 999, 0;
Zeny = (Zeny + 680); // 70*7 = 490 base
- setq TulimsharQuest_Devoir, 1, gettimetick(2);
+ setq1 TulimsharQuest_Devoir, 1;
+ setqtime TulimsharQuest_Devoir, gettimetick(2) + (60*60*36);
mes "";
mesn;
mesq l("Many thanks! Come back later to bring me extra @@!", getitemlink(RedScorpionStinger));