Card fixes: MuYanlingCelestialWind "up to" target, RampagingGrowthEffect trying to put player onto battlefield instead of card

This commit is contained in:
Steven Knipe 2025-10-12 20:14:23 -07:00
parent 8a3c6e1523
commit e8c8b72a07
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ public final class MuYanlingCelestialWind extends CardImpl {
Ability ability = new LoyaltyAbility(new BoostTargetEffect( Ability ability = new LoyaltyAbility(new BoostTargetEffect(
-5, 0, Duration.UntilYourNextTurn -5, 0, Duration.UntilYourNextTurn
).setText("Until your next turn, up to one target creature gets -5/-0."), 1); ).setText("Until your next turn, up to one target creature gets -5/-0."), 1);
ability.addTarget(new TargetCreaturePermanent()); ability.addTarget(new TargetCreaturePermanent(0, 1));
this.addAbility(ability); this.addAbility(ability);
// 3: Return up to two target creatures to their owners' hands. // 3: Return up to two target creatures to their owners' hands.

View file

@ -67,7 +67,7 @@ class RampagingGrowthEffect extends OneShotEffect {
} }
TargetCardInLibrary target = new TargetCardInLibrary(StaticFilters.FILTER_CARD_BASIC_LAND_A); TargetCardInLibrary target = new TargetCardInLibrary(StaticFilters.FILTER_CARD_BASIC_LAND_A);
player.searchLibrary(target, source, game); player.searchLibrary(target, source, game);
Card card = player.getLibrary().getCard(target.getTargetController(), game); Card card = player.getLibrary().getCard(target.getFirstTarget(), game);
if (card == null) { if (card == null) {
player.shuffleLibrary(source, game); player.shuffleLibrary(source, game);
return true; return true;