Skip to content

Commit

Permalink
fix #13215 (Urza's Avenger, regression from #12619)
Browse files Browse the repository at this point in the history
  • Loading branch information
xenohedron committed Jan 9, 2025
1 parent 9c5c394 commit 8772190
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Mage.Sets/src/mage/cards/u/UrzasAvenger.java
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@

package mage.cards.u;

import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.GainsChoiceOfAbilitiesEffect;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.abilities.keyword.BandingAbility;
import mage.abilities.keyword.FirstStrikeAbility;
import mage.abilities.keyword.FlyingAbility;
import mage.abilities.keyword.TrampleAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;

import java.util.UUID;

/**
*
* @author Styxo & L_J
*/
public final class UrzasAvenger extends CardImpl {
Expand All @@ -32,7 +31,7 @@ public UrzasAvenger(UUID ownerId, CardSetInfo setInfo) {
this.toughness = new MageInt(4);

// {0}: Urza's Avenger gets -1/-1 and gains your choice of banding, flying, first strike, or trample until end of turn.
Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(-1, -1)
Ability ability = new SimpleActivatedAbility(new BoostSourceEffect(-1, -1, Duration.EndOfTurn)
.setText("{this} gets -1/-1"), new ManaCostsImpl<>("{0}"));
ability.addEffect(new GainsChoiceOfAbilitiesEffect(GainsChoiceOfAbilitiesEffect.TargetType.Source, "", true,
BandingAbility.getInstance(), FlyingAbility.getInstance(), FirstStrikeAbility.getInstance(), TrampleAbility.getInstance())
Expand Down

0 comments on commit 8772190

Please sign in to comment.