changeset 299:986a75252cb3

added risk column
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Sun, 07 Dec 2008 21:12:29 +0800
parents 073442284ec1
children 5fc26f2af95b
files enemy.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/enemy.pl	Sun Dec 07 15:12:33 2008 +0800
+++ b/enemy.pl	Sun Dec 07 21:12:29 2008 +0800
@@ -124,7 +124,7 @@
                     $spydata->{city}->{buildings}->{safehouse}, 
                     $spydata->{risks}[1]);
         } else {
-            printf("Level: %s\n", $city->citylevel);
+            printf("Level: %s, Rsik %d\n", $city->citylevel, $city->risk);
         }
 
         printf("Capture: %d\n", $capture);