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

Aperta
#12,885 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
ai, game-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)
Lingua principale
Java
Stelle
2.7k
Fork
1.1k
Merge medio
20h 38m
PR unite (30g)
323

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Card-Forge/forge

Tutte le issue di Card-Forge/forge

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.