[Freeciv-Dev] Re: (PR#6862) NonMil flag for transporters
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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>
- [Freeciv-Dev] Re: (PR#6862) NonMil flag for transporters, Per I. Mathisen, 2003/11/14
- [Freeciv-Dev] Re: (PR#6862) NonMil flag for transporters, Arnstein Lindgard, 2003/11/14
- [Freeciv-Dev] Re: (PR#6862) NonMil flag for transporters, Christian Knoke, 2003/11/14
- [Freeciv-Dev] Re: (PR#6862) NonMil flag for transporters, Jason Short, 2003/11/14
- [Freeciv-Dev] Re: (PR#6862) NonMil flag for transporters, Raimar Falke, 2003/11/14
- [Freeciv-Dev] Re: (PR#6862) NonMil flag for transporters, Arnstein Lindgard, 2003/11/15
- [Freeciv-Dev] Re: (PR#6862) NonMil flag for transporters,
Billy Naylor <=
|
|