[C21] Implemented Sly Instigator

This commit is contained in:
Evan Kranzler 2021-04-18 15:07:11 -04:00
parent 9a40ea0335
commit 0664b02619
2 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,52 @@
package mage.cards.s;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.combat.CantBeBlockedTargetEffect;
import mage.abilities.effects.common.combat.GoadTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.target.common.TargetOpponentsCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class SlyInstigator extends CardImpl {
public SlyInstigator(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}");
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.WIZARD);
this.power = new MageInt(2);
this.toughness = new MageInt(4);
// {U}, {T}: Until your next turn, target creature an opponent controls can't be blocked. Goad that creature.
Ability ability = new SimpleActivatedAbility(
new CantBeBlockedTargetEffect(Duration.UntilYourNextTurn)
.setText("ntil your next turn, target creature an opponent controls can't be blocked."),
new ManaCostsImpl("{U}")
);
ability.addCost(new TapSourceCost());
ability.addEffect(new GoadTargetEffect().setText("Goad that creature"));
ability.addTarget(new TargetOpponentsCreaturePermanent());
this.addAbility(ability);
}
private SlyInstigator(final SlyInstigator card) {
super(card);
}
@Override
public SlyInstigator copy() {
return new SlyInstigator(this);
}
}

View file

@ -265,6 +265,7 @@ public final class Commander2021Edition extends ExpansionSet {
cards.add(new SetCardInfo("Simic Growth Chamber", 317, Rarity.UNCOMMON, mage.cards.s.SimicGrowthChamber.class));
cards.add(new SetCardInfo("Simic Signet", 262, Rarity.COMMON, mage.cards.s.SimicSignet.class));
cards.add(new SetCardInfo("Slayers' Stronghold", 318, Rarity.RARE, mage.cards.s.SlayersStronghold.class));
cards.add(new SetCardInfo("Sly Instigator", 32, Rarity.RARE, mage.cards.s.SlyInstigator.class));
cards.add(new SetCardInfo("Sol Ring", 263, Rarity.UNCOMMON, mage.cards.s.SolRing.class));
cards.add(new SetCardInfo("Solemn Simulacrum", 264, Rarity.RARE, mage.cards.s.SolemnSimulacrum.class));
cards.add(new SetCardInfo("Soul Snare", 104, Rarity.UNCOMMON, mage.cards.s.SoulSnare.class));