magefree / magefree/mage

AI ignore playerMustBeAttackedIfAble restriction (Trove of Temptation)

Open
#6,911 0 comments 0 reactions 0 assignees View on GitHub
AI bug
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

From #4496 discussion.

[Trove of Temptation](https://scryfall.com/card/xln/171/trove-of-temptation)
> Each opponent must attack you or a planeswalker you control with at least one creature each combat if able.

AI problem related to `getApplicableRequirementEffects` -- computer code don't support `playerMustBeAttackedIfAble` restriction. Only one card uses that restriction.

Test for that bug: `AttackAndBlockByAITest.test_ForceAttack_1_small_vs_1_big_b`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.