AI taps every land to pay for Forcefield activation

Aperta
#12,970 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
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
ai, game-dev

Direzione di ricerca

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.

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

Descrizione

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

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.