Card-Forge / Card-Forge/forge

AI doesn't attack with creatures with trample if it has a few lifes

Open
#4,360 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 doesn't attack with creatures with trample if it has a few lives even if it wins by attacking

**To Reproduce**
Steps to reproduce the behavior:
1. AI has 2 Oliphaunt, Street Wraith and Shardless Agent
2. AI has 4 lifes
3. Player has Fauna Shaman, Sakura-Tribe Elder, Elvish Piper, Noble Hierarch, all lands tapped
4. Player has 8 lifes
5. AI doesn't attack

**Expected behavior**
AI should attack with creatures with trample if it has a few lives if it wins by attacking

**Additional context**
@Hanmac, @Agetian, I hope this really is the last wave of requests :-)

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

**Screenshots**

![trample](https://github.com/Card-Forge/forge/assets/115870280/147553de-c5ef-49d8-82c7-a86e131859fa)

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.