mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Mana Short filter fix
This commit is contained in:
parent
775fae884f
commit
34952f173d
1 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue