Card-Forge / Card-Forge/forge

AI doesn't use ability of Elvish Piper if it can cast creature

Open
#4,430 0 comments 0 reactions 1 assignee Claimed by @Agetian 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 doesn't use ability of Elvish Piper if it can cast creature for mana. So it can't cast other spells.

**To Reproduce**
Steps to reproduce the behavior:
1. AI has 5 lands and Elvish Piper on the battlefield
2. AI has Baneslayer Angel and cheap creatures in hand
3. AI casts Baneslayer Angel for mana.

**Expected behavior**
AI should use ability of Elvish Piper to put creature with cmc 2+ onto the battlefield even if it can cast this creature for mana.

**Additional context**
Same for Monster Manual (for creatures with 3+ cmc) and Quicksilver Amulet (for creatures with 4+ cmc)

**Desktop**
OS: Windows 10
Java Version: 1.8.0_202-b08
Forge Version: 1.6.60-SNAPSHOT-12.23

**Screenshots**

![piper](https://github.com/Card-Forge/forge/assets/115870280/fe0b11a4-235e-459d-b0a1-26d53c7b1f5b)
![piper2](https://github.com/Card-Forge/forge/assets/115870280/f4937156-4c19-413f-9f7f-285519e91f0b)

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.