mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Implemented Rosethorn Halberd
This commit is contained in:
parent
bab15fec86
commit
62284d7817
3 changed files with 66 additions and 4 deletions
61
Mage.Sets/src/mage/cards/r/RosethornHalberd.java
Normal file
61
Mage.Sets/src/mage/cards/r/RosethornHalberd.java
Normal file
|
@ -0,0 +1,61 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.AttachEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
|
||||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RosethornHalberd extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterControlledCreaturePermanent("non-Human creature you control");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.not(new SubtypePredicate(SubType.HUMAN)));
|
||||
}
|
||||
|
||||
public RosethornHalberd(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{G}");
|
||||
|
||||
this.subtype.add(SubType.EQUIPMENT);
|
||||
|
||||
// When Rosethorn Halberd enters the battlefield, attach it to target non-Human creature you control.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(
|
||||
new AttachEffect(Outcome.Benefit, "attach it to target non-Human creature you control")
|
||||
);
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Equipped creature gets +2/+1.
|
||||
this.addAbility(new SimpleStaticAbility(new BoostEquippedEffect(2, 1)));
|
||||
|
||||
// Equip {5}
|
||||
this.addAbility(new EquipAbility(5));
|
||||
}
|
||||
|
||||
private RosethornHalberd(final RosethornHalberd card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RosethornHalberd copy() {
|
||||
return new RosethornHalberd(this);
|
||||
}
|
||||
}
|
|
@ -185,6 +185,7 @@ public final class ThroneOfEldraine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Righteousness", 27, Rarity.UNCOMMON, mage.cards.r.Righteousness.class));
|
||||
cards.add(new SetCardInfo("Robber of the Rich", 138, Rarity.MYTHIC, mage.cards.r.RobberOfTheRich.class));
|
||||
cards.add(new SetCardInfo("Rosethorn Acolyte", 174, Rarity.COMMON, mage.cards.r.RosethornAcolyte.class));
|
||||
cards.add(new SetCardInfo("Rosethorn Halberd", 175, Rarity.COMMON, mage.cards.r.RosethornHalberd.class));
|
||||
cards.add(new SetCardInfo("Roving Keep", 228, Rarity.COMMON, mage.cards.r.RovingKeep.class));
|
||||
cards.add(new SetCardInfo("Rowan's Battleguard", 306, Rarity.UNCOMMON, mage.cards.r.RowansBattleguard.class));
|
||||
cards.add(new SetCardInfo("Rowan's Stalwarts", 307, Rarity.RARE, mage.cards.r.RowansStalwarts.class));
|
||||
|
|
|
@ -36033,7 +36033,7 @@ Venerable Knight|Throne of Eldraine|35|U|{W}|Creature - Human Knight|2|1|When Ve
|
|||
Worthy Knight|Throne of Eldraine|36|R|{1}{W}|Creature - Human Knight|2|2|Whenever you cast a Knight spell, create a 1/1 white Human creature token.|
|
||||
Animating Faerie|Throne of Eldraine|38|U|{2}{U}|Creature - Faerie|2|2|Flying|
|
||||
Bring to Life|Throne of Eldraine|38|U|{2}{U}|Sorcery - Adventure|2|2|Target noncreature artifact you control becomes a 0/0 artifact creature. Put four +1/+1 counters on it.|
|
||||
Brazen Borrower|Throne of Eldraine|39|M|{1}{U}{U}|Creature - Faerie Rogue|3|1|Flash$Flying$Bazen Borrower can block only creatures with flying.|
|
||||
Brazen Borrower|Throne of Eldraine|39|M|{1}{U}{U}|Creature - Faerie Rogue|3|1|Flash$Flying$Brazen Borrower can block only creatures with flying.|
|
||||
Petty Theft|Throne of Eldraine|39|M|{1}{U}|Instant - Adventure|3|1|Return target nonland permanent an opponent controls to its owner's hand.|
|
||||
Corridor Monitor|Throne of Eldraine|41|C|{1}{U}|Artifact Creature - Construct|1|4|When Corridor Monitor enters the battlefield, untap target artifact or creature you control.|
|
||||
Emry, Lurker of the Loch|Throne of Eldraine|43|R|{2}{U}|Legendary Creature - Merfolk Wizard|1|2|This spell costs {1} less to cast for each artifact you control.$When Emry, Lurker of the Loch enters the battlefield, put the top four cards of your library into your graveyard.${T}: Choose target artifact card in your graveyard. You may cast that card this turn.|
|
||||
|
@ -36077,12 +36077,12 @@ Cauldron's Gift|Throne of Eldraine|83|U|{4}{B}|Sorcery|||Adamant — If at least
|
|||
Clackbridge Troll|Throne of Eldraine|84|R|{3}{B}{B}|Creature - Troll|8|8|Trample, haste$When Clackbridge Troll enters the battlefield, target opponent creates three 0/1 white Goat creature tokens.$At the beginning of combat on your turn, any opponent may sacrifice a creature. If a player does, tap Clackbridge Troll, you gain 3 life, and you draw a card.|
|
||||
Epic Downfall|Throne of Eldraine|85|U|{1}{B}|Sorcery|||Exile target creature with converted mana cost 3 or greater.|
|
||||
Eye Collector|Throne of Eldraine|86|C|{B}|Creature - Faerie|1|1|Flying$Whenever Eye Collector deals combat damage to a player, each player puts the top card of their library into their graveyard.|
|
||||
Foreboding Fruit|Throne of Eldraine|88|C|{2}{B}|Sorcery|||Target player draws two card sand loses 2 life.$Adament — If at least three black mana was spent to cast this spell, create a Food token.|
|
||||
Foreboding Fruit|Throne of Eldraine|88|C|{2}{B}|Sorcery|||Target player draws two cards and loses 2 life.$Adamant — If at least three black mana was spent to cast this spell, create a Food token.|
|
||||
Forever Young|Throne of Eldraine|89|C|{1}{B}|Sorcery|||Put any number of target creature cards from your graveyard on top of your library.$Draw a card.|
|
||||
Foulmire Knight|Throne of Eldraine|90|U|{B}|Creature - Zombie Knight|1|1|Deathtouch|
|
||||
Profane Insight|Throne of Eldraine|90|U|{2}{B}|Instant - Adventure|1|1|You draw a card and you lose 1 life.|
|
||||
Giant's Skewer|Throne of Eldraine|91|C|{1}{B}|Artifact - Equipment|||Equipped creature gets +2/+1.$Whenever equipped creature deals combat damage to a creature, create a Food token.$Equip {3}|
|
||||
Locthwain Paladin|Throne of Eldraine|93|C|{3}{B}|Creature - Human Knight|3|2|Menace$Adament — If at least three black mana was spent to cast this spell, Locthwain Paladin enters the battlefield with a +1/+1 counter on it.|
|
||||
Locthwain Paladin|Throne of Eldraine|93|C|{3}{B}|Creature - Human Knight|3|2|Menace$Adamant — If at least three black mana was spent to cast this spell, Locthwain Paladin enters the battlefield with a +1/+1 counter on it.|
|
||||
Lost Legion|Throne of Eldraine|94|C|{1}{B}{B}|Creature - Spirit Knight|2|3|When Lost Legion enters the battlefield, scry 2.|
|
||||
Murderous Rider|Throne of Eldraine|97|R|{1}{B}{B}|Creature - Zombie Knight|2|3|Lifelink$When Murderous Rider dies, put it on the bottom of its owner's library.|
|
||||
Swift End|Throne of Eldraine|97|R|{1}{B}{B}|Instant - Adventure|2|3|Destroy target creature or planeswalker. You lose 2 life.|
|
||||
|
@ -36167,7 +36167,7 @@ Questing Beast|Throne of Eldraine|171|M|{2}{G}{G}|Legendary Creature - Beast|4|4
|
|||
Return to Nature|Throne of Eldraine|173|C|{1}{G}|Instant|||Choose one —$• Destroy target artifact.$• Destroy target enchantment.$• Exile target card from a graveyard.|
|
||||
Rosethorn Acolyte|Throne of Eldraine|174|C|{2}{G}|Creature - Elf Druid|2|3|{T}: Add one mana of any color.|
|
||||
Seasonal Ritual|Throne of Eldraine|174|C|{G}|Sorcery - Adventure|2|3|Add one mana of any color.|
|
||||
Rosethorn Halberd|Throne of Eldraine|175|C|{G}|Artifact - Equipment|||When Rosethorn Halberd enters the battlefield, attach to to target non-human creature you control.$Equipped creature gets +2/+1.$Equip {5}|
|
||||
Rosethorn Halberd|Throne of Eldraine|175|C|{G}|Artifact - Equipment|||When Rosethorn Halberd enters the battlefield, attach it to target non-Human creature you control.$Equipped creature gets +2/+1.$Equip {5}|
|
||||
Syr Faren, the Hengehammer|Throne of Eldraine|177|U|{G}{G}|Legendary Creature - Human Knight|2|2|Whenever Syr Faren, the Hengehammer attacks, another target attacking creature gets +X/+X until end of turn, where X is Syr Faren's power.|
|
||||
Tall as a Beanstalk|Throne of Eldraine|178|C|{3}{G}|Enchantment - Aura|||Enchant creature$Enchanted creature gets +3/+3, has reach, and is a Giant in addition to its other types.|
|
||||
Trail of Crumbs|Throne of Eldraine|179|U|{1}{G}|Enchantment|||When Trail of Crumbs enters the battlefield, create a Food token.$Whenever you sacrifice a Food, you may pay {1}. If you do, look at the top two cards of your library. You may reveal a permanent card from among them and put it into your hand. Put the rest on the bottom of your library in any order.|
|
||||
|
|
Loading…
Reference in a new issue