Card-Forge / Card-Forge/forge

AI equips Adventuring Gear after playing a Land

Open
#6,608 2 comments 1 reaction 2 assignees Claimed by @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 doesn't equip Adventuring Gear to a creature that is eligible to attack until after playing a Land. The +2/+2 Landfall effect from Adventuring Gear is lost since the creature was not equipped when the Land entered play. The AI would've had an advantage in combat given the board state if they had equipped Adventuring Gear before playing the Land instead of after.

**To Reproduce**
Steps to reproduce the behavior:
1. AI has not played a Land yet this turn, has a Land in hand, has Adventuring Gear in play during Main Phase 1, a creature that can attack this turn, Adventuring Gear is unequipped, and AI has enough mana to equip it to the creature.
2. AI plays a Land. Adventuring Gear triggers without being equipped.
3. +2/+2 Landfall effect from Adventuring Gear resolves without benefitting any creature.

**Expected behavior**
AI should equip Adventuring Gear to the creature that is eligible to attack this turn prior to playing their Land.

**Screenshots**
Turn 5 (Zachary) in the log
![image](https://github.com/user-attachments/assets/87648a11-8501-472e-957e-ac4e81d0e98c)

**Desktop**
- OS: Windows 10
- Java version: OpenJDK Runtime Environment Temurin-21.0.3+9
- Forge Version: 2.0.00-SNAPSHOT-11.18

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.