Card-Forge / Card-Forge/forge

AI chooses a single target with a higher cmc for two different Pithing Needles

Open
#5,896 2 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 casts the first Pithing Needle and chooses one target with a larger cmc. Then AI casts the second Pithing Needle and chooses the same target.

**To Reproduce**
Steps to reproduce the behavior:
1. Player has Spellskite, Agatha's Soul Cauldron and Shalai, Voice of Plenty
2. I casts its first Pithing Needle and chooses Shalai, Voice of Plenty
3. I casts its second Pithing Needle and chooses Shalai, Voice of Plenty again

**Expected behavior**
1. AI should choose different targets for different Pithing Needle
2. AI should targets cards with more dangerous abilities at first

**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**

![needle1](https://github.com/user-attachments/assets/de6de393-f48a-431b-ab64-db7dfaddf62b)
![needle2](https://github.com/user-attachments/assets/0c3b2717-9671-486f-90cd-6a9b1e7a1829)

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.