AI doesn't respond to effects that put creatures onto the battlefield, even when it has spells that allow it to do so

Open
#13,169 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
java
Domain
ai, game-dev

Research direction

Start by reproducing the listed battlefield state in both FlatMC and ClassicAI modes. Locate the AI decision path that handles Hallowed Moonlight, Containment Priest, and Mistcaller in response to Eladamri, Korvecdal's activated ability. Done means the AI selects an applicable spell or ability and the scenario is covered by a repeatable test.

Written by the indexing model from the issue text.

Description

Describe the bug
AI doesn't cast Hallowed Moonlight, Containment Priest or doesn't activate Mistcaller's ability in response of activated ability of player's Eladamri, Korvecdal.

To Reproduce
Steps to reproduce the behavior:

  1. AI has Hallowed Moonlight and Containment Priest in hand
  2. AI has Mistcaller and 4 untapped Plains on the battlefield
  3. Player has Eladamri, Korvecdal, 2 Noble Hierarchs and untapped Forest on the battlefield
  4. Player activates ability of Eladamri, Korvecdal
  5. AI doesn't cast Hallowed Moonlight, Containment Priest and doesn't activate Mistcaller's ability

Expected behavior
AI should respond to the effects of "put creature on the battlefield" by suitable spells or abilities

Additional context
Actual for:

  • AI with FlatMC
  • AI without FlatMC

Desktop

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

Screenshots

AI with FlatMC

containment (flatMC) containment 2 (flatMC)

AI without FlatMC

containment (ClassicAI)
Dominant language
Java
Stars
2.7k
Forks
1.1k
Avg merge
19h 28m
Merged PRs (30d)
316

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Card-Forge/forge

All issues in Card-Forge/forge

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.