mirror of
https://github.com/correl/mage.git
synced 2024-11-29 03:00:12 +00:00
Implemented Chain to Memory
This commit is contained in:
parent
cb0bf451ee
commit
103c7c4926
2 changed files with 35 additions and 0 deletions
34
Mage.Sets/src/mage/cards/c/ChainToMemory.java
Normal file
34
Mage.Sets/src/mage/cards/c/ChainToMemory.java
Normal file
|
@ -0,0 +1,34 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ChainToMemory extends CardImpl {
|
||||
|
||||
public ChainToMemory(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{U}");
|
||||
|
||||
// Target creature gets -4/-0 until end of turn. Scry 2.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(-2, 0));
|
||||
this.getSpellAbility().addEffect(new ScryEffect(2).setText("Scry 2"));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
}
|
||||
|
||||
private ChainToMemory(final ChainToMemory card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ChainToMemory copy() {
|
||||
return new ChainToMemory(this);
|
||||
}
|
||||
}
|
|
@ -48,6 +48,7 @@ public final class TherosBeyondDeath extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Bronze Sword", 232, Rarity.COMMON, mage.cards.b.BronzeSword.class));
|
||||
cards.add(new SetCardInfo("Callaphe, Beloved of the Sea", 45, Rarity.UNCOMMON, mage.cards.c.CallapheBelovedOfTheSea.class));
|
||||
cards.add(new SetCardInfo("Careless Celebrant", 129, Rarity.UNCOMMON, mage.cards.c.CarelessCelebrant.class));
|
||||
cards.add(new SetCardInfo("Chain to Memory", 46, Rarity.COMMON, mage.cards.c.ChainToMemory.class));
|
||||
cards.add(new SetCardInfo("Chainweb Aracnir", 167, Rarity.UNCOMMON, mage.cards.c.ChainwebAracnir.class));
|
||||
cards.add(new SetCardInfo("Cling to Dust", 87, Rarity.UNCOMMON, mage.cards.c.ClingToDust.class));
|
||||
cards.add(new SetCardInfo("Commanding Presence", 7, Rarity.UNCOMMON, mage.cards.c.CommandingPresence.class));
|
||||
|
|
Loading…
Reference in a new issue