From e93533f6706dc03fe98132871d1cb08ccc381245 Mon Sep 17 00:00:00 2001 From: toni Date: Sat, 26 Mar 2011 15:55:57 -0300 Subject: Show the remaining time for the fight in minutes. --- npc/029-3_Fight_Cave/parua.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3-60-g2f50