forked from External/mage
[SPE] Implement Amateur Hero
This commit is contained in:
parent
fd8313bb0a
commit
3793717dbe
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/a/AmateurHero.java
Normal file
38
Mage.Sets/src/mage/cards/a/AmateurHero.java
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
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 AmateurHero extends CardImpl {
|
||||
|
||||
public AmateurHero(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.HERO);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// When this creature enters, you gain 2 life.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(2)));
|
||||
}
|
||||
|
||||
private AmateurHero(final AmateurHero card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AmateurHero copy() {
|
||||
return new AmateurHero(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -20,6 +20,7 @@ public final class MarvelsSpiderManEternal extends ExpansionSet {
|
|||
this.blockName = "Marvel's Spider-Man"; // for sorting in GUI
|
||||
this.hasBasicLands = false; // temporary
|
||||
|
||||
cards.add(new SetCardInfo("Amateur Hero", 1, Rarity.COMMON, mage.cards.a.AmateurHero.class));
|
||||
cards.add(new SetCardInfo("Doc Ock, Evil Inventor", 24, Rarity.RARE, mage.cards.d.DocOckEvilInventor.class));
|
||||
cards.add(new SetCardInfo("Grasping Tentacles", 21, Rarity.RARE, mage.cards.g.GraspingTentacles.class));
|
||||
cards.add(new SetCardInfo("Green Goblin, Nemesis", 23, Rarity.RARE, mage.cards.g.GreenGoblinNemesis.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue