Mercurial > eagle-eye
changeset 293:523ea51126bc
we leave navy for only 2 round of fights
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Sun, 07 Dec 2008 14:18:21 +0800 |
parents | 071863adc14c |
children | 71af5e056719 |
files | planner.pl |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/planner.pl Sun Dec 07 14:17:11 2008 +0800 +++ b/planner.pl Sun Dec 07 14:18:21 2008 +0800 @@ -54,7 +54,8 @@ # NAVY my $city = LoadFile(sprintf("city-%s-dump.yaml", $navyCity)); -$city->{distance} = travelTime($targetCity->island->x, $targetCity->island->y, $city->{island}->{x}, $city->{island}->{y}, 8) + 45; +# $city->{distance} = travelTime($targetCity->island->x, $targetCity->island->y, $city->{island}->{x}, $city->{island}->{y}, 8) + 45; +$city->{distance} = travelTime($targetCity->island->x, $targetCity->island->y, $city->{island}->{x}, $city->{island}->{y}, 8) + 25; $city->{type} = "navy"; push (@cities, $city);