mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
[ECL] Implement Glister Bairn
This commit is contained in:
parent
93a8d99150
commit
c60a4cfe60
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/g/GlisterBairn.java
Normal file
47
Mage.Sets/src/mage/cards/g/GlisterBairn.java
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.dynamicvalue.common.ColorsAmongControlledPermanentsCount;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.triggers.BeginningOfCombatTriggeredAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GlisterBairn extends CardImpl {
|
||||
|
||||
public GlisterBairn(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G/U}{G/U}{G/U}");
|
||||
|
||||
this.subtype.add(SubType.OUPHE);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Vivid -- At the beginning of combat on your turn, another target creature you control gets +X/+X until end of turn, where X is the number of colors among permanents you control.
|
||||
Ability ability = new BeginningOfCombatTriggeredAbility(new BoostTargetEffect(
|
||||
ColorsAmongControlledPermanentsCount.ALL_PERMANENTS,
|
||||
ColorsAmongControlledPermanentsCount.ALL_PERMANENTS
|
||||
).setText("another target creature you control gets +X/+X until end of turn, " +
|
||||
"where X is the number of colors among permanents you control"));
|
||||
ability.addTarget(new TargetControlledCreaturePermanent());
|
||||
this.addAbility(ability.setAbilityWord(AbilityWord.VIVID).addHint(ColorsAmongControlledPermanentsCount.ALL_PERMANENTS.getHint()));
|
||||
}
|
||||
|
||||
private GlisterBairn(final GlisterBairn card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GlisterBairn copy() {
|
||||
return new GlisterBairn(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -95,6 +95,7 @@ public final class LorwynEclipsed extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Gallant Fowlknight", 17, Rarity.COMMON, mage.cards.g.GallantFowlknight.class));
|
||||
cards.add(new SetCardInfo("Gangly Stompling", 226, Rarity.COMMON, mage.cards.g.GanglyStompling.class));
|
||||
cards.add(new SetCardInfo("Glamer Gifter", 49, Rarity.UNCOMMON, mage.cards.g.GlamerGifter.class));
|
||||
cards.add(new SetCardInfo("Glister Bairn", 227, Rarity.UNCOMMON, mage.cards.g.GlisterBairn.class));
|
||||
cards.add(new SetCardInfo("Goatnap", 142, Rarity.UNCOMMON, mage.cards.g.Goatnap.class));
|
||||
cards.add(new SetCardInfo("Great Forest Druid", 178, Rarity.COMMON, mage.cards.g.GreatForestDruid.class));
|
||||
cards.add(new SetCardInfo("Gristle Glutton", 144, Rarity.COMMON, mage.cards.g.GristleGlutton.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue