Card-Forge / Card-Forge/forge

AI uses second ability of Wrenn and Six too often

Open
#4,131 3 comments 0 reactions 1 assignee Assigned to @Agetian 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 uses second ability of Wrenn and Six to damage player until it have 1 loyalty. After that AI uses the first ability once and then uses the second ability of Wrenn and Six again.

**To Reproduce**
Steps to reproduce the behavior:
1. AI casts Wrenn and Six
2. AI uses second ability of Wrenn and Six to damage player until it have 1 loyalty
3. AI uses the first ability once
4. AI uses second ability of Wrenn and Six to damage player again until it have 1 loyalty

**Expected behavior**
AI should use second ability of Wrenn and Six to kill dorks or other creatures.

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

**Screenshots**

![wrenn](https://github.com/Card-Forge/forge/assets/115870280/9169c5ca-7f09-4c37-8390-274e4d9d9986)
![wrenn2](https://github.com/Card-Forge/forge/assets/115870280/1b131d1d-a8ce-4f89-822a-7f5bd9bbf2cb)

**Additional context**
@Hanmac, @tool4ever, @Agetian, @kevlahnota, I think this is my last big review of cards related bugs. I've tested a lot of decks in the Modern format. I realize that bugs will occur, many combos won't work with AI, and there will always be cards that are very difficult to code (like Prismatic Ending or Engineered Explosives). But I think I've covered the most basic things that can be fixed. Thank you for your work and for being so prompt in fixing bugs! I can still find something from time to time, but not on the same scale as in the last few weeks

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.