mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[CLB] Implemented Genasi Enforcers
This commit is contained in:
parent
b7c3feec27
commit
a9767351aa
2 changed files with 58 additions and 0 deletions
57
Mage.Sets/src/mage/cards/g/GenasiEnforcers.java
Normal file
57
Mage.Sets/src/mage/cards/g/GenasiEnforcers.java
Normal file
|
@ -0,0 +1,57 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.continuous.BoostAllEffect;
|
||||
import mage.abilities.keyword.MyriadAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.NamePredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GenasiEnforcers extends CardImpl {
|
||||
|
||||
private static final FilterCreaturePermanent filter
|
||||
= new FilterCreaturePermanent("creatures you control named Genasi Enforcers");
|
||||
|
||||
static {
|
||||
filter.add(TargetController.YOU.getControllerPredicate());
|
||||
filter.add(new NamePredicate("Genasi Enforcers"));
|
||||
}
|
||||
|
||||
public GenasiEnforcers(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}");
|
||||
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.subtype.add(SubType.SHAMAN);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Myriad
|
||||
this.addAbility(new MyriadAbility());
|
||||
|
||||
// {1}{R}: Creatures you control named Genasi Enforcers get +1/+0 until end of turn.
|
||||
this.addAbility(new SimpleActivatedAbility(new BoostAllEffect(
|
||||
1, 0, Duration.EndOfTurn, filter, false
|
||||
), new ManaCostsImpl<>("{1}{R}")));
|
||||
}
|
||||
|
||||
private GenasiEnforcers(final GenasiEnforcers card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GenasiEnforcers copy() {
|
||||
return new GenasiEnforcers(this);
|
||||
}
|
||||
}
|
|
@ -80,6 +80,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Flaming Fist", 18, Rarity.COMMON, mage.cards.f.FlamingFist.class));
|
||||
cards.add(new SetCardInfo("Forest", 467, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Ganax, Astral Hunter", 176, Rarity.UNCOMMON, mage.cards.g.GanaxAstralHunter.class));
|
||||
cards.add(new SetCardInfo("Genasi Enforcers", 177, Rarity.COMMON, mage.cards.g.GenasiEnforcers.class));
|
||||
cards.add(new SetCardInfo("Geode Golem", 316, Rarity.UNCOMMON, mage.cards.g.GeodeGolem.class));
|
||||
cards.add(new SetCardInfo("Goggles of Night", 74, Rarity.COMMON, mage.cards.g.GogglesOfNight.class));
|
||||
cards.add(new SetCardInfo("Gorion, Wise Mentor", 276, Rarity.RARE, mage.cards.g.GorionWiseMentor.class));
|
||||
|
|
Loading…
Reference in a new issue