From fda7f52fa934d21ea8a6f7fe8d363aacbf22128d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 15 Jul 2018 00:34:10 -0300 Subject: santime() experiment --- npc/007-1/dracoula.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/007-1') diff --git a/npc/007-1/dracoula.txt b/npc/007-1/dracoula.txt index d7eebbec6..bd09db34c 100644 --- a/npc/007-1/dracoula.txt +++ b/npc/007-1/dracoula.txt @@ -40,7 +40,7 @@ L_Quest: next; } if (.@q == 0) goto L_Continue; - if (gettimetick(2) >= getq2(MineQuest_Dracoula) + 60 * 60 * 23) goto L_Repeat; + if (santime() >= getq2(MineQuest_Dracoula) + 60 * 60 * 23) goto L_Repeat; mesn; mesq l("But come back in a few hours, I didn't lost all @@!", getitemlink(BatTeeth)); close; @@ -84,7 +84,7 @@ L_Finish: delitem BatTeeth, 20; getexp 666, 5; // 20 / 18% = 111 kills * 15 xp = 1665 xp gained from killing. (40% bonus) Zeny = (Zeny + 240); // 3*20 = 60 base (400% bonus) - setq MineQuest_Dracoula, 1, gettimetick(2); + setq MineQuest_Dracoula, 1, santime(); mes ""; mesn; mesq l("WAW thank you! Come back later to bring me extra @@!", getitemlink(BatTeeth)); @@ -95,7 +95,7 @@ L_Finish2: delitem BatTeeth, 11; getexp 275, 1; // 11 / 18% = 61 kills * 15 xp = 915 xp gained from killing. (30% bonus) Zeny = (Zeny + 120); // 3*11 = 33 base (x% bonus) - setq MineQuest_Dracoula, 1, gettimetick(2); + setq MineQuest_Dracoula, 1, santime(); mes ""; mesn; mesq l("So COOL, thanks! Come back later to bring me extra @@!", getitemlink(BatTeeth)); -- cgit v1.2.3-60-g2f50