forked from External/mage
45 lines
1.2 KiB
Java
45 lines
1.2 KiB
Java
package mage.cards.h;
|
|
|
|
import mage.MageInt;
|
|
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
|
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
|
import mage.abilities.keyword.CrewAbility;
|
|
import mage.abilities.keyword.FlyingAbility;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
* @author TheElk801
|
|
*/
|
|
public final class Hulldrifter extends CardImpl {
|
|
|
|
public Hulldrifter(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}{U}{U}");
|
|
|
|
this.subtype.add(SubType.VEHICLE);
|
|
this.power = new MageInt(3);
|
|
this.toughness = new MageInt(2);
|
|
|
|
// Flying
|
|
this.addAbility(FlyingAbility.getInstance());
|
|
|
|
// When this Vehicle enters, draw two cards.
|
|
this.addAbility(new EntersBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(2)));
|
|
|
|
// Crew 3
|
|
this.addAbility(new CrewAbility(3));
|
|
}
|
|
|
|
private Hulldrifter(final Hulldrifter card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public Hulldrifter copy() {
|
|
return new Hulldrifter(this);
|
|
}
|
|
}
|