package mage.cards.s; import java.util.UUID; import mage.MageInt; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.common.continuous.GainAbilityControlledEffect; import mage.abilities.keyword.FirstStrikeAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.Duration; import mage.constants.SubType; import mage.constants.Zone; import mage.filter.common.FilterCreaturePermanent; /** * * @author Styxo */ public final class SnowTrooper extends CardImpl { public SnowTrooper(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{W}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.TROOPER); this.power = new MageInt(2); this.toughness = new MageInt(2); // Trooper creatures you control have firststrike. this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(FirstStrikeAbility.getInstance(), Duration.WhileOnBattlefield, new FilterCreaturePermanent(SubType.TROOPER, "Trooper creatures"), false))); } public SnowTrooper(final SnowTrooper card) { super(card); } @Override public SnowTrooper copy() { return new SnowTrooper(this); } }