forked from External/mage
44 lines
1.3 KiB
Java
44 lines
1.3 KiB
Java
|
|
package mage.cards.c;
|
|
|
|
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.FirstStrikeAbility;
|
|
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 Backfir3
|
|
*/
|
|
public final class CapashenKnight extends CardImpl {
|
|
|
|
public CapashenKnight(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{W}");
|
|
this.subtype.add(SubType.HUMAN);
|
|
this.subtype.add(SubType.KNIGHT);
|
|
|
|
this.power = new MageInt(1);
|
|
this.toughness = new MageInt(1);
|
|
|
|
this.addAbility(FirstStrikeAbility.getInstance());
|
|
// {1}{W}: Capashen Knight gets +1/+0 until end of turn.
|
|
this.addAbility(new SimpleActivatedAbility(new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl<>("{1}{W}")));
|
|
}
|
|
|
|
private CapashenKnight(final CapashenKnight card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public CapashenKnight copy() {
|
|
return new CapashenKnight(this);
|
|
}
|
|
}
|