mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
[BLB] Implement Lumra, Bellow of the Woods
This commit is contained in:
parent
4af6db7ad0
commit
fbd0752605
2 changed files with 88 additions and 0 deletions
87
Mage.Sets/src/mage/cards/l/LumraBellowOfTheWoods.java
Normal file
87
Mage.Sets/src/mage/cards/l/LumraBellowOfTheWoods.java
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
package mage.cards.l;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.dynamicvalue.common.LandsYouControlCount;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.MillCardsControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.SetBasePowerToughnessSourceEffect;
|
||||
import mage.abilities.keyword.ReachAbility;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.*;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class LumraBellowOfTheWoods extends CardImpl {
|
||||
|
||||
public LumraBellowOfTheWoods(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}{G}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.subtype.add(SubType.BEAR);
|
||||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(0);
|
||||
|
||||
// Vigilance
|
||||
this.addAbility(VigilanceAbility.getInstance());
|
||||
|
||||
// Reach
|
||||
this.addAbility(ReachAbility.getInstance());
|
||||
|
||||
// Lumra, Bellow of the Woods's power and toughness are each equal to the number of lands you control.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
Zone.ALL, new SetBasePowerToughnessSourceEffect(LandsYouControlCount.instance)
|
||||
));
|
||||
|
||||
// When Lumra enters, mill four cards. Then return all land cards from your graveyard to the battlefield tapped.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new MillCardsControllerEffect(4));
|
||||
ability.addEffect(new LumraBellowOfTheWoodsEffect());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private LumraBellowOfTheWoods(final LumraBellowOfTheWoods card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LumraBellowOfTheWoods copy() {
|
||||
return new LumraBellowOfTheWoods(this);
|
||||
}
|
||||
}
|
||||
|
||||
class LumraBellowOfTheWoodsEffect extends OneShotEffect {
|
||||
|
||||
LumraBellowOfTheWoodsEffect() {
|
||||
super(Outcome.Benefit);
|
||||
staticText = "Then return all land cards from your graveyard to the battlefield tapped";
|
||||
}
|
||||
|
||||
private LumraBellowOfTheWoodsEffect(final LumraBellowOfTheWoodsEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LumraBellowOfTheWoodsEffect copy() {
|
||||
return new LumraBellowOfTheWoodsEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
return player != null && player.moveCards(
|
||||
player.getGraveyard().getCards(StaticFilters.FILTER_CARD_LAND, game),
|
||||
Zone.BATTLEFIELD, source, game, true, false, false, null
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -22,6 +22,7 @@ public final class Bloomburrow extends ExpansionSet {
|
|||
this.hasBoosters = false; // temporary
|
||||
|
||||
cards.add(new SetCardInfo("Bria, Riptide Rogue", 379, Rarity.MYTHIC, mage.cards.b.BriaRiptideRogue.class));
|
||||
cards.add(new SetCardInfo("Lumra, Bellow of the Woods", 183, Rarity.MYTHIC, mage.cards.l.LumraBellowOfTheWoods.class));
|
||||
cards.add(new SetCardInfo("Mabel, Heir to Cragflame", 224, Rarity.RARE, mage.cards.m.MabelHeirToCragflame.class));
|
||||
cards.add(new SetCardInfo("Mountain", 274, Rarity.LAND, mage.cards.basiclands.Mountain.class, NON_FULL_USE_VARIOUS));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue