Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up custom pay-credit effects, cold read #3

Conversation

NoahTheDuke
Copy link

You'd mentioned not liking the double levels req :effect req :effect, so I thinned it by using continue-ability and treating :custom like an :effect ability. Will make things like this much cleaner in the future too. Also, because case defaults to last place or throws an error, I felt it best to remove the :custom catch.

I also cleaned up Cold Read's implementation to setting a flag on the card instead of setting a flag on state, and cleaned up the now irrelevant test.

@lostgeek
Copy link
Owner

lostgeek commented Jun 9, 2019

Oh of course! This is way better than mine. Love it!

@lostgeek lostgeek merged commit d06167a into lostgeek:pay-credits-prompt Jun 9, 2019
@NoahTheDuke NoahTheDuke deleted the lostgeek-pay-credits-prompt branch June 9, 2019 23:21
lostgeek pushed a commit that referenced this pull request May 24, 2020
lostgeek pushed a commit that referenced this pull request Jul 29, 2023
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