(PR#10110) AI underestimates Temples
"Mateusz Stefek" <mstefek-IjDXvh/[email protected]>
| Newsgroups | gmane.games.freeciv.ai |
|---|---|
| Message-ID | <[email protected]> |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10110 >
This evaluation seems to work correctly:
case EFT_MAKE_CONTENT:
if (!government_has_flag(gov, G_NO_UNHAPPY_CITIZENS)) {
int a = MIN(pcity->ppl_unhappy[4] +
pcity->specialists[SP_ELVIS], amount);
v += a * a * 2;
v += amount * c;
}
Another problem is that AI doesn't reassign workers when it finish
building an improvement (This is a serious bug).
--
mateusz