comparison warfare.pl @ 261:2488d31240b7

next to CITY tag.
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Wed, 19 Nov 2008 12:24:14 +0800
parents a5bd0050dd12
children 83e3ce37779d
comparison
equal deleted inserted replaced
260:a5bd0050dd12 261:2488d31240b7
113 113
114 # we don't attack same city twice at same time. 114 # we don't attack same city twice at same time.
115 next CITY if($_->{to} == $city->cityId); 115 next CITY if($_->{to} == $city->cityId);
116 } 116 }
117 # we attack one city maximum 4 times a day. 117 # we attack one city maximum 4 times a day.
118 next if($c >= 4); 118 next CITY if($c >= 4);
119 119
120 my $capture = $city->citylevel * ($city->citylevel - 1) * $sheep->trader_score_secondary / 10000; 120 my $capture = $city->citylevel * ($city->citylevel - 1) * $sheep->trader_score_secondary / 10000;
121 next if($capture < 1500); 121 next if($capture < 1500);
122 122
123 # { 123 # {