# HG changeset patch # User "Rex Tsai " # Date 1234678875 -28800 # Node ID 84311fc6fe351114a09e2fede32f03bcdff20d39 # Parent 72df6f5bd05d475cbcf3cdcfc3527fa3a3b98f4f ignore ally diff -r 72df6f5bd05d -r 84311fc6fe35 sheep.pl --- 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);