mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Fix Holdout Settlements second ability not being a mana ability.
This commit is contained in:
parent
2afcb01442
commit
15706695ce
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue