mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
[BLB] Implement Glarb, Calamity's Augur
This commit is contained in:
parent
f548043f0b
commit
4de960abc1
2 changed files with 69 additions and 0 deletions
68
Mage.Sets/src/mage/cards/g/GlarbCalamitysAugur.java
Normal file
68
Mage.Sets/src/mage/cards/g/GlarbCalamitysAugur.java
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.effects.common.continuous.LookAtTopCardOfLibraryAnyTimeEffect;
|
||||
import mage.abilities.effects.common.continuous.PlayFromTopOfLibraryEffect;
|
||||
import mage.abilities.effects.keyword.SurveilEffect;
|
||||
import mage.abilities.keyword.DeathtouchAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.ComparisonType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.ManaValuePredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GlarbCalamitysAugur extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCard("play lands and cast spells with mana value 4 or greater");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.or(
|
||||
CardType.LAND.getPredicate(),
|
||||
new ManaValuePredicate(ComparisonType.MORE_THAN, 3)
|
||||
));
|
||||
}
|
||||
|
||||
public GlarbCalamitysAugur(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{B}{G}{U}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.FROG);
|
||||
this.subtype.add(SubType.WIZARD);
|
||||
this.subtype.add(SubType.NOBLE);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Deathtouch
|
||||
this.addAbility(DeathtouchAbility.getInstance());
|
||||
|
||||
// You may look at the top card of your library any time.
|
||||
this.addAbility(new SimpleStaticAbility(new LookAtTopCardOfLibraryAnyTimeEffect()));
|
||||
|
||||
// You may play lands and cast spells with mana value 4 or greater from the top of your library.
|
||||
this.addAbility(new SimpleStaticAbility(new PlayFromTopOfLibraryEffect(filter)));
|
||||
|
||||
// {T}: Surveil 2.
|
||||
this.addAbility(new SimpleActivatedAbility(new SurveilEffect(2), new TapSourceCost()));
|
||||
}
|
||||
|
||||
private GlarbCalamitysAugur(final GlarbCalamitysAugur card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GlarbCalamitysAugur copy() {
|
||||
return new GlarbCalamitysAugur(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -96,6 +96,7 @@ public final class Bloomburrow extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Frilled Sparkshooter", 136, Rarity.COMMON, mage.cards.f.FrilledSparkshooter.class));
|
||||
cards.add(new SetCardInfo("Galewind Moose", 173, Rarity.UNCOMMON, mage.cards.g.GalewindMoose.class));
|
||||
cards.add(new SetCardInfo("Giant Growth", 393, Rarity.COMMON, mage.cards.g.GiantGrowth.class));
|
||||
cards.add(new SetCardInfo("Glarb, Calamity's Augur", 215, Rarity.MYTHIC, mage.cards.g.GlarbCalamitysAugur.class));
|
||||
cards.add(new SetCardInfo("Glidedive Duo", 96, Rarity.COMMON, mage.cards.g.GlidediveDuo.class));
|
||||
cards.add(new SetCardInfo("Harnesser of Storms", 137, Rarity.UNCOMMON, mage.cards.h.HarnesserOfStorms.class));
|
||||
cards.add(new SetCardInfo("Harvestrite Host", 15, Rarity.UNCOMMON, mage.cards.h.HarvestriteHost.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue