mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
Implemented Lash of Thorns
This commit is contained in:
parent
6d81d91f52
commit
baf9dbabc5
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/l/LashOfThorns.java
Normal file
40
Mage.Sets/src/mage/cards/l/LashOfThorns.java
Normal file
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.l;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.DeathtouchAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class LashOfThorns extends CardImpl {
|
||||
|
||||
public LashOfThorns(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{B}");
|
||||
|
||||
// Target creature gets +2/+1 and gains deathtouch until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(
|
||||
2, 1, Duration.EndOfTurn
|
||||
).setText("target creature gets +2/+1"));
|
||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(
|
||||
DeathtouchAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("and gains deathtouch until end of turn"));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
}
|
||||
|
||||
private LashOfThorns(final LashOfThorns card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LashOfThorns copy() {
|
||||
return new LashOfThorns(this);
|
||||
}
|
||||
}
|
|
@ -153,6 +153,7 @@ public final class ThroneOfEldraine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Knight of the Keep", 19, Rarity.COMMON, mage.cards.k.KnightOfTheKeep.class));
|
||||
cards.add(new SetCardInfo("Knights' Charge", 328, Rarity.RARE, mage.cards.k.KnightsCharge.class));
|
||||
cards.add(new SetCardInfo("Korvold, Fae-Cursed King", 329, Rarity.MYTHIC, mage.cards.k.KorvoldFaeCursedKing.class));
|
||||
cards.add(new SetCardInfo("Lash of Thorns", 92, Rarity.COMMON, mage.cards.l.LashOfThorns.class));
|
||||
cards.add(new SetCardInfo("Linden, the Steadfast Queen", 20, Rarity.RARE, mage.cards.l.LindenTheSteadfastQueen.class));
|
||||
cards.add(new SetCardInfo("Loch Dragon", 211, Rarity.UNCOMMON, mage.cards.l.LochDragon.class));
|
||||
cards.add(new SetCardInfo("Lochmere Serpent", 195, Rarity.RARE, mage.cards.l.LochmereSerpent.class));
|
||||
|
|
Loading…
Reference in a new issue