summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authortoni <toni@toni-EP45-UD3L.(none)>2011-03-26 15:55:57 -0300
committerJessica Tölke <jtoelke@mail.upb.de>2011-04-04 19:26:42 +0200
commite93533f6706dc03fe98132871d1cb08ccc381245 (patch)
tree95b63df5ab8a725c80fa5ea6277414662d72d929 /npc
parentb2bbdb9909cdaa97bfe25246d823f4b348cc0f0e (diff)
downloadserverdata-e93533f6706dc03fe98132871d1cb08ccc381245.tar.gz
serverdata-e93533f6706dc03fe98132871d1cb08ccc381245.tar.bz2
serverdata-e93533f6706dc03fe98132871d1cb08ccc381245.tar.xz
serverdata-e93533f6706dc03fe98132871d1cb08ccc381245.zip
Show the remaining time for the fight in minutes.
Diffstat (limited to 'npc')
-rw-r--r--npc/029-3_Fight_Cave/parua.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/029-3_Fight_Cave/parua.txt b/npc/029-3_Fight_Cave/parua.txt
index f08734e6..f96207dd 100644
--- a/npc/029-3_Fight_Cave/parua.txt
+++ b/npc/029-3_Fight_Cave/parua.txt
@@ -65,8 +65,10 @@ L_Enjoy:
goto L_Exit;
L_Wait:
+ set @seconds, ($@ANNOUNCE_TIME - gettimetick(2));
mes "[Parua]";
- mes "\"Be Patient... The fight will start in " + ($@ANNOUNCE_TIME - gettimetick(2)) + " seconds.\"";
+ if (@seconds/60 == 0) mes "\"Be Patient... The fight will start in " + @seconds + " seconds.\"";
+ if (@seconds/60 > 0) mes "\"Be Patient... The fight will start in " + @seconds/60 + " minute(s).\"";
goto L_Exit;
L_NotEnough: