AI taps every land to pay for Forcefield activation

Abierto
#12,970 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
57/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java
Área
ai, game-dev

Línea de trabajo

Start by tracing how the AI chooses mana to pay for Forcefield's activated ability when an unblocked creature deals damage; the issue does not name the relevant source file or test. Reproduce the attack with Forcefield in play and check whether payment taps only one land. The fix is done when the AI pays the required one mana without tapping its other available lands.

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

Descripción

Describe the bug
"Forcefield" is on the battlefield under the AI control. When my creature deals damage to the opponent, the AI will use all available mana to pay for the activated effect of "Forcefield" even though it only needs to pay 1.

To Reproduce
Steps to reproduce the behavior:

  1. AI has Forcefield in play
  2. Attack opponent with unblocked creature

Expected behavior
The AI taps 1 land to pay the 1 for the activated effect

Screenshots

Screenshot_20261119_233654

Desktop (please complete the following information):

  • OS: Linux
  • Version 2.0.17

Additional context
Playing Sealed Limited Edition Beta

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.