diff --git a/Mage.Sets/src/mage/cards/k/KellansLightblades.java b/Mage.Sets/src/mage/cards/k/KellansLightblades.java new file mode 100644 index 00000000000..6095e910c09 --- /dev/null +++ b/Mage.Sets/src/mage/cards/k/KellansLightblades.java @@ -0,0 +1,47 @@ +package mage.cards.k; + +import mage.abilities.condition.common.BargainedCondition; +import mage.abilities.decorator.ConditionalOneShotEffect; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.abilities.hint.common.BargainCostWasPaidHint; +import mage.abilities.keyword.BargainAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetAttackingOrBlockingCreature; + +import java.util.UUID; + +/** + * @author Susucr + */ +public final class KellansLightblades extends CardImpl { + + public KellansLightblades(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{W}"); + + // Bargain + this.addAbility(new BargainAbility()); + + // Kellan's Lightblades deals 3 damage to target attacking or blocking creature. If this spell was bargained, destroy that creature instead. + this.getSpellAbility().addEffect(new ConditionalOneShotEffect( + new DestroyTargetEffect(), + new DamageTargetEffect(3), + BargainedCondition.instance, + "{this} deals 3 damage to target attacking or blocking creature. " + + "If this spell was bargained, destroy that creature instead." + )); + this.getSpellAbility().addTarget(new TargetAttackingOrBlockingCreature()); + this.getSpellAbility().addHint(BargainCostWasPaidHint.instance); + } + + private KellansLightblades(final KellansLightblades card) { + super(card); + } + + @Override + public KellansLightblades copy() { + return new KellansLightblades(this); + } +} diff --git a/Mage.Sets/src/mage/sets/WildsOfEldraine.java b/Mage.Sets/src/mage/sets/WildsOfEldraine.java index e0abf35823a..9a1ac7dc237 100644 --- a/Mage.Sets/src/mage/sets/WildsOfEldraine.java +++ b/Mage.Sets/src/mage/sets/WildsOfEldraine.java @@ -102,6 +102,7 @@ public final class WildsOfEldraine extends ExpansionSet { cards.add(new SetCardInfo("Island", 263, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Johann's Stopgap", 58, Rarity.COMMON, mage.cards.j.JohannsStopgap.class)); cards.add(new SetCardInfo("Johann, Apprentice Sorcerer", 207, Rarity.UNCOMMON, mage.cards.j.JohannApprenticeSorcerer.class)); + cards.add(new SetCardInfo("Kellan's Lightblades", 18, Rarity.COMMON, mage.cards.k.KellansLightblades.class)); cards.add(new SetCardInfo("Kellan, the Fae-Blooded", 230, Rarity.MYTHIC, mage.cards.k.KellanTheFaeBlooded.class)); cards.add(new SetCardInfo("Knight of Doves", 19, Rarity.UNCOMMON, mage.cards.k.KnightOfDoves.class)); cards.add(new SetCardInfo("Korvold and the Noble Thief", 139, Rarity.UNCOMMON, mage.cards.k.KorvoldAndTheNobleThief.class));