changeset 321:d3bcdaa0180c

changed level of barrack
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Mon, 26 Jan 2009 00:24:35 +0800
parents ddfbb413d4dc
children 4cf62bfa4cbd
files agent.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/agent.pl	Mon Jan 12 22:36:46 2009 +0800
+++ b/agent.pl	Mon Jan 26 00:24:35 2009 +0800
@@ -248,7 +248,7 @@
     my ($self, $city) = @_;
     return 0 if(!defined($city->{buildings}->{barracks}));
     if($self->is_robotics_researched() eq 1) {
-        return ($city->{buildings}->{barracks} >= 16 ? 1 : 0);
+        return ($city->{buildings}->{barracks} >= 24 ? 1 : 0);
     }
 
     if($city->{buildings}->{townHall} >= 10) {