Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: New AI cleanups (PR#1338)
Home

[Freeciv-Dev] Re: New AI cleanups (PR#1338)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: New AI cleanups (PR#1338)
From: Greg Wooledge <greg@xxxxxxxxxxxx>
Date: Sun, 24 Mar 2002 10:24:42 -0500

Raahul Kumar (raahul_da_man@xxxxxxxxx) wrote:

> Is this line 
> 
> if (!is_air_unit(punit) && !is_heli_unit(punit)) 
> val = (val * punit->hp) / unit_type(punit)->hp;
> 
> Right? I thought sea units suffered no movement penalties for attacking with
> reduced hp.

Sea units lose movement points when they're damaged.  This is
Civ2-compatible and was introduced into Freeciv a year or so ago.
The discussion at the time indicated that this was a *very* much
needed change, because Ironclads attacking 4+ times per turn were way
overpowered.

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg@xxxxxxxxxxxx              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

Attachment: pgp9fLkCkcfFZ.pgp
Description: PGP signature


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