mirror of
https://github.com/correl/mage.git
synced 2025-04-02 17:00:11 -09:00
[BRO] Implement Terisian Mindbreaker
This commit is contained in:
parent
abf4fd9536
commit
826630509e
2 changed files with 48 additions and 0 deletions
Mage.Sets/src/mage
47
Mage.Sets/src/mage/cards/t/TerisianMindbreaker.java
Normal file
47
Mage.Sets/src/mage/cards/t/TerisianMindbreaker.java
Normal file
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.MillHalfLibraryTargetEffect;
|
||||
import mage.abilities.keyword.UnearthAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SetTargetPointer;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TerisianMindbreaker extends CardImpl {
|
||||
|
||||
public TerisianMindbreaker(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{7}");
|
||||
|
||||
this.subtype.add(SubType.JUGGERNAUT);
|
||||
this.power = new MageInt(6);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Whenever Terisian Mindbreaker attacks, defending player mills half their library, rounded up.
|
||||
this.addAbility(new AttacksTriggeredAbility(
|
||||
new MillHalfLibraryTargetEffect(true)
|
||||
.setText("defending player mills half their library, rounded up"),
|
||||
false, null, SetTargetPointer.PLAYER
|
||||
));
|
||||
|
||||
// Unearth {1}{U}{U}{U}
|
||||
this.addAbility(new UnearthAbility(new ManaCostsImpl<>("{1}{U}{U}{U}")));
|
||||
}
|
||||
|
||||
private TerisianMindbreaker(final TerisianMindbreaker card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TerisianMindbreaker copy() {
|
||||
return new TerisianMindbreaker(this);
|
||||
}
|
||||
}
|
|
@ -90,6 +90,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Swamp", 282, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Tawnos, the Toymaker", 222, Rarity.RARE, mage.cards.t.TawnosTheToymaker.class));
|
||||
cards.add(new SetCardInfo("Teferi, Temporal Pilgrim", 66, Rarity.MYTHIC, mage.cards.t.TeferiTemporalPilgrim.class));
|
||||
cards.add(new SetCardInfo("Terisian Mindbreaker", 83, Rarity.RARE, mage.cards.t.TerisianMindbreaker.class));
|
||||
cards.add(new SetCardInfo("The Mightstone and Weakstone", "238a", Rarity.RARE, mage.cards.t.TheMightstoneAndWeakstone.class));
|
||||
cards.add(new SetCardInfo("Third Path Savant", 67, Rarity.COMMON, mage.cards.t.ThirdPathSavant.class));
|
||||
cards.add(new SetCardInfo("Thopter Mechanic", 68, Rarity.UNCOMMON, mage.cards.t.ThopterMechanic.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue