Update SaddleTargetMountEffect and GuidelightMatrix

changed SaddleTargetMountEffect apply to pass first target
changed GuidelightMatrix to not use composite cost
This commit is contained in:
jmlundeen 2025-03-15 12:11:46 -05:00
parent b9c1bd09a8
commit 9a0cfaa5e7
2 changed files with 3 additions and 8 deletions

View file

@ -41,9 +41,8 @@ public final class GuidelightMatrix extends CardImpl {
// When this artifact enters, draw a card.
this.addAbility(new EntersBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(1)));
// {2}, {T}: Target Mount you control becomes saddled until end of turn. Activate only as a sorcery.
Ability saddledAbility = new ActivateAsSorceryActivatedAbility(new SaddleTargetMountEffect(),
new CompositeCost(new ManaCostsImpl<>("{2}"), new TapSourceCost(), "{2}, {T}")
);
Ability saddledAbility = new ActivateAsSorceryActivatedAbility(new SaddleTargetMountEffect(), new ManaCostsImpl<>("{2}"));
saddledAbility.addCost(new TapSourceCost());
saddledAbility.addTarget(new TargetPermanent(mountFilter));
this.addAbility(saddledAbility);
// {2}, {T}: Target Vehicle you control becomes an artifact creature until end of turn.

View file

@ -34,11 +34,7 @@ public class SaddleTargetMountEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
Permanent targetMount = game.getPermanent(getTargetPointer().getFirst(game, source));
if (targetMount == null || !targetMount.hasSubtype(SubType.MOUNT, game)) {
return false;
}
return SaddleAbility.applySaddle(targetMount, game);
return SaddleAbility.applySaddle(game.getPermanent(getTargetPointer().getFirst(game, source)), game);
}
}