mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
[MID] Implemented Defend the Celestus
This commit is contained in:
parent
65af9459a3
commit
f65d18c0a6
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/d/DefendTheCelestus.java
Normal file
39
Mage.Sets/src/mage/cards/d/DefendTheCelestus.java
Normal file
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.abilities.effects.common.counter.DistributeCountersEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetCreaturePermanentAmount;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DefendTheCelestus extends CardImpl {
|
||||
|
||||
public DefendTheCelestus(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{G}{G}");
|
||||
|
||||
// Distribute three +1/+1 counters among one, two, or three target creatures you control.
|
||||
this.getSpellAbility().addEffect(new DistributeCountersEffect(
|
||||
CounterType.P1P1, 3, false,
|
||||
"one, two, or three target creatures you control"
|
||||
));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanentAmount(
|
||||
3, StaticFilters.FILTER_CONTROLLED_CREATURES
|
||||
));
|
||||
}
|
||||
|
||||
private DefendTheCelestus(final DefendTheCelestus card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DefendTheCelestus copy() {
|
||||
return new DefendTheCelestus(this);
|
||||
}
|
||||
}
|
|
@ -43,6 +43,7 @@ public final class InnistradMidnightHunt extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Consider", 44, Rarity.COMMON, mage.cards.c.Consider.class));
|
||||
cards.add(new SetCardInfo("Contortionist Troupe", 178, Rarity.UNCOMMON, mage.cards.c.ContortionistTroupe.class));
|
||||
cards.add(new SetCardInfo("Dawnhart Rejuvenator", 180, Rarity.COMMON, mage.cards.d.DawnhartRejuvenator.class));
|
||||
cards.add(new SetCardInfo("Defend the Celestus", 182, Rarity.UNCOMMON, mage.cards.d.DefendTheCelestus.class));
|
||||
cards.add(new SetCardInfo("Defenestrate", 95, Rarity.COMMON, mage.cards.d.Defenestrate.class));
|
||||
cards.add(new SetCardInfo("Deserted Beach", 260, Rarity.RARE, mage.cards.d.DesertedBeach.class));
|
||||
cards.add(new SetCardInfo("Dire-Strain Demolisher", 174, Rarity.UNCOMMON, mage.cards.d.DireStrainDemolisher.class));
|
||||
|
|
Loading…
Reference in a new issue