Implemented Scampering Scorcher

This commit is contained in:
Evan Kranzler 2019-06-26 08:07:46 -04:00
parent 862bcf97a6
commit cf29711192
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,53 @@
package mage.cards.s;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
import mage.abilities.keyword.HasteAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.filter.FilterPermanent;
import mage.filter.common.FilterControlledCreaturePermanent;
import mage.game.permanent.token.YoungPyromancerElementalToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class ScamperingScorcher extends CardImpl {
private static final FilterPermanent filter
= new FilterControlledCreaturePermanent(SubType.ELEMENTAL, "Elementals");
public ScamperingScorcher(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}");
this.subtype.add(SubType.ELEMENTAL);
this.power = new MageInt(1);
this.toughness = new MageInt(1);
// When Scampering Scorcher enters the battlefield, create two 1/1 red Elemental creature tokens. Elementals you control gain haste until end of turn.
Ability ability = new EntersBattlefieldTriggeredAbility(
new CreateTokenEffect(new YoungPyromancerElementalToken(), 2)
);
ability.addEffect(new GainAbilityControlledEffect(
HasteAbility.getInstance(), Duration.EndOfTurn, filter
));
this.addAbility(ability);
}
private ScamperingScorcher(final ScamperingScorcher card) {
super(card);
}
@Override
public ScamperingScorcher copy() {
return new ScamperingScorcher(this);
}
}

View file

@ -259,6 +259,7 @@ public final class CoreSet2020 extends ExpansionSet {
cards.add(new SetCardInfo("Sanitarium Skeleton", 112, Rarity.COMMON, mage.cards.s.SanitariumSkeleton.class));
cards.add(new SetCardInfo("Savage Gorger", 291, Rarity.COMMON, mage.cards.s.SavageGorger.class));
cards.add(new SetCardInfo("Savannah Sage", 284, Rarity.COMMON, mage.cards.s.SavannahSage.class));
cards.add(new SetCardInfo("Scampering Scorcher", 158, Rarity.UNCOMMON, mage.cards.s.ScamperingScorcher.class));
cards.add(new SetCardInfo("Scheming Symmetry", 113, Rarity.RARE, mage.cards.s.SchemingSymmetry.class));
cards.add(new SetCardInfo("Scholar of the Ages", 74, Rarity.UNCOMMON, mage.cards.s.ScholarOfTheAges.class));
cards.add(new SetCardInfo("Scorch Spitter", 159, Rarity.COMMON, mage.cards.s.ScorchSpitter.class));