mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
[ZNR] Implemented Sejiri Shelter / Sejiri Glacier
This commit is contained in:
parent
a00e659644
commit
b7fd099f35
3 changed files with 75 additions and 0 deletions
37
Mage.Sets/src/mage/cards/s/SejiriGlacier.java
Normal file
37
Mage.Sets/src/mage/cards/s/SejiriGlacier.java
Normal file
|
@ -0,0 +1,37 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.common.EntersBattlefieldTappedAbility;
|
||||
import mage.abilities.mana.WhiteManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SejiriGlacier extends CardImpl {
|
||||
|
||||
public SejiriGlacier(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
|
||||
|
||||
this.modalDFC = true;
|
||||
this.nightCard = true;
|
||||
|
||||
// Sejiri Glacier enters the battlefield tapped.
|
||||
this.addAbility(new EntersBattlefieldTappedAbility());
|
||||
|
||||
// {T}: Add {W}.
|
||||
this.addAbility(new WhiteManaAbility());
|
||||
}
|
||||
|
||||
private SejiriGlacier(final SejiriGlacier card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SejiriGlacier copy() {
|
||||
return new SejiriGlacier(this);
|
||||
}
|
||||
}
|
36
Mage.Sets/src/mage/cards/s/SejiriShelter.java
Normal file
36
Mage.Sets/src/mage/cards/s/SejiriShelter.java
Normal file
|
@ -0,0 +1,36 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.effects.common.continuous.GainProtectionFromColorTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SejiriShelter extends CardImpl {
|
||||
|
||||
public SejiriShelter(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{W}");
|
||||
|
||||
this.modalDFC = true;
|
||||
this.secondSideCardClazz = mage.cards.s.SejiriGlacier.class;
|
||||
|
||||
// Target creature you control gains protection from the color of your choice until end of turn.
|
||||
this.getSpellAbility().addEffect(new GainProtectionFromColorTargetEffect(Duration.EndOfTurn));
|
||||
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
|
||||
}
|
||||
|
||||
private SejiriShelter(final SejiriShelter card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SejiriShelter copy() {
|
||||
return new SejiriShelter(this);
|
||||
}
|
||||
}
|
|
@ -146,6 +146,8 @@ public final class ZendikarRising extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Roiling Regrowth", 201, Rarity.UNCOMMON, mage.cards.r.RoilingRegrowth.class));
|
||||
cards.add(new SetCardInfo("Ruin Crab", 75, Rarity.UNCOMMON, mage.cards.r.RuinCrab.class));
|
||||
cards.add(new SetCardInfo("Sea Gate Colossus", 251, Rarity.COMMON, mage.cards.s.SeaGateColossus.class));
|
||||
cards.add(new SetCardInfo("Sejiri Glacier", 37, Rarity.UNCOMMON, mage.cards.s.SejiriGlacier.class));
|
||||
cards.add(new SetCardInfo("Sejiri Shelter", 37, Rarity.UNCOMMON, mage.cards.s.SejiriShelter.class));
|
||||
cards.add(new SetCardInfo("Shell Shield", 79, Rarity.COMMON, mage.cards.s.ShellShield.class));
|
||||
cards.add(new SetCardInfo("Shepherd of Heroes", 38, Rarity.COMMON, mage.cards.s.ShepherdOfHeroes.class));
|
||||
cards.add(new SetCardInfo("Skyclave Geopede", 163, Rarity.UNCOMMON, mage.cards.s.SkyclaveGeopede.class));
|
||||
|
|
Loading…
Reference in a new issue