mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[MH2] Implemented Arcbound Slasher
This commit is contained in:
parent
7b508b9fa3
commit
470e906faa
4 changed files with 45 additions and 0 deletions
40
Mage.Sets/src/mage/cards/a/ArcboundSlasher.java
Normal file
40
Mage.Sets/src/mage/cards/a/ArcboundSlasher.java
Normal file
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.ModularAbility;
|
||||
import mage.abilities.keyword.RiotAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ArcboundSlasher extends CardImpl {
|
||||
|
||||
public ArcboundSlasher(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{4}{R}");
|
||||
|
||||
this.subtype.add(SubType.CAT);
|
||||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(0);
|
||||
|
||||
// Modular 4
|
||||
this.addAbility(new ModularAbility(this, 4));
|
||||
|
||||
// Riot
|
||||
this.addAbility(new RiotAbility());
|
||||
}
|
||||
|
||||
private ArcboundSlasher(final ArcboundSlasher card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArcboundSlasher copy() {
|
||||
return new ArcboundSlasher(this);
|
||||
}
|
||||
}
|
|
@ -34,6 +34,7 @@ public final class ModernHorizons2 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Arcbound Javelineer", 2, Rarity.UNCOMMON, mage.cards.a.ArcboundJavelineer.class));
|
||||
cards.add(new SetCardInfo("Arcbound Mouser", 3, Rarity.COMMON, mage.cards.a.ArcboundMouser.class));
|
||||
cards.add(new SetCardInfo("Arcbound Shikari", 184, Rarity.UNCOMMON, mage.cards.a.ArcboundShikari.class));
|
||||
cards.add(new SetCardInfo("Arcbound Slasher", 111, Rarity.COMMON, mage.cards.a.ArcboundSlasher.class));
|
||||
cards.add(new SetCardInfo("Arcbound Whelp", 113, Rarity.UNCOMMON, mage.cards.a.ArcboundWhelp.class));
|
||||
cards.add(new SetCardInfo("Archfiend of Sorrows", 74, Rarity.UNCOMMON, mage.cards.a.ArchfiendOfSorrows.class));
|
||||
cards.add(new SetCardInfo("Archon of Cruelty", 75, Rarity.MYTHIC, mage.cards.a.ArchonOfCruelty.class));
|
||||
|
|
|
@ -249,6 +249,9 @@ foreach my $ability (@abilities) {
|
|||
} elsif ($keywords{$kw} eq 'number') {
|
||||
$ability =~ m/(\b\d+?\b)/g;
|
||||
$vars{'abilities'} .= "\n this.addAbility(new " . $kw . 'Ability(' . $1 . '));';
|
||||
} elsif ($keywords{$kw} eq 'card, number') {
|
||||
$ability =~ m/(\b\d+?\b)/g;
|
||||
$vars{'abilities'} .= "\n this.addAbility(new " . $kw . 'Ability(this, ' . $1 . '));';
|
||||
} elsif ($keywords{$kw} eq 'cost') {
|
||||
$ability =~ m/({.*})/g;
|
||||
$vars{'abilities'} .= "\n this.addAbility(new " . $kw . 'Ability(new ManaCostsImpl<>("' . fixCost($1) . '")));';
|
||||
|
|
|
@ -65,6 +65,7 @@ Melee|new|
|
|||
Menace|new|
|
||||
Mentor|new|
|
||||
Miracle|cost|
|
||||
Modular|card, number|
|
||||
Mountaincycling|cost|
|
||||
Mountainwalk|new|
|
||||
Morph|card, cost|
|
||||
|
|
Loading…
Reference in a new issue