mirror of
https://github.com/correl/mage.git
synced 2024-12-28 03:00:10 +00:00
[LTR] Implement The Balrog, Flame of Udun
This commit is contained in:
parent
1185fb51f1
commit
a5e3c824e3
2 changed files with 55 additions and 0 deletions
54
Mage.Sets/src/mage/cards/t/TheBalrogFlameOfUdun.java
Normal file
54
Mage.Sets/src/mage/cards/t/TheBalrogFlameOfUdun.java
Normal file
|
@ -0,0 +1,54 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesCreatureTriggeredAbility;
|
||||
import mage.abilities.effects.common.PutOnLibrarySourceEffect;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterOpponentsCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TheBalrogFlameOfUdun extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterOpponentsCreaturePermanent();
|
||||
|
||||
static {
|
||||
filter.add(SuperType.LEGENDARY.getPredicate());
|
||||
}
|
||||
|
||||
public TheBalrogFlameOfUdun(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}{R}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.AVATAR);
|
||||
this.subtype.add(SubType.DEMON);
|
||||
this.power = new MageInt(7);
|
||||
this.toughness = new MageInt(7);
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// When a legendary creature an opponent controls dies, put The Balrog, Flame of Udun on the bottom of its owner's library.
|
||||
this.addAbility(new DiesCreatureTriggeredAbility(
|
||||
new PutOnLibrarySourceEffect(false), false, filter
|
||||
).setTriggerPhrase("When a legendary creature an opponent controls dies, "));
|
||||
}
|
||||
|
||||
private TheBalrogFlameOfUdun(final TheBalrogFlameOfUdun card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TheBalrogFlameOfUdun copy() {
|
||||
return new TheBalrogFlameOfUdun(this);
|
||||
}
|
||||
}
|
|
@ -65,6 +65,7 @@ public final class TheLordOfTheRingsTalesOfMiddleEarth extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Stew the Coneys", 189, Rarity.UNCOMMON, mage.cards.s.StewTheConeys.class));
|
||||
cards.add(new SetCardInfo("Swamp", 266, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Swarming of Moria", 150, Rarity.COMMON, mage.cards.s.SwarmingOfMoria.class));
|
||||
cards.add(new SetCardInfo("The Balrog, Flame of Udun", 395, Rarity.RARE, mage.cards.t.TheBalrogFlameOfUdun.class));
|
||||
cards.add(new SetCardInfo("The One Ring", 246, Rarity.MYTHIC, mage.cards.t.TheOneRing.class));
|
||||
cards.add(new SetCardInfo("The Shire", 260, Rarity.RARE, mage.cards.t.TheShire.class));
|
||||
cards.add(new SetCardInfo("Tom Bombadil", 234, Rarity.MYTHIC, mage.cards.t.TomBombadil.class));
|
||||
|
|
Loading…
Reference in a new issue