diff --git a/Mage.Sets/src/mage/cards/a/AmaranthineWall.java b/Mage.Sets/src/mage/cards/a/AmaranthineWall.java new file mode 100644 index 00000000000..7343632a054 --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/AmaranthineWall.java @@ -0,0 +1,50 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package mage.cards.a; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.continuous.GainAbilitySourceEffect; +import mage.abilities.keyword.DefenderAbility; +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; + +/** + * + * @author Rystan + */ +public class AmaranthineWall extends CardImpl { + + public AmaranthineWall(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{4}"); + this.subtype.add(SubType.WALL); + this.power = new MageInt(0); + this.toughness = new MageInt(6); + + // Defender + this.addAbility(DefenderAbility.getInstance()); + // {2}: Amaranthine Wall gains indestructible until end of turn. + GainAbilitySourceEffect effect = new GainAbilitySourceEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn); + SimpleActivatedAbility ability = new SimpleActivatedAbility(effect, new ManaCostsImpl("{2}")); + this.addAbility(ability); + } + + public AmaranthineWall(final AmaranthineWall card) { + super(card); + } + + @Override + public AmaranthineWall copy() { + return new AmaranthineWall(this); + } +} +