mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
[CLB] Implemented Guiding Bolt
This commit is contained in:
parent
072698ac12
commit
0a68c27833
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/g/GuidingBolt.java
Normal file
45
Mage.Sets/src/mage/cards/g/GuidingBolt.java
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.ComparisonType;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.PowerPredicate;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GuidingBolt extends CardImpl {
|
||||
|
||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("creature with power 4 or greater");
|
||||
|
||||
static {
|
||||
filter.add(new PowerPredicate(ComparisonType.MORE_THAN, 3));
|
||||
}
|
||||
|
||||
public GuidingBolt(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{W}");
|
||||
|
||||
// Destroy target creature with power 4 or greater.
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
|
||||
// Scry 2.
|
||||
this.getSpellAbility().addEffect(new ScryEffect(2).concatBy("<br>"));
|
||||
}
|
||||
|
||||
private GuidingBolt(final GuidingBolt card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GuidingBolt copy() {
|
||||
return new GuidingBolt(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -124,6 +124,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Gorion, Wise Mentor", 276, Rarity.RARE, mage.cards.g.GorionWiseMentor.class));
|
||||
cards.add(new SetCardInfo("Greatsword of Tyr", 22, Rarity.COMMON, mage.cards.g.GreatswordOfTyr.class));
|
||||
cards.add(new SetCardInfo("Guardian Naga", 23, Rarity.COMMON, mage.cards.g.GuardianNaga.class));
|
||||
cards.add(new SetCardInfo("Guiding Bolt", 24, Rarity.COMMON, mage.cards.g.GuidingBolt.class));
|
||||
cards.add(new SetCardInfo("Guild Artisan", 179, Rarity.UNCOMMON, mage.cards.g.GuildArtisan.class));
|
||||
cards.add(new SetCardInfo("Gut, True Soul Zealot", 180, Rarity.UNCOMMON, mage.cards.g.GutTrueSoulZealot.class));
|
||||
cards.add(new SetCardInfo("Halsin, Emerald Archdruid", 234, Rarity.UNCOMMON, mage.cards.h.HalsinEmeraldArchdruid.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue