forked from External/mage
44 lines
1.3 KiB
Java
44 lines
1.3 KiB
Java
|
|
package mage.cards.p;
|
|
|
|
import java.util.UUID;
|
|
import mage.MageInt;
|
|
import mage.abilities.effects.common.DevourEffect.DevourFactor;
|
|
import mage.abilities.keyword.DevourAbility;
|
|
import mage.abilities.keyword.FlyingAbility;
|
|
import mage.abilities.keyword.HasteAbility;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
|
|
/**
|
|
*
|
|
* @author LevelX2
|
|
*/
|
|
public final class PredatorDragon extends CardImpl {
|
|
|
|
public PredatorDragon(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{R}{R}{R}");
|
|
this.subtype.add(SubType.DRAGON);
|
|
|
|
this.power = new MageInt(4);
|
|
this.toughness = new MageInt(4);
|
|
|
|
// Flying, haste
|
|
this.addAbility(FlyingAbility.getInstance());
|
|
this.addAbility(HasteAbility.getInstance());
|
|
|
|
// Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.)
|
|
this.addAbility(new DevourAbility(DevourFactor.Devour2));
|
|
}
|
|
|
|
private PredatorDragon(final PredatorDragon card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public PredatorDragon copy() {
|
|
return new PredatorDragon(this);
|
|
}
|
|
}
|