From fda7f52fa934d21ea8a6f7fe8d363aacbf22128d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 15 Jul 2018 00:34:10 -0300 Subject: santime() experiment --- npc/012-2/helena.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/012-2/helena.txt') diff --git a/npc/012-2/helena.txt b/npc/012-2/helena.txt index 5d27f8227..1b4bda137 100644 --- a/npc/012-2/helena.txt +++ b/npc/012-2/helena.txt @@ -41,13 +41,13 @@ L_Daily: mesq l("Ah, @@, my friend! Are you here to help us with 5 @@? Or perhaps you have 5 more @@ to show that Hurnscald is getting safer?", strcharinfo(0), getitemlink(TreasureKey), getitemlink(BanditHood)); mes ""; select - rif(.@k < gettimetick(2) && countitem(TreasureKey) >= 5, l("I have 5 Treasure keys with me.")), - rif(.@h < gettimetick(2) && countitem(BanditHood) >= 5, l("I have 5 Bandit Hoods with me.")), + rif(.@k < santime() && countitem(TreasureKey) >= 5, l("I have 5 Treasure keys with me.")), + rif(.@h < santime() && countitem(BanditHood) >= 5, l("I have 5 Bandit Hoods with me.")), l("Nothing at the moment."); mes ""; switch (@menu) { case 1: - setq2 HurnscaldQuest_Bandits, gettimetick(2)+(60*60*24); + setq2 HurnscaldQuest_Bandits, santime()+(60*60*24); delitem TreasureKey, 5; Zeny=Zeny+600; // 600/550 = 9.09% bonus //Zeny=Zeny+800; // 800/550 = 45.45% bonus @@ -58,7 +58,7 @@ L_Daily: next; goto L_Daily; case 2: - setq3 HurnscaldQuest_Bandits, gettimetick(2)+(60*60*24); + setq3 HurnscaldQuest_Bandits, santime()+(60*60*24); delitem BanditHood, 5; Zeny=Zeny+250; // 250/155 = 61.29% bonus getexp 300, 5; -- cgit v1.2.3-60-g2f50