mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Implemented Severed Strands
This commit is contained in:
parent
3df16d5777
commit
7538a7b4f4
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/s/SeveredStrands.java
Normal file
40
Mage.Sets/src/mage/cards/s/SeveredStrands.java
Normal file
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.dynamicvalue.common.SacrificeCostCreaturesToughness;
|
||||
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.TargetOpponentsCreaturePermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SeveredStrands extends CardImpl {
|
||||
|
||||
public SeveredStrands(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{B}");
|
||||
|
||||
// As an additional cost to cast this spell, sacrifice a creature.
|
||||
// You gain life equal to the sacrificed creature's toughness. Destroy target creature an opponent controls.
|
||||
this.getSpellAbility().addEffect(new GainLifeEffect(
|
||||
new SacrificeCostCreaturesToughness(),
|
||||
"You gain life equal to the "
|
||||
+ "sacrificed creature's toughness."
|
||||
));
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetOpponentsCreaturePermanent());
|
||||
}
|
||||
|
||||
public SeveredStrands(final SeveredStrands card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SeveredStrands copy() {
|
||||
return new SeveredStrands(this);
|
||||
}
|
||||
}
|
|
@ -220,6 +220,7 @@ public final class GuildsOfRavnica extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Selesnya Guildgate", 255, Rarity.COMMON, mage.cards.s.SelesnyaGuildgate.class));
|
||||
cards.add(new SetCardInfo("Selesnya Guildgate", 256, Rarity.COMMON, mage.cards.s.SelesnyaGuildgate.class));
|
||||
cards.add(new SetCardInfo("Selesnya Locket", 240, Rarity.COMMON, mage.cards.s.SelesnyaLocket.class));
|
||||
cards.add(new SetCardInfo("Severed Strands", 85, Rarity.COMMON, mage.cards.s.SeveredStrands.class));
|
||||
cards.add(new SetCardInfo("Siege Wurm", 144, Rarity.COMMON, mage.cards.s.SiegeWurm.class));
|
||||
cards.add(new SetCardInfo("Silent Dart", 241, Rarity.UNCOMMON, mage.cards.s.SilentDart.class));
|
||||
cards.add(new SetCardInfo("Sinister Sabotage", 54, Rarity.UNCOMMON, mage.cards.s.SinisterSabotage.class));
|
||||
|
|
Loading…
Reference in a new issue