mirror of
https://github.com/correl/mage.git
synced 2024-11-14 11:09:31 +00:00
[LTR] Implement Troll of Khazad-dum
This commit is contained in:
parent
49721f6c94
commit
4c524c982f
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/t/TrollOfKhazadDum.java
Normal file
42
Mage.Sets/src/mage/cards/t/TrollOfKhazadDum.java
Normal file
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.combat.CantBeBlockedByOneEffect;
|
||||
import mage.abilities.keyword.SwampcyclingAbility;
|
||||
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 TrollOfKhazadDum extends CardImpl {
|
||||
|
||||
public TrollOfKhazadDum(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{B}");
|
||||
|
||||
this.subtype.add(SubType.TROLL);
|
||||
this.power = new MageInt(6);
|
||||
this.toughness = new MageInt(5);
|
||||
|
||||
// Troll of Khazad-dum can't be blocked except by three or more creatures.
|
||||
this.addAbility(new SimpleStaticAbility(new CantBeBlockedByOneEffect(3)));
|
||||
|
||||
// Swampcycling {1}
|
||||
this.addAbility(new SwampcyclingAbility(new ManaCostsImpl<>("{1}")));
|
||||
}
|
||||
|
||||
private TrollOfKhazadDum(final TrollOfKhazadDum card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TrollOfKhazadDum copy() {
|
||||
return new TrollOfKhazadDum(this);
|
||||
}
|
||||
}
|
|
@ -105,6 +105,7 @@ public final class TheLordOfTheRingsTalesOfMiddleEarth extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("There and Back Again", 151, Rarity.RARE, mage.cards.t.ThereAndBackAgain.class));
|
||||
cards.add(new SetCardInfo("Tom Bombadil", 234, Rarity.MYTHIC, mage.cards.t.TomBombadil.class));
|
||||
cards.add(new SetCardInfo("Trailblazer's Boots", 398, Rarity.RARE, mage.cards.t.TrailblazersBoots.class));
|
||||
cards.add(new SetCardInfo("Troll of Khazad-dum", 111, Rarity.COMMON, mage.cards.t.TrollOfKhazadDum.class));
|
||||
cards.add(new SetCardInfo("War of the Last Alliance", 36, Rarity.RARE, mage.cards.w.WarOfTheLastAlliance.class));
|
||||
cards.add(new SetCardInfo("Westfold Rider", 37, Rarity.COMMON, mage.cards.w.WestfoldRider.class));
|
||||
cards.add(new SetCardInfo("Wizard's Rockets", 252, Rarity.COMMON, mage.cards.w.WizardsRockets.class));
|
||||
|
|
Loading…
Reference in a new issue