forked from External/mage
45 lines
1.3 KiB
Java
45 lines
1.3 KiB
Java
|
|
package mage.cards.a;
|
|
|
|
import java.util.UUID;
|
|
import mage.MageInt;
|
|
import mage.abilities.common.SimpleActivatedAbility;
|
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
|
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
|
import mage.abilities.keyword.FlyingAbility;
|
|
import mage.abilities.keyword.ShroudAbility;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.Duration;
|
|
import mage.constants.SubType;
|
|
import mage.constants.Zone;
|
|
|
|
/**
|
|
*
|
|
* @author Plopman
|
|
*/
|
|
public final class AdvancedHoverguard extends CardImpl {
|
|
|
|
public AdvancedHoverguard(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{U}");
|
|
this.subtype.add(SubType.DRONE);
|
|
|
|
this.power = new MageInt(2);
|
|
this.toughness = new MageInt(2);
|
|
|
|
// Flying
|
|
this.addAbility(FlyingAbility.getInstance());
|
|
// {U}: Advanced Hoverguard gains shroud until end of turn.
|
|
this.addAbility(new SimpleActivatedAbility(new GainAbilitySourceEffect(ShroudAbility.getInstance(), Duration.EndOfTurn), new ManaCostsImpl<>("{U}")));
|
|
}
|
|
|
|
private AdvancedHoverguard(final AdvancedHoverguard card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public AdvancedHoverguard copy() {
|
|
return new AdvancedHoverguard(this);
|
|
}
|
|
}
|