forked from External/mage
44 lines
1.3 KiB
Java
44 lines
1.3 KiB
Java
|
|
package mage.cards.s;
|
|
|
|
import java.util.UUID;
|
|
import mage.Mana;
|
|
import mage.abilities.Ability;
|
|
import mage.abilities.common.EntersBattlefieldTappedAbility;
|
|
import mage.abilities.costs.common.SacrificeSourceCost;
|
|
import mage.abilities.costs.common.TapSourceCost;
|
|
import mage.abilities.mana.BlackManaAbility;
|
|
import mage.abilities.mana.SimpleManaAbility;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.Zone;
|
|
|
|
/**
|
|
*
|
|
* @author Plopman
|
|
*/
|
|
public final class SulfurVent extends CardImpl {
|
|
|
|
public SulfurVent(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
|
|
|
|
// Sulfur Vent enters the battlefield tapped.
|
|
this.addAbility(new EntersBattlefieldTappedAbility());
|
|
// {tap}: Add {B}.
|
|
this.addAbility(new BlackManaAbility());
|
|
// {tap}, Sacrifice Sulfur Vent: Add {U}{R}.
|
|
Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new Mana(1, 0, 1, 0, 0, 0, 0, 0), new TapSourceCost());
|
|
ability.addCost(new SacrificeSourceCost());
|
|
this.addAbility(ability);
|
|
}
|
|
|
|
public SulfurVent(final SulfurVent card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public SulfurVent copy() {
|
|
return new SulfurVent(this);
|
|
}
|
|
}
|