diff --git a/bin/saben/send_attack.pl b/bin/saben/send_attack.pl index 0a95bee1..09e57319 100644 --- a/bin/saben/send_attack.pl +++ b/bin/saben/send_attack.pl @@ -49,6 +49,7 @@ while (my $attacking_colony = $colonies->next) { out('Finding target body to attack...'); my $targets = $db->resultset('Lacuna::DB::Result::Map::Body')->search({ empire_id => { '>' => 1 }, + is_isolationist => 0, university_level => { '>=' => 16 }, zone => $attacking_colony->zone, }, diff --git a/lib/Lacuna.pm b/lib/Lacuna.pm index 06d1a98d..8bb4c901 100644 --- a/lib/Lacuna.pm +++ b/lib/Lacuna.pm @@ -7,7 +7,7 @@ use Config::JSON; useall __PACKAGE__; -our $VERSION = 3.0898; +our $VERSION = 3.0899; my $config = Config::JSON->new('/data/Lacuna-Server/etc/lacuna.conf'); my $db = Lacuna::DB->connect($config->get('db/dsn'),$config->get('db/username'),$config->get('db/password'), { mysql_enable_utf8 => 1});