[OTJ] Cleanup a few new cards

This commit is contained in:
Susucre 2024-04-02 11:16:51 +02:00
parent fd83fbb600
commit 6f6cf5435d
3 changed files with 4 additions and 7 deletions

View file

@ -49,7 +49,7 @@ public final class ClaimJumper extends CardImpl {
true
),
new OpponentControlsMoreCondition(StaticFilters.FILTER_LANDS),
"When Claim Jumper enters the battlefield, if an opponent controls more lands than you, "
"When {this} enters the battlefield, if an opponent controls more lands than you, "
+ "you may search your library for a Plains card and put it onto the battlefield tapped. "
+ "Then if an opponent controls more lands than you, repeat this process once. "
+ "If you search your library this way, shuffle."

View file

@ -79,7 +79,7 @@ class StubbornBurrowFiendWatcher extends Watcher {
saddledCount.compute(new MageObjectReference(event.getTargetId(), game), CardUtil::setOrIncrementValue);
}
public Integer timesSaddledThisTurn(MageObjectReference mor) {
public int timesSaddledThisTurn(MageObjectReference mor) {
return saddledCount.getOrDefault(mor, 0);
}

View file

@ -92,13 +92,10 @@ class VraskaTheSilencerEffect extends OneShotEffect {
if (card == null) {
return false;
}
// Need to pre-emptively apply the continuous effect before moving the card.
// It is discarded if the move doesn't happen.
// Apply the continuous effect before moving the card to have the proper types on entering.
ContinuousEffect continuousEffect = new VraskaTheSilencerContinuousEffect(new MageObjectReference(card, game, 1));
game.addEffect(continuousEffect, source);
if (!controller.moveCards(card, Zone.BATTLEFIELD, source, game, true, false, false, null)) {
continuousEffect.discard();
}
controller.moveCards(card, Zone.BATTLEFIELD, source, game, true, false, false, null);
return true;
}
}