Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: (PR#8455) Bombardment
Home

[Freeciv-Dev] Re: (PR#8455) Bombardment

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: use_less@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8455) Bombardment
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Tue, 13 Apr 2004 13:30:30 -0700
Reply-to: rt@xxxxxxxxxxx

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

On Mon, 12 Apr 2004, James Canete wrote:
> We have the F_ONEATTACK unit flag, which is used with attack but not
> bombard. Perhaps we could use that the same way as in attack, zeroing
> out moves_left after a bombard if it exists.
>
> Alternately, perhaps we could have a per-unit flag which activates when
> it bombards, prevents more bombardments when activated, and is reset
> when the unit's moves are reset.
>
> Heh, that could even eventually lead to a "supplies" variable that is
> reset when the unit is in a city or ends turn stacked with a caravan.

Let's keep it simple, at least to begin with ;)

I suggest we just zero the moves_left after attack, and leave fighters
alone.

Awaiting the next patch,
Per




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