Complete.Org: Mailing Lists: Archives: freeciv-ai: September 2004:
[freeciv-ai] (PR#10110) AI underestimates Temples

[freeciv-ai] (PR#10110) AI underestimates Temples

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [freeciv-ai] (PR#10110) AI underestimates Temples
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Thu, 16 Sep 2004 04:31:44 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: >

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).

[Prev in Thread] Current Thread [Next in Thread]