forked from External/mage
[ONE] Implement Glistener Seer
This commit is contained in:
parent
370f005481
commit
f5bbc5c33d
2 changed files with 53 additions and 0 deletions
52
Mage.Sets/src/mage/cards/g/GlistenerSeer.java
Normal file
52
Mage.Sets/src/mage/cards/g/GlistenerSeer.java
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.RemoveCountersSourceCost;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.counters.CounterType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GlistenerSeer extends CardImpl {
|
||||
|
||||
public GlistenerSeer(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{U}");
|
||||
|
||||
this.subtype.add(SubType.PHYREXIAN);
|
||||
this.subtype.add(SubType.ADVISOR);
|
||||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Glistener Seer enters the battlefield with three oil counters on it.
|
||||
this.addAbility(new EntersBattlefieldAbility(
|
||||
new AddCountersSourceEffect(CounterType.OIL.createInstance(3)),
|
||||
"with three oil counters on it"
|
||||
));
|
||||
|
||||
// {T}, Remove an oil counter from Glistener Seer: Scry 1.
|
||||
Ability ability = new SimpleActivatedAbility(new ScryEffect(1), new TapSourceCost());
|
||||
ability.addCost(new RemoveCountersSourceCost(CounterType.OIL.createInstance()));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private GlistenerSeer(final GlistenerSeer card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GlistenerSeer copy() {
|
||||
return new GlistenerSeer(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -73,6 +73,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Gitaxian Anatomist", 52, Rarity.COMMON, mage.cards.g.GitaxianAnatomist.class));
|
||||
cards.add(new SetCardInfo("Gitaxian Raptor", 53, Rarity.COMMON, mage.cards.g.GitaxianRaptor.class));
|
||||
cards.add(new SetCardInfo("Gleeful Demolition", 134, Rarity.UNCOMMON, mage.cards.g.GleefulDemolition.class));
|
||||
cards.add(new SetCardInfo("Glistener Seer", 54, Rarity.COMMON, mage.cards.g.GlistenerSeer.class));
|
||||
cards.add(new SetCardInfo("Goldwarden's Helm", 13, Rarity.COMMON, mage.cards.g.GoldwardensHelm.class));
|
||||
cards.add(new SetCardInfo("Goliath Hatchery", 408, Rarity.RARE, mage.cards.g.GoliathHatchery.class));
|
||||
cards.add(new SetCardInfo("Graaz, Unstoppable Juggernaut", 229, Rarity.RARE, mage.cards.g.GraazUnstoppableJuggernaut.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue