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

Aperta
#13,028 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
ai, game-dev

Direzione di ricerca

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.

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

Descrizione

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