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

Aperta
#13,037 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
backend

Direzione di ricerca

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.

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

Descrizione

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