diff --git a/Mage.Sets/src/mage/cards/l/LapisOrbOfDragonkind.java b/Mage.Sets/src/mage/cards/l/LapisOrbOfDragonkind.java new file mode 100644 index 00000000000..c38c4c0a2d0 --- /dev/null +++ b/Mage.Sets/src/mage/cards/l/LapisOrbOfDragonkind.java @@ -0,0 +1,48 @@ +package mage.cards.l; + +import mage.abilities.common.delayed.ManaSpentDelayedTriggeredAbility; +import mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect; +import mage.abilities.effects.keyword.ScryEffect; +import mage.abilities.mana.BasicManaAbility; +import mage.abilities.mana.BlueManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.filter.FilterSpell; +import mage.filter.common.FilterCreatureSpell; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class LapisOrbOfDragonkind extends CardImpl { + + private static final FilterSpell filter = new FilterCreatureSpell("a Dragon creature spell"); + + static { + filter.add(SubType.DRAGON.getPredicate()); + } + + public LapisOrbOfDragonkind(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}{U}"); + + // {T}: Add {U}. When you spend this mana to cast a Dragon creature spell, scry 2. + BasicManaAbility ability = new BlueManaAbility(); + ability.addEffect(new CreateDelayedTriggeredAbilityEffect( + new ManaSpentDelayedTriggeredAbility(new ScryEffect(2), filter) + )); + ability.setUndoPossible(false); + this.addAbility(ability); + } + + private LapisOrbOfDragonkind(final LapisOrbOfDragonkind card) { + super(card); + } + + @Override + public LapisOrbOfDragonkind copy() { + return new LapisOrbOfDragonkind(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java b/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java index 4024c46574e..268df7456f8 100644 --- a/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java +++ b/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java @@ -190,6 +190,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet { cards.add(new SetCardInfo("Korlessa, Scale Singer", 280, Rarity.UNCOMMON, mage.cards.k.KorlessaScaleSinger.class)); cards.add(new SetCardInfo("Lae'zel, Vlaakith's Champion", 29, Rarity.RARE, mage.cards.l.LaezelVlaakithsChampion.class)); cards.add(new SetCardInfo("Lantern of Revealing", 318, Rarity.COMMON, mage.cards.l.LanternOfRevealing.class)); + cards.add(new SetCardInfo("Lapis Orb of Dragonkind", 82, Rarity.COMMON, mage.cards.l.LapisOrbOfDragonkind.class)); cards.add(new SetCardInfo("Legion Loyalty", 31, Rarity.MYTHIC, mage.cards.l.LegionLoyalty.class)); cards.add(new SetCardInfo("Lightning Bolt", 187, Rarity.COMMON, mage.cards.l.LightningBolt.class)); cards.add(new SetCardInfo("Livaan, Cultist of Tiamat", 188, Rarity.UNCOMMON, mage.cards.l.LivaanCultistOfTiamat.class));