summaryrefslogtreecommitdiff
path: root/world/map/npc/009-6
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2015-03-08 17:00:18 -0500
committerWushin <pasekei@gmail.com>2015-03-08 17:00:18 -0500
commita7e1ccc2e920ea97c7a0d44ae9ac100ef340a4bb (patch)
tree38ec097ec573e5f7943c707bc0c7a7b531ed5d57 /world/map/npc/009-6
parentbd60b84b2262e55c4560eebf09e1c2eb2143c6fe (diff)
parent6e9142fdd1b7a186dc093640046883e9a02ea540 (diff)
downloadserverdata-a7e1ccc2e920ea97c7a0d44ae9ac100ef340a4bb.tar.gz
serverdata-a7e1ccc2e920ea97c7a0d44ae9ac100ef340a4bb.tar.bz2
serverdata-a7e1ccc2e920ea97c7a0d44ae9ac100ef340a4bb.tar.xz
serverdata-a7e1ccc2e920ea97c7a0d44ae9ac100ef340a4bb.zip
Merge pull request #292 from mekolat/time
All about time
Diffstat (limited to 'world/map/npc/009-6')
-rw-r--r--world/map/npc/009-6/brodomir.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/world/map/npc/009-6/brodomir.txt b/world/map/npc/009-6/brodomir.txt
index 9b7fa583..63bce759 100644
--- a/world/map/npc/009-6/brodomir.txt
+++ b/world/map/npc/009-6/brodomir.txt
@@ -146,13 +146,10 @@ L_Go:
goto L_Close;
L_Wait:
- set $@brodomir_seconds, ($@BRODOMIR_START_TIME - gettimetick(2));
+ set @ms, ($@BRODOMIR_START_TIME - gettimetick(2)) * 1000;
+ callfunc "HumanTime";
mes "[Brodomir]";
- if ($@brodomir_seconds/60 == 0)
- mes "\"Just a little longer. I will bring you there in " + $@brodomir_seconds + " seconds.\"";
- if ($@brodomir_seconds/60 > 0)
- mes "\"Just a little longer. I will bring you there in " + $@brodomir_seconds/60 + " minute(s).\"";
- set $@brodomir_seconds, 0;
+ mes "\"Just a little longer. I will bring you there in " + @time$ + ".\"";
goto L_Close;
OnTimer5000: