URL:
  <http://gna.org/patch/?3729>

                 Summary: Attacking player specific reverse pathfinding map
for cities
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Thu 21 Feb 2013 08:57:51 AM EET
                Category: ai
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.5.0

    _______________________________________________________

Details:

Currently assess_danger() uses single reverse pathfinding map for all the
units approaching the city. This map is constructed as if all units were owned
by city owner (the defender). This causes inaccuracy due to ZoC effects and
restrict_infra (if enabled) being different for distinct players.

Attached patch creates reverse pathfinding map for each attacker player
instead.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 21 Feb 2013 08:57:51 AM EET  Name: AttackerMapforCity.patch  Size:
5kB   By: cazfi

<http://gna.org/patch/download.php?file_id=17299>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3729>

_______________________________________________
  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