mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
[BLB] Implement Nettle Guard
This commit is contained in:
parent
27794cb075
commit
9812affb9e
3 changed files with 56 additions and 0 deletions
54
Mage.Sets/src/mage/cards/n/NettleGuard.java
Normal file
54
Mage.Sets/src/mage/cards/n/NettleGuard.java
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
package mage.cards.n;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.common.ValiantTriggeredAbility;
|
||||
import mage.abilities.costs.common.SacrificeSourceCost;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class NettleGuard extends CardImpl {
|
||||
|
||||
public NettleGuard(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}");
|
||||
|
||||
this.subtype.add(SubType.MOUSE);
|
||||
this.subtype.add(SubType.SOLDIER);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Valiant -- Whenever Nettle Guard becomes the target of a spell or ability you control for the first time each turn, it gets +0/+2 until end of turn.
|
||||
this.addAbility(new ValiantTriggeredAbility(new BoostSourceEffect(
|
||||
0, 1, Duration.EndOfTurn, "it"
|
||||
)));
|
||||
|
||||
// {1}, Sacrifice Nettle Guard: Destroy target artifact or enchantment.
|
||||
Ability ability = new SimpleActivatedAbility(new DestroyTargetEffect(), new GenericManaCost(1));
|
||||
ability.addCost(new SacrificeSourceCost());
|
||||
ability.addTarget(new TargetPermanent(StaticFilters.FILTER_PERMANENT_ARTIFACT_OR_ENCHANTMENT));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private NettleGuard(final NettleGuard card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public NettleGuard copy() {
|
||||
return new NettleGuard(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -73,6 +73,7 @@ public final class Bloomburrow extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Mountain", 274, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Mudflat Village", 257, Rarity.UNCOMMON, mage.cards.m.MudflatVillage.class));
|
||||
cards.add(new SetCardInfo("Muerra, Trash Tactician", 227, Rarity.RARE, mage.cards.m.MuerraTrashTactician.class));
|
||||
cards.add(new SetCardInfo("Nettle Guard", 23, Rarity.COMMON, mage.cards.n.NettleGuard.class));
|
||||
cards.add(new SetCardInfo("Oakhollow Village", 258, Rarity.UNCOMMON, mage.cards.o.OakhollowVillage.class));
|
||||
cards.add(new SetCardInfo("Pawpatch Formation", 186, Rarity.UNCOMMON, mage.cards.p.PawpatchFormation.class));
|
||||
cards.add(new SetCardInfo("Pearl of Wisdom", 64, Rarity.COMMON, mage.cards.p.PearlOfWisdom.class));
|
||||
|
|
|
|||
|
|
@ -53084,6 +53084,7 @@ Flowerfoot Swordmaster|Bloomburrow|14|U|{W}|Creature - Mouse Soldier|1|2|Offspri
|
|||
Hop to It|Bloomburrow|16|U|{2}{W}|Sorcery|||Create three 1/1 white Rabbit creature tokens.|
|
||||
Lifecreed Duo|Bloomburrow|20|C|{1}{W}|Creature - Bat Bird|1|2|Flying$Whenever another creature you control enters, you gain 1 life.|
|
||||
Mabel's Mettle|Bloomburrow|21|U|{1}{W}|Instant|||Target creature gets +2/+2 until end of turn. Up to one other target creature gets +1/+1 until end of turn.|
|
||||
Nettle Guard|Bloomburrow|23|C|{1}{W}|Creature - Mouse Soldier|3|1|Valiant -- Whenever Nettle Guard becomes the target of a spell or ability you control for the first time each turn, it gets +0/+2 until end of turn.${1}, Sacrifice Nettle Guard: Destroy target artifact or enchantment.|
|
||||
Parting Gust|Bloomburrow|24|U|{W}{W}|Instant|||Gift a tapped Fish$Exile target nontoken creature. If the gift wasn't promised, return that creature to the battlefield under its owner's control with a +1/+1 counter on it at the beginning of the next end step.|
|
||||
Repel Calamity|Bloomburrow|27|U|{1}{W}|Instant|||Destroy target creature with power or toughness 4 or greater.|
|
||||
Salvation Swan|Bloomburrow|28|R|{3}{W}|Creature - Bird Cleric|3|3|Flash$Flying$Whenever Salvation Swan or another Bird you control enters, exile up to one target creature you control without flying. Return it to the battlefield under its owner's control with a flying counter on it at the beginning of the next end step.|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue