forked from External/mage
[SNC] Implemented Girder Goons
This commit is contained in:
parent
767bc45b09
commit
b4cfd43763
3 changed files with 74 additions and 0 deletions
45
Mage.Sets/src/mage/cards/g/GirderGoons.java
Normal file
45
Mage.Sets/src/mage/cards/g/GirderGoons.java
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.BlitzAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.RogueToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GirderGoons extends CardImpl {
|
||||
|
||||
public GirderGoons(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}");
|
||||
|
||||
this.subtype.add(SubType.OGRE);
|
||||
this.subtype.add(SubType.WARRIOR);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// When Girder Goons dies, create a tapped 2/2 black Rogue creature token.
|
||||
this.addAbility(new DiesSourceTriggeredAbility(new CreateTokenEffect(
|
||||
new RogueToken(), 1, true, false
|
||||
)));
|
||||
|
||||
// Blitz {3}{B}
|
||||
this.addAbility(new BlitzAbility("{3}{B}"));
|
||||
}
|
||||
|
||||
private GirderGoons(final GirderGoons card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GirderGoons copy() {
|
||||
return new GirderGoons(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -115,6 +115,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Gathering Throng", 13, Rarity.COMMON, mage.cards.g.GatheringThrong.class));
|
||||
cards.add(new SetCardInfo("Getaway Car", 237, Rarity.RARE, mage.cards.g.GetawayCar.class));
|
||||
cards.add(new SetCardInfo("Gilded Pinions", 238, Rarity.COMMON, mage.cards.g.GildedPinions.class));
|
||||
cards.add(new SetCardInfo("Girder Goons", 80, Rarity.COMMON, mage.cards.g.GirderGoons.class));
|
||||
cards.add(new SetCardInfo("Glittering Stockpile", 107, Rarity.UNCOMMON, mage.cards.g.GlitteringStockpile.class));
|
||||
cards.add(new SetCardInfo("Glittermonger", 149, Rarity.COMMON, mage.cards.g.Glittermonger.class));
|
||||
cards.add(new SetCardInfo("Goldhound", 108, Rarity.COMMON, mage.cards.g.Goldhound.class));
|
||||
|
|
|
|||
28
Mage/src/main/java/mage/game/permanent/token/RogueToken.java
Normal file
28
Mage/src/main/java/mage/game/permanent/token/RogueToken.java
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RogueToken extends TokenImpl {
|
||||
|
||||
public RogueToken() {
|
||||
super("Rogue Token", "2/2 black Rogue creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add(SubType.ROGUE);
|
||||
color.setBlack(true);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
}
|
||||
|
||||
public RogueToken(final RogueToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public RogueToken copy() {
|
||||
return new RogueToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue