AI first selects the card with the highest mana value from the opponent's list of key cards to be exiled by Thought-Knot Seer

Abierto
#13,037 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
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java
Área
backend

Línea de trabajo

The AI's choice for Thought-Knot Seer's exile is made in the card-script AI logic for that card, so start by finding its script and the AI logic that picks a card from the opponent's hand and key-card list. Reproduce with the steps in the issue: the AI should pick the first listed key card that is in hand, skipping cards already in play. Done means the AI picks Serra's Emissary in the given example rather than Iona, with the mana-value selection path no longer deciding the choice.

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

Descripción

Describe the bug
AI casts Thought-Knot Seer, targets a player, and selects a key card based on its mana value rather than the order in which cards appear on the list

To Reproduce
Steps to reproduce the behavior:

  1. Player's deck has the following list of key cards: Eladamri, Korvecdal;Serra's Emissary;Iona, Shield of Emeria;Champion of Rhonas
  2. Player has Eladamri, Korvecdal, Serra's Emissary and Iona, Shield of Emeria in hand
  3. AI casts Thought-Knot Seer, targets a player and chooses Iona, Shield of Emeria

Expected behavior
When the AI casts Thought-Knot Seer, it should select a card from the opponent's hand by following the order of cards in the opponent's list of key cards, starting with the first one. If a card is already in play, it should skip that card and move to the next one.

Additional context
Actual for:

  • AI with FlatMC
  • AI without FlatMC

Desktop

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

Screenshots

seer
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.