Card-Forge / Card-Forge/forge

AI attacks player with protection from creatures

Open
#4,264 3 comments 0 reactions 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)
163

Description

**Describe the bug**
AI attacks player with protection from creatures by Serra Emissary. It gets effect only from one attacking creature (Territorial Kavu), not from others.

**To Reproduce**
Steps to reproduce the behavior:
1. AI has Territorial Kavu, Wild Nacatl, Orcish Bowmasters and Orc Army token
2. Player has Serra Emissary with protection from creatures
3. AI attacks player with it's creatures

**Expected behavior**
AI shouldn't attack player with protection from creatures or should attack with creature that give some effect by attacking (if player hasn't bigger blockers/blockers with protection from creatures).

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

**Screenshots**

![serra](https://github.com/Card-Forge/forge/assets/115870280/f2ff44d0-1200-4db2-8738-2c9bd4f75710)

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.