Card-Forge / Card-Forge/forge

AI doesn't cast Calibrated Blast if the player gets hexproof/shroud from his creature

Open
#5,940 1 comment 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 doesn't cast Calibrated Blast if the player gets hexproof/shroud from his creature, although the AI can kill that creature with Calibrated Blast and thus deprive the player of its hexproof/shroud.

**To Reproduce**
Steps to reproduce the behavior:
1. Player has Metropolis Reformer/Shalai, Voice of Plenty on the battlefield.
2. AI has 3+ Mountains on the battlefield and Calibrated Blast in hands.
3. AI doesn't cast Calibrated Blast

**Expected behavior**
AI should cast Calibrated Blast if the player gets hexproof/shroud from his creature to kill this creature.

**Additional context**
There are only 7 creatures that give hexproof to a player: Aegis of the Gods, Enduring Angel, Keen-Eared Sentry, Metropolis Reformer, Shalai, Voice of Plenty, Sigarda, Heron's Grace and Spirit of the Hearth. And only 1 creature that give shroud to a player - True Believer.

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

**Screenshots**

![Calib](https://github.com/user-attachments/assets/fdf5a468-45f0-4f64-9abd-06572638ca6b)
![calib3](https://github.com/user-attachments/assets/e8abc301-1af0-408e-80f9-6b7bc7a48514)

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.