[ClassicAI] AI attacks with creature with zero power without "creature assigns combat damage equal to its toughness"
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
The bug is in the classic (non-FlatMC) AI's attack decision, so start by finding where it chooses attackers and check how it treats creatures with zero power. Reproduce with Spellskite on the battlefield, then Ragavan or Doran, the Siege Tower to compare, since the issue says the AI should only attack with a zero-power creature when a toughness-based damage effect is present. Done when the classic AI no longer declares a zero-power attacker without such an effect, and the FlatMC behaviour stays the same.
Written by the indexing model from the issue text.
Description
Describe the bug
AI attacks player with some creatures, one of them - Spellskite with zero power. It doesn't make sense without cards like Doran, the Siege Tower
To Reproduce
Steps to reproduce the behavior:
- AI attacks with Ragavan, Nimble Pilferer, creates a Treasure token and casts exiled opponent's Spellskite
- Later AI attacks with some creatures, one of them - Spellskite
Expected behavior
AI shouldn't attack with creatures with zero power without "creature assigns combat damage equal to its toughness" effect
Additional context
Actual for AI without FlatMC
Desktop
- OS: Windows 10
- Version: 2.0.16-SNAPSHOT-11.22
Screenshots
AI without FlatMC
AI with FlatMC (good)
- Dominant language
- Java
- Stars
- 2.7k
- Forks
- 1.1k
- Avg merge
- 19h 28m
- Merged PRs (30d)
- 316
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Card-Forge/forge
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Card-Forge/forge#13173 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Card-Forge/forge#13092 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Card-Forge/forge#12877 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Card-Forge/forge#12710 ·
Maintainers usually reply within 1 day
-
Shandalar "The Drunken Plea" quest completes prematurelyMay be free again @Simisays claimed this 37 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Card-Forge/forge#12306 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in Card-Forge/forge
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
HexaHexes/neoforge-mod-template#124 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
OpenLiberty/open-liberty#36410 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
erkamyaman/rust-anything#1153 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day