foul-magics/Mage.Sets/src/mage/cards/v/VisceridDeepwalker.java

44 lines
1.4 KiB
Java

package mage.cards.v;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.abilities.keyword.SuspendAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Duration;
import mage.constants.Zone;
/**
*
* @author LoneFox
*/
public final class VisceridDeepwalker extends CardImpl {
public VisceridDeepwalker(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{U}");
this.subtype.add(SubType.HOMARID);
this.subtype.add(SubType.WARRIOR);
this.power = new MageInt(2);
this.toughness = new MageInt(3);
// {U}: Viscerid Deepwalker gets +1/+0 until end of turn.
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl<>("{U}")));
// Suspend 4-{U}
this.addAbility(new SuspendAbility(4, new ManaCostsImpl<>("{U}"), this));
}
private VisceridDeepwalker(final VisceridDeepwalker card) {
super(card);
}
@Override
public VisceridDeepwalker copy() {
return new VisceridDeepwalker(this);
}
}