mirror of
https://github.com/correl/mage.git
synced 2025-01-14 19:12:07 +00:00
[VOW] Implemented Estwald Shieldbasher
This commit is contained in:
parent
3c84c010ce
commit
66092eca54
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/e/EstwaldShieldbasher.java
Normal file
44
Mage.Sets/src/mage/cards/e/EstwaldShieldbasher.java
Normal file
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.common.DoIfCostPaid;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
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 java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class EstwaldShieldbasher extends CardImpl {
|
||||
|
||||
public EstwaldShieldbasher(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.SOLDIER);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Whenever Estwald Shieldbasher attacks, you may pay {1}. If you do, it gains indestructible until end of turn.
|
||||
this.addAbility(new AttacksTriggeredAbility(new DoIfCostPaid(new GainAbilitySourceEffect(
|
||||
IndestructibleAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("it gains indestructible until end of turn"), new GenericManaCost(1))));
|
||||
}
|
||||
|
||||
private EstwaldShieldbasher(final EstwaldShieldbasher card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EstwaldShieldbasher copy() {
|
||||
return new EstwaldShieldbasher(this);
|
||||
}
|
||||
}
|
|
@ -102,6 +102,7 @@ public final class InnistradCrimsonVow extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Drogskol Infantry", 10, Rarity.COMMON, mage.cards.d.DrogskolInfantry.class));
|
||||
cards.add(new SetCardInfo("Dying to Serve", 109, Rarity.RARE, mage.cards.d.DyingToServe.class));
|
||||
cards.add(new SetCardInfo("End the Festivities", 155, Rarity.COMMON, mage.cards.e.EndTheFestivities.class));
|
||||
cards.add(new SetCardInfo("Estwald Shieldbasher", 11, Rarity.COMMON, mage.cards.e.EstwaldShieldbasher.class));
|
||||
cards.add(new SetCardInfo("Evolving Wilds", 263, Rarity.COMMON, mage.cards.e.EvolvingWilds.class));
|
||||
cards.add(new SetCardInfo("Falkenrath Celebrants", 156, Rarity.COMMON, mage.cards.f.FalkenrathCelebrants.class));
|
||||
cards.add(new SetCardInfo("Falkenrath Forebear", 111, Rarity.RARE, mage.cards.f.FalkenrathForebear.class));
|
||||
|
|
Loading…
Reference in a new issue