[ClassicAI] AI attacks with creature with zero power without "creature assigns combat damage equal to its toughness"

Abierto
#13,028 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
ai, game-dev

Línea de trabajo

The bug is in the classic (non-FlatMC) AI's attack decision, so start by finding where it chooses attackers and check how it treats creatures with zero power. Reproduce with Spellskite on the battlefield, then Ragavan or Doran, the Siege Tower to compare, since the issue says the AI should only attack with a zero-power creature when a toughness-based damage effect is present. Done when the classic AI no longer declares a zero-power attacker without such an effect, and the FlatMC behaviour stays the same.

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

Descripción

Describe the bug
AI attacks player with some creatures, one of them - Spellskite with zero power. It doesn't make sense without cards like Doran, the Siege Tower

To Reproduce
Steps to reproduce the behavior:

  1. AI attacks with Ragavan, Nimble Pilferer, creates a Treasure token and casts exiled opponent's Spellskite
  2. Later AI attacks with some creatures, one of them - Spellskite

Expected behavior
AI shouldn't attack with creatures with zero power without "creature assigns combat damage equal to its toughness" effect

Additional context
Actual for AI without FlatMC

Desktop

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

Screenshots

AI without FlatMC

spellsc class

AI with FlatMC (good)

spellsc flatmc
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.