mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
[40K] Implemented Zoanthrope
This commit is contained in:
parent
a4f59d8493
commit
ecfcfdf726
2 changed files with 58 additions and 0 deletions
57
Mage.Sets/src/mage/cards/z/Zoanthrope.java
Normal file
57
Mage.Sets/src/mage/cards/z/Zoanthrope.java
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
package mage.cards.z;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.dynamicvalue.common.ManacostVariableValue;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.RavenousAbility;
|
||||
import mage.abilities.keyword.WardAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetAnyTarget;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Zoanthrope extends CardImpl {
|
||||
|
||||
public Zoanthrope(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{X}{U}{R}");
|
||||
|
||||
this.subtype.add(SubType.TYRANID);
|
||||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(0);
|
||||
|
||||
// Ravenous
|
||||
this.addAbility(new RavenousAbility());
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Ward {2}
|
||||
this.addAbility(new WardAbility(new ManaCostsImpl<>("{2}")));
|
||||
|
||||
// Warp Blast -- When Zoanthrope enters the battlefield, it deals X damage to any target.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(
|
||||
new DamageTargetEffect(ManacostVariableValue.ETB, "it")
|
||||
);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability.withFlavorWord("Warp Blast"));
|
||||
}
|
||||
|
||||
private Zoanthrope(final Zoanthrope card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Zoanthrope copy() {
|
||||
return new Zoanthrope(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -71,5 +71,6 @@ public final class Warhammer40000 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Tyranid Prime", 145, Rarity.RARE, mage.cards.t.TyranidPrime.class));
|
||||
cards.add(new SetCardInfo("Unclaimed Territory", 304, Rarity.UNCOMMON, mage.cards.u.UnclaimedTerritory.class));
|
||||
cards.add(new SetCardInfo("Venomthrope", 147, Rarity.UNCOMMON, mage.cards.v.Venomthrope.class));
|
||||
cards.add(new SetCardInfo("Zoanthrope", 149, Rarity.RARE, mage.cards.z.Zoanthrope.class));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue