changeset 320:ddfbb413d4dc

maxium level of museum is 8
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Mon, 12 Jan 2009 22:36:46 +0800
parents 61dd017416cf
children d3bcdaa0180c
files agent.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/agent.pl	Mon Jan 12 22:34:48 2009 +0800
+++ b/agent.pl	Mon Jan 12 22:36:46 2009 +0800
@@ -51,7 +51,7 @@
 
 sub is_museum_enough {
     my ($self, $city) = @_;
-    return 1 if($city->{buildings}->{museum} >= 9);
+    return 1 if($city->{buildings}->{museum} >= 8);
 }
 
 sub is_tavern_enough {