URL:
<http://gna.org/bugs/?21064>
Summary: Default AI checks for No_Incite when bribing a unit
Project: Freeciv
Submitted by: sveinung
Submitted on: Sun 25 Aug 2013 08:34:10 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release:
_______________________________________________________
Details:
While trying to familiarize my self with the AI code I stumbled upon something
that seemed wrong. The default AI will check for No_Incite when considering if
it should try to bribe a unit or not. No_Incite is for cities.
Proposed fix attached. Check if the unit is in a city, if it has the flag
unbribable and if the effect Unbribable_Units is active.
I'm not familiar with this area of the code so please be extremely skeptical
when reviewing this.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 25 Aug 2013 08:34:10 PM GMT Name: aiInitIsNotIncite.patch Size:
666B By: sveinung
<http://gna.org/bugs/download.php?file_id=18763>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21064>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev