forked from External/mage
39 lines
1 KiB
Java
39 lines
1 KiB
Java
|
|
package mage.cards.p;
|
|
|
|
import java.util.UUID;
|
|
import mage.abilities.Ability;
|
|
import mage.abilities.costs.common.TapSourceCost;
|
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
|
import mage.abilities.mana.AnyColorManaAbility;
|
|
import mage.abilities.mana.ColorlessManaAbility;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
|
|
/**
|
|
*
|
|
* @author Plopman
|
|
*/
|
|
public final class PrismaticLens extends CardImpl {
|
|
|
|
public PrismaticLens(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{2}");
|
|
|
|
// {tap}: Add {C}.
|
|
this.addAbility(new ColorlessManaAbility());
|
|
// {1}, {tap}: Add one mana of any color.
|
|
Ability ability = new AnyColorManaAbility(new ManaCostsImpl("{1}"));
|
|
ability.addCost(new TapSourceCost());
|
|
this.addAbility(ability);
|
|
}
|
|
|
|
private PrismaticLens(final PrismaticLens card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public PrismaticLens copy() {
|
|
return new PrismaticLens(this);
|
|
}
|
|
}
|