mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Implemented Gleaming Overseer
This commit is contained in:
parent
e681276231
commit
139c33e172
2 changed files with 62 additions and 0 deletions
61
Mage.Sets/src/mage/cards/g/GleamingOverseer.java
Normal file
61
Mage.Sets/src/mage/cards/g/GleamingOverseer.java
Normal file
|
@ -0,0 +1,61 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.effects.keyword.AmassEffect;
|
||||
import mage.abilities.keyword.HexproofAbility;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.permanent.TokenPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GleamingOverseer extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterPermanent(SubType.ZOMBIE, "Zombie tokens");
|
||||
|
||||
static {
|
||||
filter.add(TokenPredicate.instance);
|
||||
}
|
||||
|
||||
public GleamingOverseer(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}{B}");
|
||||
|
||||
this.subtype.add(SubType.ZOMBIE);
|
||||
this.subtype.add(SubType.WIZARD);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// When Gleaming Overseer enters the battlefield, amass 1.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new AmassEffect(1)));
|
||||
|
||||
// Zombie tokens you control have hexproof and menace.
|
||||
Ability ability = new SimpleStaticAbility(new GainAbilityControlledEffect(
|
||||
HexproofAbility.getInstance(), Duration.WhileOnBattlefield, filter
|
||||
));
|
||||
ability.addEffect(new GainAbilityControlledEffect(
|
||||
new MenaceAbility(), Duration.WhileOnBattlefield, filter
|
||||
).setText("and menace"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private GleamingOverseer(final GleamingOverseer card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GleamingOverseer copy() {
|
||||
return new GleamingOverseer(this);
|
||||
}
|
||||
}
|
|
@ -45,6 +45,7 @@ public final class WarOfTheSpark extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Forest", 264, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Giant Growth", 162, Rarity.COMMON, mage.cards.g.GiantGrowth.class));
|
||||
cards.add(new SetCardInfo("Gideon's Triumph", 15, Rarity.UNCOMMON, mage.cards.g.GideonsTriumph.class));
|
||||
cards.add(new SetCardInfo("Gleaming Overseer", 198, Rarity.UNCOMMON, mage.cards.g.GleamingOverseer.class));
|
||||
cards.add(new SetCardInfo("Grim Initiate", 130, Rarity.COMMON, mage.cards.g.GrimInitiate.class));
|
||||
cards.add(new SetCardInfo("Herald of the Dreadhorde", 93, Rarity.COMMON, mage.cards.h.HeraldOfTheDreadhorde.class));
|
||||
cards.add(new SetCardInfo("Honor the God-Pharaoh", 132, Rarity.COMMON, mage.cards.h.HonorTheGodPharaoh.class));
|
||||
|
|
Loading…
Reference in a new issue