Card-Forge / Card-Forge/forge

AI casts noncreature spells after combat with "prowess" creatures on the battlefield

Open
#6,617 0 comments 0 reactions 0 assignees View on GitHub
AI keep
Dominant language
Java
Stars
2.7k
Forks
1.1k
Avg merge
1d 1h
Merged PRs (30d)
163

Description

**Describe the bug**
AI has creatures with prowess on the battlefield. And it casts noncreature spells after combat, not before. AI doesn't take Prowess into account and doesn't benefit from it.

**To Reproduce**
Steps to reproduce the behavior:
1. AI casts Monastery Swiftspear
2. AI has 3 untapped lands
3. AI attacks with Monastery Swiftspear
4. In the second phase AI casts Lava Spike

**Expected behavior**
AI should cast noncreature spells before combat if it has "prowess" creatures on the battlefield.

**Desktop**
OS: Windows 10
Java Version: JDK 17.0.13
Forge Version: 2.0.00-SNAPSHOT-11.20

**Screenshots**

![prowess](https://github.com/user-attachments/assets/bff07f32-c151-4c01-b9f3-2528d25984cb)

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.