Complete.Org: Mailing Lists: Archives: freeciv-ai: May 2004:
[freeciv-ai] Re: (PR#8770) AI doesn't let units fortify
Home

[freeciv-ai] Re: (PR#8770) AI doesn't let units fortify

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: cdf30@xxxxxxxxxxx
Subject: [freeciv-ai] Re: (PR#8770) AI doesn't let units fortify
From: "Per Inge Mathisen" <per@xxxxxxxxxxx>
Date: Wed, 19 May 2004 13:54:01 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8770 >

I looked at the savegame and found the problem. This case is rather
special. The poor chariot was surrounded by archers and could not move
anywhere. When it tried, it immediately broke off its goto because it had
nowhere to go. But first it had to lift its fortification so that it could
attempt to move.

This problem will be fixed once we move this code over to pf, since then
we can actually find out whether we can move to the target before we try
to do so.

So I do not think this shows that the AI does not fortify. Looking inside
AI cities, I see clearly that the AI _is_ fortifying properly in the main.
Of course, we still have corner cases to handle.

  - Per




[Prev in Thread] Current Thread [Next in Thread]