Card-Forge / Card-Forge/forge

AI casts Angel's Grace for non-lethal damage

Open
#4,325 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)
158

Description

**Describe the bug**
AI casts Angel's Grace for damage that doesn't drop its lifes to 0.

**To Reproduce**
Steps to reproduce the behavior:
1. AI has Angel's Grace in hands
2. AI has 5 lifes
3. Player has 1 Noble Hierarch
4. Player attacks with Noble Hierarch
5. AI casts Angel's Grace

**Expected behavior**
AI shouldn't cast Angel's Grace for damage that doesn't drop its lifes to 0.

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

**Screenshots**

![grace](https://github.com/Card-Forge/forge/assets/115870280/8f8d80c0-d4a6-45ab-a856-e0441e233719)

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.