チケット #45595

AI: High value for martial law defenders when no danger

登録: 2022-09-07 00:36 最終更新: 2022-11-05 07:35

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
3

詳細

military_advisor_choose_build()

When there's no danger at all, but defenders would make sense for martial law reasons, notable danger might still get assigned to the value of the defender. The check "qdanger >= our_def" assumes that qdanger > 0, which it's not when we're in this code block solely for martial law. So in the special case that both qdanger and our_def are zero, danger is considered 100%.

チケットの履歴 (6 件中 3 件表示)

2022-09-07 00:36 更新者: cazfi
  • 新しいチケット "AI: High value for martial law defenders when no danger" が作成されました
2022-10-30 13:22 更新者: cazfi
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法なし から 受領 に更新されました
  • マイルストーン(未割り当て) から 3.0.5 (完了済み) に更新されました
2022-11-05 07:35 更新者: cazfi
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする