magefree / magefree/mage

Refactor: make a common trigger for 'Whenever you cast your first [FILTER] spell (each turn/during each opponent’s turn),'

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

Description

https://scryfall.com/search?q=o%3A%22whenever+you+cast+your+first%22

I think most of those could be refactored with a shared trigger using `SpellsCastWatcher` to check that the cast spell is the first matching a filter.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Scryfall search results and locating the existing SpellsCastWatcher implementation. Compare the matching card triggers to determine which behavior can share a common trigger, including the per-turn and opponent-turn distinctions. Done means the applicable triggers use the shared implementation and existing behavior remains covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.