forked from External/mage
50 lines
1.6 KiB
Java
50 lines
1.6 KiB
Java
|
|
package mage.cards.f;
|
|
|
|
import java.util.UUID;
|
|
import mage.MageInt;
|
|
import mage.abilities.common.SimpleActivatedAbility;
|
|
import mage.abilities.costs.common.TapSourceCost;
|
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
|
import mage.abilities.effects.common.DamageTargetEffect;
|
|
import mage.abilities.keyword.InfectAbility;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
import mage.constants.Zone;
|
|
import mage.target.common.TargetAnyTarget;
|
|
|
|
/**
|
|
*
|
|
* @author North
|
|
*/
|
|
public final class FallenFerromancer extends CardImpl {
|
|
|
|
public FallenFerromancer(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{R}");
|
|
this.subtype.add(SubType.HUMAN);
|
|
this.subtype.add(SubType.SHAMAN);
|
|
|
|
this.power = new MageInt(1);
|
|
this.toughness = new MageInt(1);
|
|
|
|
// Infect (This creature deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters.)
|
|
this.addAbility(InfectAbility.getInstance());
|
|
|
|
// {1}{R}, {T}: Fallen Ferromancer deals 1 damage to any target.
|
|
SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
|
|
ability.addCost(new ManaCostsImpl("{1}{R}"));
|
|
ability.addTarget(new TargetAnyTarget());
|
|
this.addAbility(ability);
|
|
}
|
|
|
|
public FallenFerromancer(final FallenFerromancer card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public FallenFerromancer copy() {
|
|
return new FallenFerromancer(this);
|
|
}
|
|
}
|