AI don't target opponent's blocking creatures with its Phelia, Exuberant Shepherd

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
ai

Research direction

Start by tracing how AI evaluates Phelia, Exuberant Shepherd's attack and triggered ability targets, using the two reproduction scenarios: Crystal Barricade blocking Phelia and Hill Giant discouraging its attack. Compare behavior with FlatMC enabled and disabled, then check whether the AI selects an opposing blocker as the target. Done means both scenarios lead the AI to use Phelia's ability appropriately.

Written by the indexing model from the issue text.

Description

Describe the bug
AI doesn't understand that it can remove blocking creatures with its Phelia, Exuberant Shepherd

To Reproduce
Steps to reproduce the behavior:

  1. AI has Phelia, Exuberant Shepherd on the battlefield
  2. Player has Crystal Barricade on the battlefield
  3. AI attacks with Phelia, Exuberant Shepherd but doesn't chose target for trigger
  4. Crystal Barricade blocks Phelia, Exuberant Shepherd

OR

  1. AI has Phelia, Exuberant Shepherd on the battlefield
  2. Player has Hill Giant on the battlefield
  3. AI doesn't attack with Phelia, Exuberant Shepherd

Expected behavior
AI should target opponent's blocking creatures with its Phelia, Exuberant Shepherd

It's a very good strategy with Containment Priest (only for opponents creatures, not for AI's; their interaction can be written down in more detail)

Additional context
Actual for:

  • AI with FlatMC
  • AI without FlatMC

Desktop

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

Screenshots

AI with FlatMC

phelia (flatMC) phelia 2 (flatMC)

AI without FlatMC

phelia (classic)
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.