# HG changeset patch # User "Rex Tsai " # Date 1231770888 -28800 # Node ID 61dd017416cf0be3f809d167dba6ab242fad053a # Parent e5e25d4a2c2fb782075aaaa2be808fa44d5581a0 maxium level of wall is 24 diff -r e5e25d4a2c2f -r 61dd017416cf agent.pl --- a/agent.pl Mon Jan 12 22:26:48 2009 +0800 +++ b/agent.pl Mon Jan 12 22:34:48 2009 +0800 @@ -33,7 +33,7 @@ my ($self, $city) = @_; # http://ikariam.wikia.com/wiki/Wall_Defense # Basic rule - the wall level must equale or large then townHall level. - return ($city->{buildings}->{wall} >= 26 ? 1 : 0); + return ($city->{buildings}->{wall} >= 24 ? 1 : 0); # return ($city->{buildings}->{wall} >= $city->{buildings}->{townHall} ? 1 : 0); } @@ -429,7 +429,7 @@ $i->set("academy", $cityId); # Only when you are not happy. - $i->set("tavern", $cityId); +# $i->set("tavern", $cityId); # build military! $tree = LoadFile('military.yaml');