comparison sheep.pl @ 302:efffa408eec5

refined the output of spy information
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Sun, 07 Dec 2008 22:25:52 +0800
parents 15c288dd7dc5
children 7077be1a14d5
comparison
equal deleted inserted replaced
301:07f51bb67e56 302:efffa408eec5
9 $myAlly = Ikariam::Ally->retrieve($mime->allyId) 9 $myAlly = Ikariam::Ally->retrieve($mime->allyId)
10 if(defined($mime->allyId) && $mime->allyId ne '0'); 10 if(defined($mime->allyId) && $mime->allyId ne '0');
11 11
12 # only challenge the small victims 12 # only challenge the small victims
13 my $army_score_main = ($mime->army_score_main / 3); 13 my $army_score_main = ($mime->army_score_main / 3);
14 $army_score_main = 300;
14 15
15 my @tradegoodText = qw/NULL 葡萄酒 大理石 水晶 硫磺/; 16 my @tradegoodText = qw/NULL 葡萄酒 大理石 水晶 硫磺/;
16 17
17 Ikariam::User->has_many(cities => 'Ikariam::Cities'); 18 Ikariam::User->has_many(cities => 'Ikariam::Cities');
18 Ikariam::User->has_a(ally => 'Ikariam::Ally'); 19 Ikariam::User->has_a(ally => 'Ikariam::Ally');