[SNC] Implemented Xander's Lounge

This commit is contained in:
Evan Kranzler 2022-03-04 06:44:36 -05:00
parent 6766ed1a3a
commit 7deb8de3c1
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,48 @@
package mage.cards.x;
import mage.abilities.common.EntersBattlefieldTappedAbility;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.keyword.CyclingAbility;
import mage.abilities.mana.BlackManaAbility;
import mage.abilities.mana.BlueManaAbility;
import mage.abilities.mana.RedManaAbility;
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 XandersLounge extends CardImpl {
public XandersLounge(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
this.subtype.add(SubType.ISLAND);
this.subtype.add(SubType.SWAMP);
this.subtype.add(SubType.MOUNTAIN);
// ({T}: Add {U}, {B}, or {R}.)
this.addAbility(new BlueManaAbility());
this.addAbility(new BlackManaAbility());
this.addAbility(new RedManaAbility());
// Xander's Lounge enters the battlefield tapped.
this.addAbility(new EntersBattlefieldTappedAbility());
// Cycling {3}
this.addAbility(new CyclingAbility(new GenericManaCost(3)));
}
private XandersLounge(final XandersLounge card) {
super(card);
}
@Override
public XandersLounge copy() {
return new XandersLounge(this);
}
}

View file

@ -27,5 +27,6 @@ public final class StreetsOfNewCapenna extends ExpansionSet {
cards.add(new SetCardInfo("Plains", 272, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Raffine's Tower", 254, Rarity.RARE, mage.cards.r.RaffinesTower.class));
cards.add(new SetCardInfo("Swamp", 276, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Xander's Lounge", 260, Rarity.RARE, mage.cards.x.XandersLounge.class));
}
}