diff sheep.pl @ 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 85d60a0569bf
children 85c17a9245e3
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);