diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-15 00:34:10 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-15 00:34:10 -0300 |
commit | fda7f52fa934d21ea8a6f7fe8d363aacbf22128d (patch) | |
tree | e9ae4bc301784abcd5243fa4d630f9c82a7254b6 /npc/003-10/guarddevoir.txt | |
parent | cf9965f364d8dddfc39cc432fdd2ffbe69676054 (diff) | |
download | serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.tar.gz serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.tar.bz2 serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.tar.xz serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.zip |
santime() experiment
Diffstat (limited to 'npc/003-10/guarddevoir.txt')
-rw-r--r-- | npc/003-10/guarddevoir.txt | 6 |
1 files changed, 3 insertions, 3 deletions
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)); |