forked from External/mage
[TLA] Implement Gather the White Lotus
This commit is contained in:
parent
7caf775696
commit
5bf5bda8e5
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/g/GatherTheWhiteLotus.java
Normal file
43
Mage.Sets/src/mage/cards/g/GatherTheWhiteLotus.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.abilities.hint.Hint;
|
||||
import mage.abilities.hint.ValueHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.game.permanent.token.AllyToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GatherTheWhiteLotus extends CardImpl {
|
||||
|
||||
private static final DynamicValue xValue = new PermanentsOnBattlefieldCount(new FilterControlledPermanent(SubType.PLAINS));
|
||||
private static final Hint hint = new ValueHint("Plains you control", xValue);
|
||||
|
||||
public GatherTheWhiteLotus(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{W}");
|
||||
|
||||
// Create a 1/1 white Ally creature token for each Plains you control. Scry 2.
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new AllyToken(), xValue));
|
||||
this.getSpellAbility().addEffect(new ScryEffect(2));
|
||||
this.getSpellAbility().addHint(hint);
|
||||
}
|
||||
|
||||
private GatherTheWhiteLotus(final GatherTheWhiteLotus card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GatherTheWhiteLotus copy() {
|
||||
return new GatherTheWhiteLotus(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -101,6 +101,7 @@ public final class AvatarTheLastAirbender extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Forest", 286, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Forest", 291, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Forest", 296, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Gather the White Lotus", 20, Rarity.UNCOMMON, mage.cards.g.GatherTheWhiteLotus.class));
|
||||
cards.add(new SetCardInfo("Geyser Leaper", 52, Rarity.COMMON, mage.cards.g.GeyserLeaper.class));
|
||||
cards.add(new SetCardInfo("Giant Koi", 53, Rarity.COMMON, mage.cards.g.GiantKoi.class));
|
||||
cards.add(new SetCardInfo("Glider Kids", 21, Rarity.COMMON, mage.cards.g.GliderKids.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue