Card-Forge / Card-Forge/forge

AI doesn't use cards like Undying Malice

Open
#6,697 0 comments 0 reactions 1 assignee Assigned to @Agetian View on GitHub
AI keep
Dominant language
Java
Stars
2.7k
Forks
1.1k
Avg merge
1d 1h
Merged PRs (30d)
158

Description

**Describe the bug**
The AI does not seem to use cards like Undying Malice or Not Dead After All that give a creature "when this die this turn reanimate it" to protect creatures that would die in combat or to kill spells.

**To Reproduce**
Steps to reproduce the behavior:
1. AI has one of the affected cards in hand, mana to cast it, and a creature on board.
2. Threaten to destroy that creature (blocking, kill spell, board wipe)
3. AI does not react.

**Expected behavior**
AI should cast the spell on its creature so that it comes back from being destroyed.

**Desktop:**
- OS: Windows 10
- Version 2.0.00

**Additional context**
AI seems to have no problem doing that with indestructible pump spells (like Battle-Rage Blessing) in each of those 3 cases (blocking/blocked, targeted kill spell, board wipe).

There might be some other cases to consider, like not doing that on creatures that already have persist/undying, or doing it in response to a sacrifice so they can blank it, but at least the "pseudo indestructible" targeting would be a good enough use.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.