Complete.Org: Mailing Lists: Archives: freeciv-ai: August 2002:
[freeciv-ai] Re: coreai: process_defender_want()

[freeciv-ai] Re: coreai: process_defender_want()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: coreai: process_defender_want()
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Sat, 31 Aug 2002 15:25:24 +0100 (BST)

On Sun, 25 Aug 2002, Per I. Mathisen wrote:

> Very few changes. The only important ones:
>  - Now also considers air and helicopter units as defenders. Since the
> previous fix to unit_desirability() reduces the want for helis and few
> aircraft are worth building as defenders (none) anyway, this won't have
> much effect.
>  - F_FIELDUNIT can now be built as defenders. There is no reason why this
> should be impossible, only reduce the weight for it to represent the risk
> (increased unhappiness). The comment preceding this conditional was wrong
> about the effects of the flag as well.


>  - I did NOT make the want for a tech depend on how many steps we would
> have to take to get there, as Ross had done. This is the wrong place to do
> this. The tech code should factor this in.
>  - I did NOT make the default defender into an illegal value, and I
> removed the comment which said that having unittype zero (settlers) as
> default was a bug. It is not.

Apart from slight alignment issues, there is nothing bad about this patch 


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