forked from External/mage
35 lines
971 B
Java
35 lines
971 B
Java
|
|
package mage.cards.s;
|
|
|
|
import java.util.UUID;
|
|
import mage.abilities.effects.common.DestroyTargetEffect;
|
|
import mage.abilities.effects.common.GainLifeEffect;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.target.common.TargetAttackingCreature;
|
|
|
|
/**
|
|
*
|
|
* @author fireshoes
|
|
*/
|
|
public final class Silverstrike extends CardImpl {
|
|
|
|
public Silverstrike(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{3}{W}");
|
|
|
|
// Destroy target attacking creature. You gain 3 life.
|
|
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
|
this.getSpellAbility().addTarget(new TargetAttackingCreature());
|
|
this.getSpellAbility().addEffect(new GainLifeEffect(3));
|
|
}
|
|
|
|
public Silverstrike(final Silverstrike card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public Silverstrike copy() {
|
|
return new Silverstrike(this);
|
|
}
|
|
}
|