1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-02-18 12:54:22 +00:00

[BRO] Implemented Mishra's Juggernaut

This commit is contained in:
Evan Kranzler 2022-10-30 15:00:42 -04:00
parent a7073fe259
commit e72a879d49
2 changed files with 46 additions and 0 deletions
Mage.Sets/src/mage

View file

@ -0,0 +1,45 @@
package mage.cards.m;
import mage.MageInt;
import mage.abilities.common.AttacksEachCombatStaticAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.keyword.TrampleAbility;
import mage.abilities.keyword.UnearthAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class MishrasJuggernaut extends CardImpl {
public MishrasJuggernaut(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{5}");
this.subtype.add(SubType.JUGGERNAUT);
this.power = new MageInt(5);
this.toughness = new MageInt(3);
// Trample
this.addAbility(TrampleAbility.getInstance());
// Mishra's Juggernaut attacks each combat if able.
this.addAbility(new AttacksEachCombatStaticAbility());
// Unearth {5}{R}
this.addAbility(new UnearthAbility(new ManaCostsImpl<>("{5}{R}")));
}
private MishrasJuggernaut(final MishrasJuggernaut card) {
super(card);
}
@Override
public MishrasJuggernaut copy() {
return new MishrasJuggernaut(this);
}
}

View file

@ -37,6 +37,7 @@ public final class TheBrothersWar extends ExpansionSet {
cards.add(new SetCardInfo("Island", 280, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Llanowar Wastes", 264, Rarity.RARE, mage.cards.l.LlanowarWastes.class));
cards.add(new SetCardInfo("Mishra's Foundry", 265, Rarity.RARE, mage.cards.m.MishrasFoundry.class));
cards.add(new SetCardInfo("Mishra's Juggernaut", 161, Rarity.COMMON, mage.cards.m.MishrasJuggernaut.class));
cards.add(new SetCardInfo("Mishra, Claimed by Gix", 216, Rarity.MYTHIC, mage.cards.m.MishraClaimedByGix.class));
cards.add(new SetCardInfo("Mishra, Excavation Prodigy", 140, Rarity.UNCOMMON, mage.cards.m.MishraExcavationProdigy.class));
cards.add(new SetCardInfo("Mishra, Lost to Phyrexia", "163b", Rarity.MYTHIC, mage.cards.m.MishraLostToPhyrexia.class));