Skip to content

Migrated :candidates-determined Event#8714

Merged
NoahTheDuke merged 1 commit into
mtgred:masterfrom
Cluedrew:migrate-events
Apr 27, 2026
Merged

Migrated :candidates-determined Event#8714
NoahTheDuke merged 1 commit into
mtgred:masterfrom
Cluedrew:migrate-events

Conversation

@Cluedrew
Copy link
Copy Markdown
Contributor

I migrated the :candidates-determined event. The :hq flag is wrapped :breached-server even though it is not needed. Future proofing I guess.

I also asked about how the event functions will change when this migration is done. I simplified the context form to make sure replacing & targets with context will work. Turns out nothing actually uses the transformation (and if something does need to use it, go through target instead. So we just get to strip out some unneeded code.

Comment thread src/clj/game/macros.clj
(contains? t :value))
(:value t)
t))
context (first targets)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah i think this is a holdover from me copying the target logic over

@NoahTheDuke NoahTheDuke merged commit 0e2d194 into mtgred:master Apr 27, 2026
3 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