comparison enemy.pl @ 299:986a75252cb3

added risk column
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Sun, 07 Dec 2008 21:12:29 +0800
parents 2ddd2bd21ef2
children efffa408eec5
comparison
equal deleted inserted replaced
297:073442284ec1 299:986a75252cb3
122 $spydata->{city}->{buildings}->{wall}, 122 $spydata->{city}->{buildings}->{wall},
123 $spydata->{city}->{buildings}->{port}, 123 $spydata->{city}->{buildings}->{port},
124 $spydata->{city}->{buildings}->{safehouse}, 124 $spydata->{city}->{buildings}->{safehouse},
125 $spydata->{risks}[1]); 125 $spydata->{risks}[1]);
126 } else { 126 } else {
127 printf("Level: %s\n", $city->citylevel); 127 printf("Level: %s, Rsik %d\n", $city->citylevel, $city->risk);
128 } 128 }
129 129
130 printf("Capture: %d\n", $capture); 130 printf("Capture: %d\n", $capture);
131 printf("Tradegood: %s, Wonder: %s\n", 131 printf("Tradegood: %s, Wonder: %s\n",
132 $tradegoodText[$island->tradegood], $wonderText[$island->wonder]); 132 $tradegoodText[$island->tradegood], $wonderText[$island->wonder]);