URL:
  <http://gna.org/bugs/?17466>

                 Summary: Improving handling of technology exchange
                 Project: Freeciv
            Submitted by: None
            Submitted on: Wed 12 Jan 2011 07:03:31 PM UTC
                Category: ai
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: do...@student.agh.edu.pl
             Open/Closed: Open
                 Release: 2.2.3
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

Corrected incorrect handling of technology exchange as gifts - until now
there was major error in if condition.
Improved accepting technology as gifts only when it does not obsoletes any
currently produced building or unit, or when it is currently researched or it
is technology goal.

Introduced additional technology exchange, when ai player is in lower half of
score table, then it searches for another player which is also in lower half
of score table and is not in war with current player. Then with probability
0.2 it tries to suggest tech exchange, without checking whether it is
dangerous, cause being in lower part is rather more dangerous, so it should
improve position.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 12 Jan 2011 07:03:31 PM UTC  Name: aifg_patch  Size: 11kB   By:
None
Diff with modifications
<http://gna.org/bugs/download.php?file_id=11821>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?17466>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to