[ClassicAI] AI attacks the second copy of Siege while holding a legendary permanent from the same Siege

オープン
#12,885 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java
領域
ai, game-dev

調査の方向性

Reproduce with both the FlatMC and classic AI paths, then locate the AI attack-declaration logic and the implementations of Invasion of Ikoria and Zilortha, Apex of Ikoria. Compare how the AI values attacking a battle it already controls versus keeping the legendary permanent, and account for the listed similar Invasion cards. Done when the AI stops attacking its own second battle copy in the reported case and only does so under the two stated exceptions.

索引モデルが issue の本文から書いたものです。

説明

Describe the bug
AI attacks Invasion of Ikoria while controlling Zilortha, Apex of Ikoria

To Reproduce
Steps to reproduce the behavior:

  1. AI has some creatures and Invasion of Ikoria on the battlefield
  2. AI attacks Invasion of Ikoria, defeats it and casts Zilortha, Apex of Ikoria
  3. AI casts another Invasion of Ikoria
  4. AI attacks Invasion of Ikoria while controlling Zilortha, Apex of Ikoria

Expected behavior
AI should attack Invasion of Ikoria while controlling Zilortha, Apex of Ikoria only in this cases:

  • Zilortha, Apex of Ikoria can't attack or block (Pacifism, stun counters);
  • The attack won't remove all counters from Invasion of Ikoria, which will allow the AI to finish it off faster if necessary.

Additional context
Similar cards: Invasion of Fiora, Invasion of Kaladesh, Invasion of Segovia, Invasion of Theros, Invasion of Ulgrotha and Invasion of New Phyrexia.

Invasion of New Phyrexia may require a separate implementation logic, since replacing an identical planeswalker with more loyalty counters is a well-known tactic

Actual for:

  • AI with FlatMC
  • AI without FlatMC

Desktop

  • OS: Windows 10
  • Version: 2.0.16-SNAPSHOT-11.13

Screenshots

AI with FlatMC

2 battles (FlatMC AI)

AI without FlatMC

2 battles (classic AI)
主要言語
Java
スター
2.7k
フォーク
1.1k
平均マージ
20時間 38分
マージ済み PR(30日)
323

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Card-Forge/forge のほかの issue

Card-Forge/forge の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。