Incomp. Proto. Change: attack_dir gets <force> parameter

This commit is contained in:
Petr Baudis 2011-12-22 00:12:45 +01:00
parent 177d41cf60
commit 091708f577
6 changed files with 22 additions and 16 deletions

View file

@ -116,7 +116,7 @@ sub take_action($$) {
print "moves ".join(", ", @move)." => (".dirindex($max).":$max->[0],$max->[1])\n";
if ($attack[dirindex($max)]) {
print $socket "attack_dir $max->[0] $max->[1]\r\n";
print $socket "attack_dir $max->[0] $max->[1] 100\r\n";
} else {
print $socket "move_dir $max->[0] $max->[1]\r\n";
}