mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-02 09:53:38 +02:00
Incomp. Proto. Change: attack_dir gets <force> parameter
This commit is contained in:
parent
177d41cf60
commit
091708f577
6 changed files with 22 additions and 16 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue