summaryrefslogtreecommitdiff
path: root/npc/012-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-15 00:34:10 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-15 00:34:10 -0300
commitfda7f52fa934d21ea8a6f7fe8d363aacbf22128d (patch)
treee9ae4bc301784abcd5243fa4d630f9c82a7254b6 /npc/012-2
parentcf9965f364d8dddfc39cc432fdd2ffbe69676054 (diff)
downloadserverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.tar.gz
serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.tar.bz2
serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.tar.xz
serverdata-fda7f52fa934d21ea8a6f7fe8d363aacbf22128d.zip
santime() experiment
Diffstat (limited to 'npc/012-2')
-rw-r--r--npc/012-2/helena.txt8
1 files changed, 4 insertions, 4 deletions
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;