[Freeciv-Dev] Re: chance of winning a battle
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 12 Jul 2001, Christian Knoke wrote:
> > If you want something hard, figure out multiple unit battles. For
> > example, if you have three different units which can attack a single
> > enemy unit. What order should they attack in to minimize the
> > expected value of the unit cost you will lose.
>
> yep, and vice versa, which one of a stack of units should
> do the defense. This affects all the fighting in the game very
> much.
why, the one who has the greatest chance of winning of course :)
but anyway I think I know an easy solution, just have to check it.
btw, who is "Syela", I cannot find the name in the author's list...
and another question.
Probably it was asked many times before me, but it seems that freeciv's
way of calculating unit's defence is different from CivII's.
Freciv does
basic_defence * bonus1 * bonus2 *....
and CivII does
basic_defence * (bonus1 + bonus2 + ... )
I found it in
http://www.freeciv.org/lxr/source/common/combat.c?v=cvs#L258
functions get_defence_power and get_total_defence_power
and in
http://members.ozemail.com.au/~jbreis/civ2/strategy/fwar.html#Weighing the
Odds
respectively. Is it feature or is it bug?
- [Freeciv-Dev] chance of winning a battle, Gregory Berkolaiko, 2001/07/11
- [Freeciv-Dev] Re: chance of winning a battle, Trent Piepho, 2001/07/11
- [Freeciv-Dev] Re: chance of winning a battle, Christian Knoke, 2001/07/12
- [Freeciv-Dev] Re: chance of winning a battle,
Gregory Berkolaiko <=
- [Freeciv-Dev] Re: chance of winning a battle, Christian Knoke, 2001/07/12
- [Freeciv-Dev] Re: chance of winning a battle, Gregory Berkolaiko, 2001/07/15
- [Freeciv-Dev] Patch correcting win_cnace, Gregory Berkolaiko, 2001/07/15
- [Freeciv-Dev] Re: Patch correcting win_cnace, Gaute B Strokkenes, 2001/07/15
- [Freeciv-Dev] Re: Patch correcting win_cnace, Thue, 2001/07/20
- [Freeciv-Dev] Re: Patch correcting win_cnace, Erik Sigra, 2001/07/20
- [Freeciv-Dev] Re: Patch correcting win_cnace, Thue, 2001/07/20
- [Freeciv-Dev] Re: Patch correcting win_cnace, Thue, 2001/07/20
- [Freeciv-Dev] Re: Patch correcting win_cnace, Gregory Berkolaiko, 2001/07/20
- [Freeciv-Dev] Re: Patch correcting win_cnace, Gaute B Strokkenes, 2001/07/22
|
|