[Freeciv-Dev] Re: (PR#15249) Aggressive AI Could Fight Itself to Obsolen
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15249 >
Benedict Adamson wrote:
> Now, consider an aggressive (that is, on a war-footing) AI Democracy
> which, because of careful previous budgeting or city improvements, does
> not NEED any taxes or luxuries. The tax rate would be computed as 0% and
> science as 100%, but then the code fragment above would swap them
> around. The next turn, the AI would have even more cash in hand, and
> thus even less reason to have a positive tax rate... but the fragment
> would still set the tax rate to 100% and science to 0%.
A related problem is that the tax rate does not depend on the amount of
cash in hand. If the AI has plenty of cash, it can select a lower tax
rate. There should be negative feedback between the cash in hand and the
tax rate, so the amount of spare cash does not grow without limit.