From fda7f52fa934d21ea8a6f7fe8d363aacbf22128d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 15 Jul 2018 00:34:10 -0300 Subject: santime() experiment --- npc/003-10/guarddevoir.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/003-10') diff --git a/npc/003-10/guarddevoir.txt b/npc/003-10/guarddevoir.txt index dea7bc877..be4cef8ab 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 (gettimetick(2) >= getq2(TulimsharQuest_Devoir) + 60 * 60 * 36) goto L_Repeat; // Repats every 36 hours + if (santime() >= getq2(TulimsharQuest_Devoir) + 60 * 60 * 36) goto L_Repeat; // Repats every 36 hours mesn; mesq l("But, it wouldn't look nice if I let you do all the killing! The other guards are working right now!"); next; @@ -62,7 +62,7 @@ L_Finish: delitem RedScorpionStinger, 14; getexp 1703, 11; // 7 / 13.5% = 104 kills * 52 xp = 5408 xp gained from killing. (30% bonus) r4.9+ 5% Zeny = (Zeny + 1372); // 70*14 = 980 base (40% bonus) - setq TulimsharQuest_Devoir, 1, gettimetick(2); + setq TulimsharQuest_Devoir, 1, santime(); mes ""; mesn; mesq l("Many thanks! Come back later to bring me extra @@!", getitemlink(RedScorpionStinger)); @@ -73,7 +73,7 @@ L_Finish2: delitem RedScorpionStinger, 7; getexp 993, 0; // 7 / 13.5% = 52 kills * 52 xp = 2704 xp gained from killing. (35% bonus) r4.9 +5% Zeny = (Zeny + 686); // 70*7 = 490 base (40% bonus) - setq TulimsharQuest_Devoir, 1, gettimetick(2); + setq TulimsharQuest_Devoir, 1, santime(); mes ""; mesn; mesq l("Many thanks! Come back later to bring me extra @@!", getitemlink(RedScorpionStinger)); -- cgit v1.2.3-60-g2f50