Ticket #43392

AI: AI can't change government when revolentype "Quickening" in use

Eröffnet am: 2021-12-12 11:23 Letztes Update: 2021-12-16 19:13

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
2

Details

In handle_player_change_government() anarchy is usually true for all players, and turns is zero for AI players. Turns is zero also for human players when anarchy has just ended the same turn. The check against multiple government changes at the same turn in case of "Quickening" (and also "RandQuick" once #43334 lands) assumes that turns value zero means that revolution has just ended. So any government change attempt from AI player is taken as an attempt of multiple changes, and prevented.

Ticket-Verlauf (3/6 Historien)

2021-12-12 11:23 Aktualisiert von: cazfi
  • New Ticket "AI: AI can't change government when revolentype "Quickening" in use" created
2021-12-12 11:34 Aktualisiert von: cazfi
  • Lösung Update from Keine to Accepted
2021-12-12 12:23 Aktualisiert von: cazfi
Kommentar

Also S2_6 version attached. I plan to push it despite there being no plans to make further 2.6 releases.

2021-12-16 19:13 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden