URL: <http://gna.org/bugs/?16813>
Summary: AI love not edged towards zero each turn Project: Freeciv Submitted by: None Submitted on: Sunday 10/03/10 at 19:07 CEST Category: ai Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: jkhemm...@jkhemming.co.uk Open/Closed: Open Release: 2.2.3 Discussion Lock: Any Operating System: GNU/Linux Planned Release: _______________________________________________________ Details: In advdiplomacy.c, AI love is supposed to be reduced or increased towards zero each turn to prevent it from reaching the extreme ends of -1000 (genocidal) or 1000 (worshipful) and basically getting stuck there. A bug in this line stops it from working. This patch fixes the line, and also adds an additional adjustment so that negative love is recovered faster than positive love is reduced, to further prevent the AI from tending too far towards the genocidal end of things. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sunday 10/03/10 at 19:07 CEST Name: ai_love.diff Size: 767B By: None <http://gna.org/bugs/download.php?file_id=10597> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?16813> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev