[Freeciv-Dev] Re: TODO
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> double chance(int as, int ahp, int afp, int ds, int dhp, int dfp)
> {
> /* number of rounds a unit can fight without dying */
> int att_N_lose = ahp/dfp + ahp%dfp;
> int def_N_lose = dhp/afp + dhp%afp;
Yes, I know, I have to check for the case that either as or ds = 0...
-Thue
- [Freeciv-Dev] Re: TODO, (continued)
[Freeciv-Dev] Re: TODO, David Pfitzner, 2000/09/24
- [Freeciv-Dev] Re: TODO, Thue, 2000/09/24
- [Freeciv-Dev] Re: TODO, Erik Sigra, 2000/09/24
- [Freeciv-Dev] Re: TODO, Thue, 2000/09/24
- [Freeciv-Dev] Re: TODO, Thue, 2000/09/25
- [Freeciv-Dev] Re: TODO, Trent Piepho, 2000/09/25
- [Freeciv-Dev] Re: TODO, Thue, 2000/09/25
|
|