mirror of
https://github.com/correl/mage.git
synced 2025-01-12 03:00:13 +00:00
[40K] Implemented Exocrine
This commit is contained in:
parent
a31644789c
commit
84b2a697e0
2 changed files with 60 additions and 0 deletions
59
Mage.Sets/src/mage/cards/e/Exocrine.java
Normal file
59
Mage.Sets/src/mage/cards/e/Exocrine.java
Normal file
|
@ -0,0 +1,59 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.dynamicvalue.common.ManacostVariableValue;
|
||||
import mage.abilities.effects.common.DamageAllEffect;
|
||||
import mage.abilities.effects.common.DamagePlayersEffect;
|
||||
import mage.abilities.keyword.RavenousAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.AnotherPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Exocrine extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterCreaturePermanent();
|
||||
|
||||
static {
|
||||
filter.add(AnotherPredicate.instance);
|
||||
}
|
||||
|
||||
public Exocrine(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{X}{2}{R}");
|
||||
|
||||
this.subtype.add(SubType.TYRANID);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Ravenous
|
||||
this.addAbility(new RavenousAbility());
|
||||
|
||||
// Bio-plasmic Barrage -- When Exocrine enters the battlefield, it deals X damage to each player and each other creature.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DamagePlayersEffect(
|
||||
Outcome.Damage, ManacostVariableValue.ETB, TargetController.ANY, "it"
|
||||
));
|
||||
ability.addEffect(new DamageAllEffect(ManacostVariableValue.ETB, filter).setText("and each other creature"));
|
||||
this.addAbility(ability.withFlavorWord("Bio-plasmic Barrage"));
|
||||
}
|
||||
|
||||
private Exocrine(final Exocrine card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Exocrine copy() {
|
||||
return new Exocrine(this);
|
||||
}
|
||||
}
|
|
@ -34,6 +34,7 @@ public final class Warhammer40000 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Cultivate", 211, Rarity.COMMON, mage.cards.c.Cultivate.class));
|
||||
cards.add(new SetCardInfo("Death's Presence", 212, Rarity.RARE, mage.cards.d.DeathsPresence.class));
|
||||
cards.add(new SetCardInfo("Deathleaper, Terror Weapon", 115, Rarity.RARE, mage.cards.d.DeathleaperTerrorWeapon.class));
|
||||
cards.add(new SetCardInfo("Exocrine", 76, Rarity.RARE, mage.cards.e.Exocrine.class));
|
||||
cards.add(new SetCardInfo("Exotic Orchard", 278, Rarity.RARE, mage.cards.e.ExoticOrchard.class));
|
||||
cards.add(new SetCardInfo("Explore", 213, Rarity.COMMON, mage.cards.e.Explore.class));
|
||||
cards.add(new SetCardInfo("Fabricate", 181, Rarity.RARE, mage.cards.f.Fabricate.class));
|
||||
|
|
Loading…
Reference in a new issue