mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
[STX] Implemented Gnarled Professor
This commit is contained in:
parent
38b4b25e22
commit
aaec7088a2
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/g/GnarledProfessor.java
Normal file
42
Mage.Sets/src/mage/cards/g/GnarledProfessor.java
Normal file
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.LearnEffect;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
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 GnarledProfessor extends CardImpl {
|
||||
|
||||
public GnarledProfessor(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}{G}");
|
||||
|
||||
this.subtype.add(SubType.TREEFOLK);
|
||||
this.subtype.add(SubType.DRUID);
|
||||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// When Gnarled Professor enters the battlefield, learn.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new LearnEffect()));
|
||||
}
|
||||
|
||||
private GnarledProfessor(final GnarledProfessor card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GnarledProfessor copy() {
|
||||
return new GnarledProfessor(this);
|
||||
}
|
||||
}
|
|
@ -65,6 +65,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Frost Trickster", 43, Rarity.COMMON, mage.cards.f.FrostTrickster.class));
|
||||
cards.add(new SetCardInfo("Frostboil Snarl", 265, Rarity.RARE, mage.cards.f.FrostboilSnarl.class));
|
||||
cards.add(new SetCardInfo("Furycalm Snarl", 266, Rarity.RARE, mage.cards.f.FurycalmSnarl.class));
|
||||
cards.add(new SetCardInfo("Gnarled Professor", 133, Rarity.RARE, mage.cards.g.GnarledProfessor.class));
|
||||
cards.add(new SetCardInfo("Go Blank", 72, Rarity.UNCOMMON, mage.cards.g.GoBlank.class));
|
||||
cards.add(new SetCardInfo("Golden Ratio", 190, Rarity.UNCOMMON, mage.cards.g.GoldenRatio.class));
|
||||
cards.add(new SetCardInfo("Grinning Ignus", 104, Rarity.UNCOMMON, mage.cards.g.GrinningIgnus.class));
|
||||
|
|
Loading…
Reference in a new issue