changeset 355:84311fc6fe35

ignore ally
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Sun, 15 Feb 2009 14:21:15 +0800
parents 72df6f5bd05d
children 1ece3379f7a2
files sheep.pl
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/sheep.pl	Sun Feb 15 14:21:07 2009 +0800
+++ b/sheep.pl	Sun Feb 15 14:21:15 2009 +0800
@@ -64,16 +64,16 @@
             # Ignore 假期模式
             next if($c->status eq 'v');
 
-            unless($c->status eq 'i') {
-                # 依照影響力區分
-                unless ($sheep->allyId == '0') {
-                    unless (!defined($sheep->allyId) || $sheep->allyId == 0) {
-                        my $ally = Ikariam::Ally->retrieve($sheep->allyId);
-                        next if(!defined($ally));
-                        next if($ally->score > $myAlly->score);
-                    }
-                }
-            }
+#            unless($c->status eq 'i') {
+#                # 依照影響力區分
+#                unless ($sheep->allyId == '0') {
+#                    unless (!defined($sheep->allyId) || $sheep->allyId == 0) {
+#                        my $ally = Ikariam::Ally->retrieve($sheep->allyId);
+#                        next if(!defined($ally));
+#                        next if($ally->score > $myAlly->score);
+#                    }
+#                }
+#            }
 
             next if($c->citylevel le 5);
             next if($c->risk ge 50);