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

Add card Kyuroro DM-06 #255

Merged

Conversation

DanieloV
Copy link
Contributor

@DanieloV DanieloV commented Sep 11, 2024

I think this is the last one from dm06 that needed implementing, as the rest are just reprints.

@DanieloV DanieloV changed the title Add card kyuroro dm06 Add card Kyuroro DM-06 Sep 11, 2024
@sindreslungaard sindreslungaard added the dependent on When the PR cannot yet be merged because it's dependent on another PR or change label Sep 11, 2024
@DanieloV DanieloV force-pushed the add-card-kyuroro-dm06 branch from 7ac1733 to 17ce84d Compare September 18, 2024 06:56

c.Use(fx.Creature, fx.When(fx.BreakShield, func(card *match.Card, ctx *match.Context) {

event, _ := ctx.Event.(*match.BreakShieldEvent)
Copy link
Owner

Choose a reason for hiding this comment

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

I think we should check for ok and return here if the event is of another type even though it's already being checked above in fx.breakShield just in case someone makes changes to fx.BreakShield in the future and don't know that it will cause this to panic

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, fixed.

@DanieloV DanieloV force-pushed the add-card-kyuroro-dm06 branch 2 times, most recently from 47c3adf to 4b62251 Compare September 19, 2024 07:10
@DanieloV DanieloV force-pushed the add-card-kyuroro-dm06 branch from 4b62251 to 4071548 Compare September 19, 2024 07:17
@sindreslungaard sindreslungaard merged commit 86f8aa2 into sindreslungaard:master Sep 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependent on When the PR cannot yet be merged because it's dependent on another PR or change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants