mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[MB2] Implement Gobland
This commit is contained in:
parent
b70728b42a
commit
5ab7d3c115
2 changed files with 49 additions and 0 deletions
48
Mage.Sets/src/mage/cards/g/Gobland.java
Normal file
48
Mage.Sets/src/mage/cards/g/Gobland.java
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.CantBlockAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.InfoEffect;
|
||||
import mage.abilities.mana.RedManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author PurpleCrowbar
|
||||
*/
|
||||
public final class Gobland extends CardImpl {
|
||||
|
||||
public Gobland(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.LAND, CardType.CREATURE}, "");
|
||||
this.subtype.add(SubType.MOUNTAIN, SubType.GOBLIN);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
this.color.setRed(true);
|
||||
|
||||
// (Gobland isn't a spell, it's affected by summoning sickness, and it has "{T}: Add {R}.")
|
||||
this.addAbility(new SimpleStaticAbility(new InfoEffect(
|
||||
"<i>({this} isn't a spell, it's affected by summoning sickness, and it has \"{T}: Add {R}.\")</i>"
|
||||
)));
|
||||
|
||||
// Add {R}
|
||||
this.addAbility(new RedManaAbility());
|
||||
|
||||
// Gobland can't block.
|
||||
this.addAbility(new CantBlockAbility());
|
||||
}
|
||||
|
||||
private Gobland(final Gobland card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Gobland copy() {
|
||||
return new Gobland(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -107,6 +107,7 @@ public class MysteryBooster2 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Gitaxian Probe", 28, Rarity.COMMON, mage.cards.g.GitaxianProbe.class));
|
||||
cards.add(new SetCardInfo("Giver of Runes", 147, Rarity.RARE, mage.cards.g.GiverOfRunes.class));
|
||||
cards.add(new SetCardInfo("Gix, Yawgmoth Praetor", 245, Rarity.MYTHIC, mage.cards.g.GixYawgmothPraetor.class));
|
||||
cards.add(new SetCardInfo("Gobland", 374, Rarity.RARE, mage.cards.g.Gobland.class));
|
||||
cards.add(new SetCardInfo("Goblin Charbelcher", 221, Rarity.RARE, mage.cards.g.GoblinCharbelcher.class));
|
||||
cards.add(new SetCardInfo("Goblin Gang Leader", 144, Rarity.UNCOMMON, mage.cards.g.GoblinGangLeader.class));
|
||||
cards.add(new SetCardInfo("Goblin Guide", 58, Rarity.RARE, mage.cards.g.GoblinGuide.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue