Fix Holdout Settlements second ability not being a mana ability.

This commit is contained in:
Nomage 2016-02-12 00:47:22 +00:00
parent 2afcb01442
commit 15706695ce

View file

@ -33,6 +33,7 @@ import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.costs.common.TapTargetCost; import mage.abilities.costs.common.TapTargetCost;
import mage.abilities.effects.common.AddManaOfAnyColorEffect; import mage.abilities.effects.common.AddManaOfAnyColorEffect;
import mage.abilities.mana.AnyColorManaAbility;
import mage.abilities.mana.ColorlessManaAbility; import mage.abilities.mana.ColorlessManaAbility;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.constants.CardType; import mage.constants.CardType;
@ -63,7 +64,7 @@ public class HoldoutSettlement extends CardImpl {
this.addAbility(new ColorlessManaAbility()); this.addAbility(new ColorlessManaAbility());
// {T}, Tap an untapped creature you control: Add one mana of any color to your mana pool. // {T}, Tap an untapped creature you control: Add one mana of any color to your mana pool.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(), new TapSourceCost()); Ability ability = new AnyColorManaAbility();
ability.addCost(new TapTargetCost(new TargetControlledPermanent(filter))); ability.addCost(new TapTargetCost(new TargetControlledPermanent(filter)));
this.addAbility(ability); this.addAbility(ability);
} }