URL: <http://gna.org/patch/?3960>
Summary: Remove multiplication by 3 from base_assess_defense_unit() Project: Freeciv Submitted by: cazfi Submitted on: Wed 26 Jun 2013 03:28:30 PM EEST Category: ai Priority: 5 - Normal Status: In Progress Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: _______________________________________________________ Details: There's defense value multiplication by three in base_assess_defense_unit() with no clue what it tries to represent. It's next to some code handling city walls, and (previously hardcoded) defense bonus from city walls was that it multiplied defense by 3. However, current multiplication happens unconditionally (no matter if walls are present or if attacker is subject to them) and walls are handled separately anyway. It could also be magic balancing value, but in that case it's very much broken nowadays. At the same time AI considers its defense strength way too high in comparison to dangers - when it has single warrior defending and there's 5 archers approaching, it sees no need to add to its defenses. _______________________________________________________ Reply to this item at: <http://gna.org/patch/?3960> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev