AI casts Reprieve in response to a player's spell, which the player can cast again

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

Direzione di ricerca

Start by locating the AI logic that decides whether to cast Reprieve in response to a spell, including both FlatMC and classic AI paths. Read how those paths weigh returning a spell when the player can pay to cast it again. Reproduce the Noble Hierarch scenario from the issue, then verify the AI avoids Reprieve when the player has enough untapped Forests to recast it.

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

Descrizione

Describe the bug
AI casts Reprieve to return Noble Hierarch spell to the player’s hand, but the player has plenty of untapped lands to cast this Noble Hierarch again

To Reproduce
Steps to reproduce the behavior:

  1. Player has 5+ Forests on the battlefield
  2. Player has Noble Hierarch in hand
  3. AI has 2+ untapped Plains on the battlefield
  4. AI has Reprieve in hand
  5. Player casts Noble Hierarch
  6. AI casts Reprieve to return Noble Hierarch spell to the player’s hand
  7. Player casts Noble Hierarch again

Expected behavior
AI shouldn't cast Reprieve in response to a player's spell, which the player can cast again

Additional context
Actual for:

  • AI with FlatMC
  • AI without FlatMC

Desktop

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

Screenshots

AI with FlatMC

reprieve (flatMC)

AI without FlatMC

reprieve (classicAI)
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.