mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Implemented Goblin Wizardry
This commit is contained in:
parent
e3a1fee1ea
commit
3839b0c665
3 changed files with 63 additions and 0 deletions
31
Mage.Sets/src/mage/cards/g/GoblinWizardry.java
Normal file
31
Mage.Sets/src/mage/cards/g/GoblinWizardry.java
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
package mage.cards.g;
|
||||||
|
|
||||||
|
import mage.abilities.effects.common.CreateTokenEffect;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.game.permanent.token.GoblinWizardToken;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class GoblinWizardry extends CardImpl {
|
||||||
|
|
||||||
|
public GoblinWizardry(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{R}");
|
||||||
|
|
||||||
|
// Create two 1/1 red Goblin Wizard creature tokens with prowess.
|
||||||
|
this.getSpellAbility().addEffect(new CreateTokenEffect(new GoblinWizardToken(), 2));
|
||||||
|
}
|
||||||
|
|
||||||
|
private GoblinWizardry(final GoblinWizardry card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public GoblinWizardry copy() {
|
||||||
|
return new GoblinWizardry(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -119,6 +119,7 @@ public final class CoreSet2021 extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Ghostly Pilferer", 52, Rarity.RARE, mage.cards.g.GhostlyPilferer.class));
|
cards.add(new SetCardInfo("Ghostly Pilferer", 52, Rarity.RARE, mage.cards.g.GhostlyPilferer.class));
|
||||||
cards.add(new SetCardInfo("Glorious Anthem", 21, Rarity.RARE, mage.cards.g.GloriousAnthem.class));
|
cards.add(new SetCardInfo("Glorious Anthem", 21, Rarity.RARE, mage.cards.g.GloriousAnthem.class));
|
||||||
cards.add(new SetCardInfo("Goblin Arsonist", 147, Rarity.COMMON, mage.cards.g.GoblinArsonist.class));
|
cards.add(new SetCardInfo("Goblin Arsonist", 147, Rarity.COMMON, mage.cards.g.GoblinArsonist.class));
|
||||||
|
cards.add(new SetCardInfo("Goblin Wizardry", 148, Rarity.COMMON, mage.cards.g.GoblinWizardry.class));
|
||||||
cards.add(new SetCardInfo("Goremand", 101, Rarity.UNCOMMON, mage.cards.g.Goremand.class));
|
cards.add(new SetCardInfo("Goremand", 101, Rarity.UNCOMMON, mage.cards.g.Goremand.class));
|
||||||
cards.add(new SetCardInfo("Grasp of Darkness", 102, Rarity.COMMON, mage.cards.g.GraspOfDarkness.class));
|
cards.add(new SetCardInfo("Grasp of Darkness", 102, Rarity.COMMON, mage.cards.g.GraspOfDarkness.class));
|
||||||
cards.add(new SetCardInfo("Griffin Aerie", 22, Rarity.UNCOMMON, mage.cards.g.GriffinAerie.class));
|
cards.add(new SetCardInfo("Griffin Aerie", 22, Rarity.UNCOMMON, mage.cards.g.GriffinAerie.class));
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
package mage.game.permanent.token;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.keyword.ProwessAbility;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class GoblinWizardToken extends TokenImpl {
|
||||||
|
|
||||||
|
public GoblinWizardToken() {
|
||||||
|
super("Goblin Wizard", "1/1 red Goblin Wizard creature token with prowess");
|
||||||
|
cardType.add(CardType.CREATURE);
|
||||||
|
subtype.add(SubType.GOBLIN);
|
||||||
|
subtype.add(SubType.WIZARD);
|
||||||
|
color.setRed(true);
|
||||||
|
power = new MageInt(1);
|
||||||
|
toughness = new MageInt(1);
|
||||||
|
this.addAbility(new ProwessAbility());
|
||||||
|
}
|
||||||
|
|
||||||
|
private GoblinWizardToken(final GoblinWizardToken token) {
|
||||||
|
super(token);
|
||||||
|
}
|
||||||
|
|
||||||
|
public GoblinWizardToken copy() {
|
||||||
|
return new GoblinWizardToken(this);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue