forked from External/mage
[BRO] Implemented Stern Lesson
This commit is contained in:
parent
e72a879d49
commit
ffb7372bcd
2 changed files with 34 additions and 0 deletions
33
Mage.Sets/src/mage/cards/s/SternLesson.java
Normal file
33
Mage.Sets/src/mage/cards/s/SternLesson.java
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.DrawDiscardControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.PowerstoneToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SternLesson extends CardImpl {
|
||||
|
||||
public SternLesson(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}");
|
||||
|
||||
// Draw two cards, then discard a card. Create a tapped Powerstone token.
|
||||
this.getSpellAbility().addEffect(new DrawDiscardControllerEffect(2, 1));
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new PowerstoneToken(), 1, true));
|
||||
}
|
||||
|
||||
private SternLesson(final SternLesson card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SternLesson copy() {
|
||||
return new SternLesson(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -49,6 +49,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Recruitment Officer", 23, Rarity.UNCOMMON, mage.cards.r.RecruitmentOfficer.class));
|
||||
cards.add(new SetCardInfo("Scrapwork Cohort", 37, Rarity.COMMON, mage.cards.s.ScrapworkCohort.class));
|
||||
cards.add(new SetCardInfo("Splitting the Powerstone", 63, Rarity.UNCOMMON, mage.cards.s.SplittingThePowerstone.class));
|
||||
cards.add(new SetCardInfo("Stern Lesson", 64, Rarity.COMMON, mage.cards.s.SternLesson.class));
|
||||
cards.add(new SetCardInfo("Surge Engine", 81, Rarity.MYTHIC, mage.cards.s.SurgeEngine.class));
|
||||
cards.add(new SetCardInfo("Swamp", 282, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("The Mightstone and Weakstone", "238a", Rarity.RARE, mage.cards.t.TheMightstoneAndWeakstone.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue