Card-Forge / Card-Forge/forge

AI activates abilities of Assault Formation/Giver of Runes before combat and doesn't attack

Open
#4,373 0 comments 1 reaction 1 assignee Assigned to @Agetian View on GitHub
AI Game Mechanics keep
Dominant language
Java
Stars
2.7k
Forks
1.1k
Avg merge
1d 1h
Merged PRs (30d)
158

Description

**Describe the bug**
AI activates abilities of these cards before combat and doesn't attack:

- [ ] Assault Formation (second ability)
- [ ] Giver of Runes (when AI has two of them)

**To Reproduce**
Steps to reproduce the behavior:
1. AI has Doran, the Siege Tower, Spellskite and Assault Formation
2. AI activates last ability of Assault Formation before combat
3. AI doesn't attack

AND

1. AI casts two Giver of Runes
2. AI uses ability of Giver of Runes on another Giver of Runes.
3. AI doesn't attacking with second Giver of Runes

**Expected behavior**
AI should activate these abilities if it really would attack

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

**Screenshots**

![assault](https://github.com/Card-Forge/forge/assets/115870280/72bd5fa1-21be-4aa9-8184-fddfaa3b5dec)
![assault](https://github.com/Card-Forge/forge/assets/115870280/3d14d9b8-5a1e-4cb6-be82-04ca3f2207bd)
![giver](https://github.com/Card-Forge/forge/assets/115870280/d74530ba-1c38-4e15-b77d-f6611e4028ac)
![giver1](https://github.com/user-attachments/assets/212739ee-5a1a-4849-8abf-bd8b6cec881d)
![giver2](https://github.com/user-attachments/assets/e5aa86a6-9e05-4542-b4a4-5f9bdbebf55b)

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.