Implemented Smelt-War Minotaur

This commit is contained in:
Evan Kranzler 2018-09-19 17:50:57 -04:00
parent 7bf92cea19
commit c66536aed8
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,47 @@
package mage.cards.s;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SpellCastControllerTriggeredAbility;
import mage.abilities.effects.common.combat.CantBlockTargetEffect;
import mage.constants.SubType;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.filter.StaticFilters;
import mage.target.common.TargetOpponentsCreaturePermanent;
/**
*
* @author TheElk801
*/
public final class SmeltWarMinotaur extends CardImpl {
public SmeltWarMinotaur(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
this.subtype.add(SubType.MINOTAUR);
this.subtype.add(SubType.WARRIOR);
this.power = new MageInt(2);
this.toughness = new MageInt(3);
// Whenever you cast an instant or sorcery spell, target creature an opponent controls can't block this turn.
Ability ability = new SpellCastControllerTriggeredAbility(
new CantBlockTargetEffect(Duration.EndOfTurn),
StaticFilters.FILTER_SPELLS_INSTANT_OR_SORCERY, false
);
ability.addTarget(new TargetOpponentsCreaturePermanent());
this.addAbility(ability);
}
public SmeltWarMinotaur(final SmeltWarMinotaur card) {
super(card);
}
@Override
public SmeltWarMinotaur copy() {
return new SmeltWarMinotaur(this);
}
}

View file

@ -221,6 +221,7 @@ public final class GuildsOfRavnica extends ExpansionSet {
cards.add(new SetCardInfo("Sinister Sabotage", 54, Rarity.UNCOMMON, mage.cards.s.SinisterSabotage.class));
cards.add(new SetCardInfo("Skyknight Legionnaire", 198, Rarity.COMMON, mage.cards.s.SkyknightLegionnaire.class));
cards.add(new SetCardInfo("Skyline Scout", 25, Rarity.COMMON, mage.cards.s.SkylineScout.class));
cards.add(new SetCardInfo("Smelt-War Minotaur", 116, Rarity.UNCOMMON, mage.cards.s.SmeltWarMinotaur.class));
cards.add(new SetCardInfo("Sonic Assault", 199, Rarity.COMMON, mage.cards.s.SonicAssault.class));
cards.add(new SetCardInfo("Spinal Centipede", 86, Rarity.COMMON, mage.cards.s.SpinalCentipede.class));
cards.add(new SetCardInfo("Sprouting Renewal", 145, Rarity.UNCOMMON, mage.cards.s.SproutingRenewal.class));