mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
[GN3] Implemented Zamriel, Seraph of Steel
This commit is contained in:
parent
0738af30ac
commit
f6c60b169e
2 changed files with 66 additions and 0 deletions
63
Mage.Sets/src/mage/cards/z/ZamrielSeraphOfSteel.java
Normal file
63
Mage.Sets/src/mage/cards/z/ZamrielSeraphOfSteel.java
Normal file
|
@ -0,0 +1,63 @@
|
|||
package mage.cards.z;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.common.MyTurnCondition;
|
||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.hint.common.MyTurnHint;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.IndestructibleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.permanent.EquippedPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ZamrielSeraphOfSteel extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterCreaturePermanent();
|
||||
|
||||
static {
|
||||
filter.add(EquippedPredicate.instance);
|
||||
}
|
||||
|
||||
public ZamrielSeraphOfSteel(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}{W}");
|
||||
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.ANGEL);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// As long as it's your turn, equipped creatures you control have indestructible.
|
||||
this.addAbility(new SimpleStaticAbility(new ConditionalContinuousEffect(
|
||||
new GainAbilityControlledEffect(
|
||||
IndestructibleAbility.getInstance(),
|
||||
Duration.WhileOnBattlefield, filter
|
||||
), MyTurnCondition.instance, "as long as it's your turn, " +
|
||||
"equipped creatures you control have indestructible"
|
||||
)).addHint(MyTurnHint.instance));
|
||||
}
|
||||
|
||||
private ZamrielSeraphOfSteel(final ZamrielSeraphOfSteel card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ZamrielSeraphOfSteel copy() {
|
||||
return new ZamrielSeraphOfSteel(this);
|
||||
}
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
package mage.sets;
|
||||
|
||||
import mage.cards.ExpansionSet;
|
||||
import mage.constants.Rarity;
|
||||
import mage.constants.SetType;
|
||||
|
||||
/**
|
||||
|
@ -20,5 +21,7 @@ public class GameNight2022 extends ExpansionSet {
|
|||
super("Game Night 2022", "GN3", ExpansionSet.buildDate(2019, 10, 14), SetType.SUPPLEMENTAL);
|
||||
this.hasBoosters = false;
|
||||
this.hasBasicLands = false; //temporary
|
||||
|
||||
cards.add(new SetCardInfo("Zamriel, Seraph of Steel", 1, Rarity.MYTHIC, mage.cards.z.ZamrielSeraphOfSteel.class));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue