mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
45 lines
No EOL
1.4 KiB
Java
45 lines
No EOL
1.4 KiB
Java
|
|
package mage.cards.p;
|
|
|
|
import java.util.UUID;
|
|
import mage.MageInt;
|
|
import mage.abilities.common.BeginningOfUpkeepTriggeredAbility;
|
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
|
import mage.abilities.effects.common.SacrificeSourceUnlessPaysEffect;
|
|
import mage.abilities.keyword.FirstStrikeAbility;
|
|
import mage.abilities.keyword.FlyingAbility;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
import mage.constants.TargetController;
|
|
|
|
/**
|
|
*
|
|
* @author Backfir3
|
|
*/
|
|
public final class PitRaptor extends CardImpl {
|
|
|
|
public PitRaptor(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}{B}");
|
|
this.subtype.add(SubType.BIRD);
|
|
this.subtype.add(SubType.MERCENARY);
|
|
|
|
this.power = new MageInt(4);
|
|
this.toughness = new MageInt(3);
|
|
|
|
this.addAbility(FlyingAbility.getInstance());
|
|
this.addAbility(FirstStrikeAbility.getInstance());
|
|
// At the beginning of your upkeep, sacrifice Pit Raptor unless you pay {2}{B}{B}
|
|
this.addAbility(new BeginningOfUpkeepTriggeredAbility(new SacrificeSourceUnlessPaysEffect(new ManaCostsImpl<>("{2}{B}{B}")), TargetController.YOU, false));
|
|
}
|
|
|
|
private PitRaptor(final PitRaptor card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public PitRaptor copy() {
|
|
return new PitRaptor(this);
|
|
}
|
|
} |