summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-25 12:42:08 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-25 12:42:08 -0300
commit06bf50eec3b3c358b99fe06cd650420a07be8af1 (patch)
tree8d609cec4bff981c27c908e6d8d3ca34f424b6ec
parent82c666e4cd8a2b5191474a89545aec48651fd8c4 (diff)
downloadserverdata-06bf50eec3b3c358b99fe06cd650420a07be8af1.tar.gz
serverdata-06bf50eec3b3c358b99fe06cd650420a07be8af1.tar.bz2
serverdata-06bf50eec3b3c358b99fe06cd650420a07be8af1.tar.xz
serverdata-06bf50eec3b3c358b99fe06cd650420a07be8af1.zip
Revert "Attempt to test qtime. I'm not really sure about this one."
This reverts commit 82c666e4cd8a2b5191474a89545aec48651fd8c4. Requires further testing.
-rw-r--r--npc/003-10/guarddevoir.txt8
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));