* Ashiok, Dream Render - fixed that it allows to target two players instead one;

This commit is contained in:
Oleg Agafonov 2019-05-02 17:34:24 +04:00
parent 3ff871c6de
commit 011f1b7a74

View file

@ -7,6 +7,7 @@ import mage.abilities.common.PlaneswalkerEntersWithLoyaltyCountersAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.ContinuousRuleModifyingEffectImpl;
import mage.abilities.effects.common.ExileGraveyardAllPlayersEffect;
import mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.*;
@ -17,8 +18,6 @@ import mage.players.Player;
import mage.target.TargetPlayer;
import java.util.UUID;
import mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect;
import mage.target.TargetPlayer;
/**
* @author TheElk801
@ -37,7 +36,6 @@ public final class AshiokDreamRender extends CardImpl {
// -1: Target player puts the top four cards of their library into their graveyard. Then exile each opponent's graveyard.
Ability ability = new LoyaltyAbility(new PutLibraryIntoGraveTargetEffect(4), -1);
ability.addTarget(new TargetPlayer());
ability.addEffect(new ExileGraveyardAllPlayersEffect(StaticFilters.FILTER_CARD, TargetController.OPPONENT).setText("Then exile each opponent's graveyard."));
ability.addTarget(new TargetPlayer());
this.addAbility(ability);