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

                 Summary: Potential bodyguard looking for units to protect
                 Project: Freeciv
            Submitted by: imhotep
            Submitted on: Sat 09 Mar 2013 11:56:09 PM GMT
                Category: ai
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

in ai/default.aiunits.c:look_for_charge
the unemployed unit checks potential units if it is worthwhile.

One check is the move_type. This is, I suppose, to prevent a sea unit to
protect a land moving unit and vice versa. But a unit with UMT_BOTH shouldn't
be so picky as to reject an otherwise valuable unit with different move_type.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 09 Mar 2013 11:56:09 PM GMT  Name:
aiunit_look_for_charge_22446.patch  Size: 671B   By: imhotep

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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