[STX] Implemented Lash of Malice

This commit is contained in:
Evan Kranzler 2021-04-03 07:51:00 -04:00
parent 74798b0e80
commit 893f65a8fb
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,32 @@
package mage.cards.l;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class LashOfMalice extends CardImpl {
public LashOfMalice(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{B}");
// Target creature gets +2/-2 until end of turn.
this.getSpellAbility().addEffect(new BoostTargetEffect(2, -2));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
}
private LashOfMalice(final LashOfMalice card) {
super(card);
}
@Override
public LashOfMalice copy() {
return new LashOfMalice(this);
}
}

View file

@ -95,6 +95,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
cards.add(new SetCardInfo("Kasmina, Enigma Sage", 196, Rarity.MYTHIC, mage.cards.k.KasminaEnigmaSage.class));
cards.add(new SetCardInfo("Kelpie Guide", 45, Rarity.UNCOMMON, mage.cards.k.KelpieGuide.class));
cards.add(new SetCardInfo("Kianne, Dean of Substance", 152, Rarity.RARE, mage.cards.k.KianneDeanOfSubstance.class));
cards.add(new SetCardInfo("Lash of Malice", 74, Rarity.COMMON, mage.cards.l.LashOfMalice.class));
cards.add(new SetCardInfo("Leonin Lightscribe", 20, Rarity.RARE, mage.cards.l.LeoninLightscribe.class));
cards.add(new SetCardInfo("Letter of Acceptance", 256, Rarity.COMMON, mage.cards.l.LetterOfAcceptance.class));
cards.add(new SetCardInfo("Lorehold Apprentice", 198, Rarity.UNCOMMON, mage.cards.l.LoreholdApprentice.class));