Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: (PR#6862) NonMil flag for transporters
Home

[Freeciv-Dev] Re: (PR#6862) NonMil flag for transporters

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: a-l@xxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6862) NonMil flag for transporters
From: "Billy Naylor" <banjo@xxxxxxxxxx>
Date: Tue, 18 Nov 2003 00:41:48 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Sat, 2003-11-15 at 10:21, Raimar Falke wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=6862 >
> 
> On Fri, Nov 14, 2003 at 09:43:39AM -0800, Jason Short wrote:
> > 
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=6862 >
> > 
> > Arnstein Lindgard wrote:
> > > <URL: http://rt.freeciv.org/Ticket/Display.html?id=6862 >
> > > 
> > > Add "NonMil" flag to Galleons and Transporters for all 3 rulesets.
> > > If this cause trouble for the AI, we could alternatively disable
> > > auto-attack by checking for attack strength > 0.
> > 
> > If all the NonMil flag does is specify which units have nonzero attack 
> > strength, what is the point?
> 
> If you search for is_military_unit() you will find the usages of
> NonMil. Summary: either NonMill or attack strength == 0 forbid
> attacking. NonMil unit can't be used for martial law. NonMil units
> can't capture a city. There are also some references in the goto and
> the autoattack code.
> 
> > So the auto-attack code should check the attack strenght, not the flag.
> 
> We should add new flags for F_MARTIAL_LAW and F_CAPTURE_CITY.
> 
>       Raimar

Could we add F_ATROCITY for units that cause atrocity attacks, like
in SMAC.


-- 
banjo <banjo@xxxxxxxxxx>




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