mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Implemented Chittering Harvester
This commit is contained in:
parent
db05789eda
commit
737b07442f
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/c/ChitteringHarvester.java
Normal file
44
Mage.Sets/src/mage/cards/c/ChitteringHarvester.java
Normal file
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.MutatesSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.SacrificeOpponentsEffect;
|
||||
import mage.abilities.keyword.MutateAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ChitteringHarvester extends CardImpl {
|
||||
|
||||
public ChitteringHarvester(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{B}");
|
||||
|
||||
this.subtype.add(SubType.NIGHTMARE);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
// Mutate {4}{B}
|
||||
this.addAbility(new MutateAbility(this, "{4}{B}"));
|
||||
|
||||
// Whenever this creature mutates, each opponent sacrifices a creature.
|
||||
this.addAbility(new MutatesSourceTriggeredAbility(
|
||||
new SacrificeOpponentsEffect(StaticFilters.FILTER_CONTROLLED_CREATURE_SHORT_TEXT)
|
||||
));
|
||||
}
|
||||
|
||||
private ChitteringHarvester(final ChitteringHarvester card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ChitteringHarvester copy() {
|
||||
return new ChitteringHarvester(this);
|
||||
}
|
||||
}
|
|
@ -28,6 +28,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet {
|
|||
|
||||
cards.add(new SetCardInfo("Boon of the Wish-Giver", 43, Rarity.UNCOMMON, mage.cards.b.BoonOfTheWishGiver.class));
|
||||
cards.add(new SetCardInfo("Bristling Boar", 146, Rarity.COMMON, mage.cards.b.BristlingBoar.class));
|
||||
cards.add(new SetCardInfo("Chittering Harvester", 80, Rarity.UNCOMMON, mage.cards.c.ChitteringHarvester.class));
|
||||
cards.add(new SetCardInfo("Cloudpiercer", 112, Rarity.COMMON, mage.cards.c.Cloudpiercer.class));
|
||||
cards.add(new SetCardInfo("Colossification", 148, Rarity.RARE, mage.cards.c.Colossification.class));
|
||||
cards.add(new SetCardInfo("Dreamtail Heron", 47, Rarity.COMMON, mage.cards.d.DreamtailHeron.class));
|
||||
|
|
Loading…
Reference in a new issue