Card-Forge / Card-Forge/forge

AI casts Surgical Extraction and chooses the most expensive card from both graveyards

Open
#5,892 11 comments 0 reactions 1 assignee Claimed by @Agetian View on GitHub
AI Game Mechanics keep
Dominant language
Java
Stars
2.7k
Forks
1.1k
Avg merge
1d 1h
Merged PRs (30d)
158

Description

**Describe the bug**
AI casts Surgical Extraction and chooses the card with the largest cmc from both graveyards, including its own

**To Reproduce**
Steps to reproduce the behavior:
1. AI casts Archive Trap
2. After that, AI casts Surgical Extraction and chooses its own Archive Trap

**Expected behavior**
1. AI should choose card only from opponent's graveyard
2. AI should choose card which opponent could cast

**Additional context**
Similar with #4282

**Desktop**
OS: Windows 10
Java Version: 1.8.0_202-b08
Forge Version: 1.6.64-SNAPSHOT-08.04

**Screenshots**

![ssss](https://github.com/user-attachments/assets/c082cf85-4b37-47ca-972d-331623e33044)
![ssss2](https://github.com/user-attachments/assets/99cb7f81-5478-4836-ae7d-9bf5c317fe68)
![surg](https://github.com/user-attachments/assets/24030011-67b4-4787-baad-dd9dd35ad400)
![Trap](https://github.com/user-attachments/assets/7748a49e-53ae-45a1-a282-be18364352b2)
![Trap2](https://github.com/user-attachments/assets/8a501cd4-e83c-4187-8d3e-75ccbc98b30c)
![Trap3](https://github.com/user-attachments/assets/1bca77cc-3bee-4a75-bcbe-a6c7fb285628)

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.