Complete.Org: Mailing Lists: Archives: freeciv: October 1999:
[Freeciv] Re: Attacking problems
Home

[Freeciv] Re: Attacking problems

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Manop 'Saphir' Huber" <croxsgfi@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv@xxxxxxxxxxx
Subject: [Freeciv] Re: Attacking problems
From: Nicolas BRUNEL <brunel@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 6 Oct 1999 16:07:30 +0000 (GMT)

> Claus Atzenbeck wrote:
>  > I have an additional question on this: Right below an unit icon there
> is a
> > small bar showing the destruction of an unit. How does this affect the
> > strength of an attack or defense?

See server/unitfunc.c function unit_versus_unit.

To sum up the strength of the unit is multiply by (current hp)/(max hp)
and by its firepower.

Don't hesitate to look at the source. You will understand how the game
works. My magic command is grep.

Bye,



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