Complete.Org: Mailing Lists: Archives: freeciv-ai: August 2002:
[freeciv-ai] Selecting the best attacker/defender and when to run away
Home

[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]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Selecting the best attacker/defender and when to run away
From: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Date: Sat, 17 Aug 2002 06:44:09 -0700 (PDT)

<snip>
> > > 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
hps.
 
> Yours
> Per
> 


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com


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