Skip to content

Conversation

@ThorstenHacke
Copy link
Contributor

fixes first issue mentioned in #13324

@github-actions github-actions bot added the cards label Jul 2, 2025
@ThorstenHacke
Copy link
Contributor Author

Can this be merged?


// When Parallax Nexus leaves the battlefield, each player returns to their hand all cards they own exiled with Parallax Nexus.
this.addAbility(new LeavesBattlefieldTriggeredAbility(new ReturnFromExileEffect(Zone.HAND).setText("each player returns to their hand all cards they own exiled with {this}"), false));
this.addAbility(new LeavesBattlefieldTriggeredAbility(new ReturnFromExileForSourceEffect(Zone.HAND).setText("each player returns to their hand all cards they own exiled with {this}"), false));
Copy link
Member

Choose a reason for hiding this comment

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

Must be carefully checked for blinked permanent (must not see exiled cards after blink, but must see new cards).

IMG_1769

Copy link
Contributor

Choose a reason for hiding this comment

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

It seems to me like ReturnFromExileForSourceEffect and ReturnFromExileEffect are almost identical, with the main difference being the former allowing for the use of the permanentLeftBattlefield value to account for it being in a LeavesBattlefieldTriggeredAbility. There is potential for a refactor to combine the two, but that'd be something separate.

However, I do agree that it would be good to add a test or two for this to make sure a similar bug doesn't happen again.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are some other issues with exile I'm currently trying to understand.
e.g. #13900
Maybe a refactoring of the mechanic is indeed a good solution to clean it up.

@JayDi85 JayDi85 changed the title return cards from exile fixed Fixed Parallax Nexus - when finish cards not come back to opponent hand Aug 8, 2025
@xenohedron
Copy link
Contributor

see #13345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants