changeset 348:b245f259776f

ignore low level and high risk cities
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Sat, 14 Feb 2009 04:44:13 +0800
parents b74e3a838b58
children 161fba9ef6ba 85c17a9245e3 bf59bef30dfc
files sheep.pl
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sheep.pl	Sat Feb 14 03:02:46 2009 +0800
+++ b/sheep.pl	Sat Feb 14 04:44:13 2009 +0800
@@ -75,6 +75,8 @@
                 }
             }
 
+            next if($c->citylevel le 10);
+            next if($c->risk ge 30);
             my $island = Ikariam::Island->retrieve($c->island);