mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Implemented Spectator Seating
This commit is contained in:
parent
0cf46260a1
commit
89f895bf56
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/s/SpectatorSeating.java
Normal file
45
Mage.Sets/src/mage/cards/s/SpectatorSeating.java
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
package mage.cards.s;
|
||||||
|
|
||||||
|
import mage.abilities.common.EntersBattlefieldAbility;
|
||||||
|
import mage.abilities.condition.common.OneOpponentCondition;
|
||||||
|
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||||
|
import mage.abilities.effects.common.TapSourceEffect;
|
||||||
|
import mage.abilities.mana.RedManaAbility;
|
||||||
|
import mage.abilities.mana.WhiteManaAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class SpectatorSeating extends CardImpl {
|
||||||
|
|
||||||
|
public SpectatorSeating(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
|
||||||
|
|
||||||
|
// Spectator Seating enters the battlefield tapped unless you have two or more opponents.
|
||||||
|
this.addAbility(new EntersBattlefieldAbility(
|
||||||
|
new ConditionalOneShotEffect(
|
||||||
|
new TapSourceEffect(),
|
||||||
|
OneOpponentCondition.instance,
|
||||||
|
"tapped unless you have two or more opponents"
|
||||||
|
), "tapped unless you have two or more opponents"
|
||||||
|
));
|
||||||
|
|
||||||
|
// {T}: Add {R} or {W}.
|
||||||
|
this.addAbility(new RedManaAbility());
|
||||||
|
this.addAbility(new WhiteManaAbility());
|
||||||
|
}
|
||||||
|
|
||||||
|
private SpectatorSeating(final SpectatorSeating card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SpectatorSeating copy() {
|
||||||
|
return new SpectatorSeating(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -30,6 +30,7 @@ public final class CommanderLegends extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Command Tower", 350, Rarity.COMMON, mage.cards.c.CommandTower.class));
|
cards.add(new SetCardInfo("Command Tower", 350, Rarity.COMMON, mage.cards.c.CommandTower.class));
|
||||||
cards.add(new SetCardInfo("Commander's Sphere", 306, Rarity.COMMON, mage.cards.c.CommandersSphere.class));
|
cards.add(new SetCardInfo("Commander's Sphere", 306, Rarity.COMMON, mage.cards.c.CommandersSphere.class));
|
||||||
cards.add(new SetCardInfo("Prossh, Skyraider of Kher", 530, Rarity.MYTHIC, mage.cards.p.ProsshSkyraiderOfKher.class));
|
cards.add(new SetCardInfo("Prossh, Skyraider of Kher", 530, Rarity.MYTHIC, mage.cards.p.ProsshSkyraiderOfKher.class));
|
||||||
|
cards.add(new SetCardInfo("Spectator Seating", 356, Rarity.RARE, mage.cards.s.SpectatorSeating.class));
|
||||||
cards.add(new SetCardInfo("Training Center", 358, Rarity.RARE, mage.cards.t.TrainingCenter.class));
|
cards.add(new SetCardInfo("Training Center", 358, Rarity.RARE, mage.cards.t.TrainingCenter.class));
|
||||||
cards.add(new SetCardInfo("Undergrowth Stadium", 359, Rarity.RARE, mage.cards.u.UndergrowthStadium.class));
|
cards.add(new SetCardInfo("Undergrowth Stadium", 359, Rarity.RARE, mage.cards.u.UndergrowthStadium.class));
|
||||||
cards.add(new SetCardInfo("Vault of Champions", 360, Rarity.RARE, mage.cards.v.VaultOfChampions.class));
|
cards.add(new SetCardInfo("Vault of Champions", 360, Rarity.RARE, mage.cards.v.VaultOfChampions.class));
|
||||||
|
|
Loading…
Reference in a new issue