Implemented Pyroclastic Elemental

This commit is contained in:
Evan Kranzler 2019-06-25 18:58:42 -04:00
parent 5fe06cb1fc
commit 8ee25744f8
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,44 @@
package mage.cards.p;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.target.TargetPlayer;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class PyroclasticElemental extends CardImpl {
public PyroclasticElemental(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}{R}");
this.subtype.add(SubType.ELEMENTAL);
this.power = new MageInt(5);
this.toughness = new MageInt(4);
// {1}{R}{R}: Pyroclastic Elemental deals 1 damage to target player.
Ability ability = new SimpleActivatedAbility(
new DamageTargetEffect(1), new ManaCostsImpl("{1}{R}{R}")
);
ability.addTarget(new TargetPlayer());
this.addAbility(ability);
}
private PyroclasticElemental(final PyroclasticElemental card) {
super(card);
}
@Override
public PyroclasticElemental copy() {
return new PyroclasticElemental(this);
}
}

View file

@ -237,6 +237,7 @@ public final class CoreSet2020 extends ExpansionSet {
cards.add(new SetCardInfo("Portal of Sanctuary", 71, Rarity.UNCOMMON, mage.cards.p.PortalOfSanctuary.class));
cards.add(new SetCardInfo("Prismite", 235, Rarity.COMMON, mage.cards.p.Prismite.class));
cards.add(new SetCardInfo("Pulse of Murasa", 189, Rarity.UNCOMMON, mage.cards.p.PulseOfMurasa.class));
cards.add(new SetCardInfo("Pyroclastic Elemental", 296, Rarity.UNCOMMON, mage.cards.p.PyroclasticElemental.class));
cards.add(new SetCardInfo("Rabid Bite", 190, Rarity.COMMON, mage.cards.r.RabidBite.class));
cards.add(new SetCardInfo("Raise the Alarm", 34, Rarity.COMMON, mage.cards.r.RaiseTheAlarm.class));
cards.add(new SetCardInfo("Rapacious Dragon", 153, Rarity.UNCOMMON, mage.cards.r.RapaciousDragon.class));