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

Abierto
#12,885 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java
Área
ai, game-dev

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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)
Lenguaje dominante
Java
Estrellas
2.7k
Forks
1.1k
Merge medio
20 h 38 min
PR fusionados (30 d)
323

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Card-Forge/forge

Todos los issues de Card-Forge/forge

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.