Skip to content

Read "As long as CARDNAME is enchanted (equipped)" - #327

Open
valzargaming wants to merge 1 commit into
mainfrom
claude/card-coverage-gaps-sc84tj
Open

valzargaming wants to merge 1 commit into
mainfrom
claude/card-coverage-gaps-sc84tj

Conversation

@valzargaming

Copy link
Copy Markdown
Member

Requested by Val · project thread

Before: "As long as CARDNAME is enchanted, it gets +2/+2" and "As long as CARDNAME is equipped, it has first strike" were listed as unsupported, along with the trailing form "… as long as it's equipped".

After: the bonus or keyword applies while at least one Aura (or Equipment) is attached to the creature.

How: TextParser::staticCondition() maps "it's enchanted" and "it's equipped" to the enchanted and equipped conditions. Game::conditionMet() checks the creature's attachments for that subtype. Nothing reads power. testAsLongAsEnchantedOrEquipped attaches an Aura to one fixture and an Equipment to another, and checks the bonus and first strike.


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FFHHk3MFEhWxdBccQvEG7C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants