mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
[BLB] Implement Conduct Electricity
This commit is contained in:
parent
413a499aae
commit
095439d3b5
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/c/ConductElectricity.java
Normal file
43
Mage.Sets/src/mage/cards/c/ConductElectricity.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.TargetPermanent;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
import mage.target.targetpointer.SecondTargetPointer;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ConductElectricity extends CardImpl {
|
||||
|
||||
public ConductElectricity(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{R}");
|
||||
|
||||
// Conduct Electricity deals 6 damage to target creature and 2 damage to up to one target creature token.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(
|
||||
6, true, "", true
|
||||
));
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(
|
||||
2, true, "", true
|
||||
).setTargetPointer(new SecondTargetPointer()).setText("and 2 damage to up to one target creature token"));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
this.getSpellAbility().addTarget(new TargetPermanent(
|
||||
0, 1, StaticFilters.FILTER_CREATURE_TOKEN
|
||||
));
|
||||
}
|
||||
|
||||
private ConductElectricity(final ConductElectricity card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ConductElectricity copy() {
|
||||
return new ConductElectricity(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -38,6 +38,7 @@ public final class Bloomburrow extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Carrot Cake", 7, Rarity.COMMON, mage.cards.c.CarrotCake.class));
|
||||
cards.add(new SetCardInfo("Cindering Cutthroat", 208, Rarity.COMMON, mage.cards.c.CinderingCutthroat.class));
|
||||
cards.add(new SetCardInfo("Clifftop Lookout", 168, Rarity.UNCOMMON, mage.cards.c.ClifftopLookout.class));
|
||||
cards.add(new SetCardInfo("Conduct Electricity", 130, Rarity.COMMON, mage.cards.c.ConductElectricity.class));
|
||||
cards.add(new SetCardInfo("Corpseberry Cultivator", 210, Rarity.COMMON, mage.cards.c.CorpseberryCultivator.class));
|
||||
cards.add(new SetCardInfo("Coruscation Mage", 131, Rarity.UNCOMMON, mage.cards.c.CoruscationMage.class));
|
||||
cards.add(new SetCardInfo("Curious Forager", 169, Rarity.UNCOMMON, mage.cards.c.CuriousForager.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue