Card-Forge / Card-Forge/forge

AI cascades to Living End and casts Living End when it has a lot of creatures on the battlefield

Open
#4,389 3 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 spell with cascade again, cascades to Living End and choose to cast it when AI has a lot of creatures on the battlefield. So it kills its own creatures and returns me my good creatures.

**To Reproduce**
Steps to reproduce the behavior:
1. AI casts Violent Outburst/Shardless Agent and cascades to Living End
2. AI has Violent Outburst in hand and a lot of creatures on the battlefield
3. AI casts Violent Outburst to cascade to Living End again
4. AI chooses to cast Living End

**Expected behavior**
AI shouldn't cast spell with cascade again and cascade to Living End when it has a lot of creatures on the battlefield. Or AI should choose not to cast Living End when it has a lot of creatures on the battlefield.

**Desktop**
OS: Windows 10
Java Version: 1.8.0_202-b08
Forge Version: from 1.6.60-SNAPSHOT-12.15 to 1.6.60-SNAPSHOT-02.03

**Screenshots**

![living1](https://github.com/Card-Forge/forge/assets/115870280/b0040b5f-7095-437a-9c8f-aa4a1e3616f9)
![living2](https://github.com/Card-Forge/forge/assets/115870280/1511801a-4bfb-4d38-b9aa-5bb64f7ccf4c)

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.