Mana Short filter fix

This commit is contained in:
L_J 2018-04-28 13:15:31 +00:00 committed by GitHub
parent 775fae884f
commit 34952f173d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ import mage.abilities.effects.common.TapAllTargetPlayerControlsEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.StaticFilters;
import mage.filter.common.FilterLandPermanent;
import mage.game.Game;
import mage.players.Player;
import mage.target.TargetPlayer;
@ -47,7 +47,7 @@ public class ManaShort extends CardImpl {
public ManaShort(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{2}{U}");
// Tap all lands target player controls and empty their mana pool.
// Tap all lands target player controls and empty his or her mana pool.
this.getSpellAbility().addEffect(new ManaShortEffect());
this.getSpellAbility().addTarget(new TargetPlayer());
}
@ -65,8 +65,8 @@ public class ManaShort extends CardImpl {
class ManaShortEffect extends TapAllTargetPlayerControlsEffect {
public ManaShortEffect() {
super(StaticFilters.FILTER_LANDS);
staticText = "Tap all lands target player controls and empty their mana pool";
super(new FilterLandPermanent());
staticText = "Tap all lands target player controls and empty his or her mana pool";
}
public ManaShortEffect(final ManaShortEffect effect) {