public inbox for xconq-cvs@sourceware.org help / color / mirror / Atom feed
From: kingdon@sourceware.cygnus.com To: xconq-cvs@sourceware.cygnus.com Subject: xconq ./ChangeLog lib/stdunit.g kernel/ai.c ke ... Date: Sat, 18 Aug 2001 19:13:00 -0000 [thread overview] Message-ID: <20010819021309.12524.qmail@sourceware.cygnus.com> (raw) CVSROOT: /cvs/xconq Module name: xconq Changes by: kingdon@sources.redhat.com 2001-08-18 19:13:08 Modified files: . : ChangeLog lib : stdunit.g kernel : ai.c task.c Log message: Get the AI to repair its units better: * lib/stdunit.g: Up repair-percent to 75 - much too easy to kill off bombers (and others) at the default 35. * kernel/ai.c (ai_decide_plan): Call ai_react_to_action rather than duplicating the code which calls defensive_reaction &c. This is so that we check for whether we are looking for repair. * kernel/task.c (do_repair_task): Only look for repair from a transport which can provide it. * kernel/task.c (do_repair_task): Unless we are above repair_percent, we haven't repaired enough. Also round up on the 80% check - otherwise 1/2 is considered to be >= 80% for example.
reply other threads:[~2001-08-18 19:13 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20010819021309.12524.qmail@sourceware.cygnus.com \ --to=kingdon@sourceware.cygnus.com \ --cc=xconq-cvs@sourceware.cygnus.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).