Skip to content

[ECL] Implement Trystan's Command - #14216

Merged
theelk801 merged 4 commits into
magefree:masterfrom
muz:ecl_trystans_command
Jan 11, 2026
Merged

[ECL] Implement Trystan's Command#14216
theelk801 merged 4 commits into
magefree:masterfrom
muz:ecl_trystans_command

Conversation

@muz

@muz muz commented Jan 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the cards label Jan 10, 2026
Comment thread Mage.Sets/src/mage/cards/t/TrystansCommand.java Outdated
}
}

class TrystansCommandEffect extends ContinuousEffectImpl {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

an easier way to do this effect is with a OneShotEffect, you can get all the creatures the targeted player controls, create a BoostTargetEffect and use FixedTargets to have it target all of them, add it with game::addEffect, call game.processAction(), and then iterate through each of the creatures and untap them


@Override
public boolean apply(Game game, Ability source) {
Player targetPlayer = game.getPlayer(source.getControllerId());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is the controller, not the targeted player


@Override
public boolean apply(Game game, Ability source) {
Player targetPlayer = game.getPlayer(source.getFirstTarget());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

you should use getTargetPointer().getFirst(game,source) in general instead of source.getFirstTarget() but especially here since it's a modal spell

@muz
muz force-pushed the ecl_trystans_command branch from efd25a2 to 087e6ad Compare January 11, 2026 01:21
@theelk801
theelk801 merged commit 03399a5 into magefree:master Jan 11, 2026
2 checks passed
@muz
muz deleted the ecl_trystans_command branch January 25, 2026 22:16
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.

2 participants