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

[Freeciv-Dev] (PR#8455) Bombardment

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8455) Bombardment
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Mon, 12 Apr 2004 17:36:27 -0700
Reply-to: rt@xxxxxxxxxxx

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

> [per - Sun Apr 11 20:35:10 2004]:

> 
> Good point. Ok, so we should not look at movement rate at all, then. Keep
> bombard_rate, and set moves_left to zero when you are done bombarding.
> Adjust bombard_rate correspondingly.
> 
> But this will give us issues, however, with fighters, who need movement to
> get back to an airstrip. I don't know what to do about them.
> 

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.  

-James Canete


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