Follow-up Comment #1, patch #3185 (project wesnoth):
So, after speaking with Crab_ on IRC, I tested the patch on Showdown (from the
Northern Rebirth campaign).
Checking for the attacker's location don't seem to be a good idea in the end,
the AI turn duration increased by a bit less than 13% (calculated by taking
the mean of five executions (7 AI sides) with and without considering the
attacker's location).
So I modified the call to get_time_of_day (which now, no more consider the
unit location) and I refactored ai::testing_ai_default::aspect_attacks a bit.
(file #15495)
_______________________________________________________
Additional Item Attachment:
File name: power_projection improvement 2.patch Size:10 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3185>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs