[Freeciv] Re: Attacking problems
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> 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,
[Freeciv] Re: Attacking problems, Claus Atzenbeck, 1999/10/06
|
|