summaryrefslogtreecommitdiff
path: root/npc/003-10
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-25 12:41:47 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-25 12:41:47 -0300
commit82c666e4cd8a2b5191474a89545aec48651fd8c4 (patch)
tree03cbf8f5d0e26d2f7a16d280347338a9c1f2df1e /npc/003-10
parentf879678338c6440b90a221dd747d6d369495197a (diff)
downloadserverdata-82c666e4cd8a2b5191474a89545aec48651fd8c4.tar.gz
serverdata-82c666e4cd8a2b5191474a89545aec48651fd8c4.tar.bz2
serverdata-82c666e4cd8a2b5191474a89545aec48651fd8c4.tar.xz
serverdata-82c666e4cd8a2b5191474a89545aec48651fd8c4.zip
Attempt to test qtime. I'm not really sure about this one.
Diffstat (limited to 'npc/003-10')
-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));