Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: [PATCH] aiunit.c ai_military_findvictim() cleanup (PR#
Home

[Freeciv-Dev] Re: [PATCH] aiunit.c ai_military_findvictim() cleanup (PR#

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Petr Baudis <pasky@xxxxxxxxxxx>
Cc: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] aiunit.c ai_military_findvictim() cleanup (PR#1264)
From: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Date: Wed, 20 Feb 2002 05:23:08 -0800 (PST)

--- Petr Baudis <pasky@xxxxxxxxxxx> wrote:
> Dear diary, on Wed, Feb 20, 2002 at 01:02:55PM CET, I got a letter, where
> Raahul Kumar <raahul_da_man@xxxxxxxxx> told me, that...
> > 
> > --- Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx> wrote:
> > 
> > > I suspect the idea of patt is to force punit to attack a stack of units
> if
> > > they are endangering punit, even if they are not that weak...
> > 
> > So this is the reason that the ai makes senseless attacks. Any change of
> > convincing the AI not to attack veteran fortified mech inf on mountains any
> > time soon ?
> 
> This is IMO definitively not this case. But if yes, something VERY weird is
> in
> get_total_*_power(), however I don't think so.
> 

You think only get_total*_power? I'm suspicious of the whole bunch of
equations.

> > > How about writing a separate function 
> > > > > consider_pillaging(x, y, punit) ?  in general, not only barbarians
> > > > > should pillage.
> > > > 
> > > > Is it used anywhere else?
> > > 
> > > could be but I don't think so.  but it shouldn't stop you IMO
> > 
> > Making AI units pillage roads and railroads could be a very bad idea. The
> AI
> > might never succeed in taking cities if it pillages roads/railroads along
> the
> > way.
> 
> Yes.
> 
> -- 
> 
>                               Petr "Pasky" Baudis
> 
> * elinks maintainer                * IPv6 guy (XS26 co-coordinator)
> * IRCnet operator                  * FreeCiv AI hacker
> .
> No one can feel as helpless as the owner of a sick goldfish.
> .
> Public PGP key && geekcode && homepage: http://pasky.ji.cz/~pasky/
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com


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