[freeciv-ai] Selecting the best attacker/defender and when to run away
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> > > What, are you crack?? The AI uses mech inf all the time! It even uses
> mech inf as bodyguards for stinkin' riflemen! (You see, riflemen have att >
> > > def, so they are attack type unit while mech inf has def <= att, so it is
> > > a bodyguard type of unit...)
> > Which is very stupid. It should compare attackpower of bodyguard unit and
> the normal unit. After all, a Mech inf at 1 hp is a crappy attacker compared
>to a riflemen at full hp.
> Again, please come up with a good algorithm. Even if the unit being
> charged has higher (attack power*firepower*hp), that doesn't automatically
> mean it doesn't need a bodyguard. Eg a 8/1/1 IGWALL unit may still need a
> 9/6/1 bodyguard.
Let me fill in the blanks. I'm suggesting that we use attackpower and
defencepower. So the mech inf would have both higher than a rifleman, so a mech
inf would NOT have a rifle bodyguard.
And if we did vice versa, if the bodyguards defencepower is lower than that of
the unit it is supposed to defend, we send the bodyguard home to recuperate
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs