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

ZCC of MDFCs aren't being incremented correctly #10478

Open
xenohedron opened this issue Jun 17, 2023 · 0 comments · May be fixed by #12186
Open

ZCC of MDFCs aren't being incremented correctly #10478

xenohedron opened this issue Jun 17, 2023 · 0 comments · May be fixed by #12186
Labels
bug Bugs and errors

Comments

@xenohedron
Copy link
Contributor

Continuing investigation to the root cause of #9782, while it can be temporarily fixed with a workaround.

I wrote some unit tests and debugged the zone change counter comparison between a modal double faced card and its associated permanent. See 692ec89 for details.

Normally a card that is put into a graveyard from the battlefield will have a zcc one greater than that of the permanent on the battlefield. For MDFC this is not the case. In both the simple cases of (hand -> battlefield -> graveyard) and (hand -> stack -> battlefield -> graveyard) the zcc is missing two increments. This discrepancy will compound if the card is moved around zones further.

I looked at the override in ModalDoubleFacedCard and didn't see any apparent error:
image

Not sure where to go from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs and errors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant