Card-Forge / Card-Forge/forge

AI casts Lightning Bolt and similar spells and target a creature that is unkillable by them

Open
#3,994 8 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)
158

Description

**Describe the bug**
AI casts Lightning Bolt and similar spells and target creatures like Shalai, Voice of Plenty even if it can't kill her with this spell

**To Reproduce**
Steps to reproduce the behavior:
1. Player casts Shalai, Voice of Plenty
2. AI casts his single Lightning Bolt and target Shalai, Voice of Plenty
3. AI pass the turn

**Expected behavior**
AI shouldn't cast Lightning Bolt and similar spells to target creatures it can't kill with other spells this turn.

**Desktop**
OS: Windows 10
Java Version: 1.8.0_202-b08
Forge Version: 1.6.59-SNAPSHOT-10.26

**Screenshots**

![bolt](https://github.com/Card-Forge/forge/assets/115870280/f64a2669-896b-4977-8649-3715347612da)

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.