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

[MKM] Implement Intrude on the Mind #11825

Merged
merged 3 commits into from
Feb 23, 2024

Conversation

DominionSpy
Copy link
Contributor

import mage.constants.CardType;
import mage.constants.SubType;

public class ThopterColorlessToken2 extends TokenImpl {
Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer something more descriptive than tacking on a number, maybe "Thopter00ColorlessToken" ? Not critical

if (opponent != null) {
game.informPlayers(controller.getLogName() + " chose " + opponent.getLogName() + " to choose the piles");
} else {
game.informPlayers(controller.getLogName() + " chose nothing" + " to choose the piles");
Copy link
Contributor

Choose a reason for hiding this comment

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

(idk why bother with info message on failed choice, shouldn't happen in normal usage)

Copy link
Contributor

Choose a reason for hiding this comment

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

ah you still need to null check it though

staticText = "Reveal the top five cards of your library and separate them into two piles. " +
"An opponent chooses one of those piles. Put that pile into your hand and the other into your graveyard. " +
"Create a 0/0 colorless Thopter artifact creature token with flying, " +
"then put a +1/+1 counter on it for each card put into your graveyard this way.";
Copy link
Contributor

Choose a reason for hiding this comment

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

Wow cards these days have so much text. It's unfortunate this has to duplicate logic from the existing class but given the constraints this custom class does seem to be the way to go.

@xenohedron xenohedron merged commit 00deb7a into magefree:master Feb 23, 2024
3 checks passed
@DominionSpy DominionSpy deleted the intrude-on-the-mind branch February 26, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants