Skip to content

Read "Whenever you cast an Aura, Equipment, or Vehicle spell" - #326

Merged
valzargaming merged 1 commit into
mainfrom
claude/card-coverage-gaps-sc84tj
Oct 19, 2026
Merged

valzargaming merged 1 commit into
mainfrom
claude/card-coverage-gaps-sc84tj

Conversation

@valzargaming

Copy link
Copy Markdown
Member

Requested by Val · project thread

Before: cast triggers that name a list of subtypes ("an Aura, Equipment, or Vehicle spell", "an Aura or Equipment spell", "a Goblin or Elf spell") were listed as unsupported.

After: they trigger when you (or an opponent, for that wording) cast a spell with any of the listed subtypes.

How: TextParser gains a branch for comma- or "or"-separated subtype lists that sets objectKind any:Aura|Equipment|Vehicle on the existing you_cast_kind / opponent_cast_kind events. Game::objectFits() matches any: against the card's subtypes. testCastAuraEquipmentOrVehicleSpell uses Edificer Lite: casting a creature draws nothing, and casting an Aura draws a card.


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FFHHk3MFEhWxdBccQvEG7C
@valzargaming
valzargaming merged commit 9781fa9 into main Oct 19, 2026
4 checks passed
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