forked from External/mage
Implemented Chainweb Aracnir
This commit is contained in:
parent
e3cad05801
commit
eaa4e09469
2 changed files with 66 additions and 0 deletions
65
Mage.Sets/src/mage/cards/c/ChainwebAracnir.java
Normal file
65
Mage.Sets/src/mage/cards/c/ChainwebAracnir.java
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.EscapesWithAbility;
|
||||
import mage.abilities.effects.common.DamageWithPowerTargetEffect;
|
||||
import mage.abilities.keyword.EscapeAbility;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.ReachAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterOpponentsCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.AbilityPredicate;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ChainwebAracnir extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterOpponentsCreaturePermanent("creature with flying an opponent controls");
|
||||
|
||||
static {
|
||||
filter.add(new AbilityPredicate(FlyingAbility.class));
|
||||
}
|
||||
|
||||
public ChainwebAracnir(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{G}");
|
||||
|
||||
this.subtype.add(SubType.SPIDER);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Reach
|
||||
this.addAbility(ReachAbility.getInstance());
|
||||
|
||||
// When CHainweb Aracnir enters the battlefield, it deals damage equal to its power to target creature with flying an opponent controls.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DamageWithPowerTargetEffect()
|
||||
.setText("it deals damage equal to its power to target creature with flying an opponent controls"));
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Escape—{3}{G}{G}, Exile four other cards from your graveyard.
|
||||
this.addAbility(new EscapeAbility(this, "{3}{G}{G}", 4));
|
||||
|
||||
// CHainweb Aracnir escapes with three +1/+1 counters on it.
|
||||
this.addAbility(new EscapesWithAbility(3));
|
||||
}
|
||||
|
||||
private ChainwebAracnir(final ChainwebAracnir card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ChainwebAracnir copy() {
|
||||
return new ChainwebAracnir(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -35,6 +35,7 @@ public final class TherosBeyondDeath extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Atris, Oracle of Half-Truths", 209, Rarity.RARE, mage.cards.a.AtrisOracleOfHalfTruths.class));
|
||||
cards.add(new SetCardInfo("Banishing Light", 4, Rarity.UNCOMMON, mage.cards.b.BanishingLight.class));
|
||||
cards.add(new SetCardInfo("Brine Giant", 44, Rarity.COMMON, mage.cards.b.BrineGiant.class));
|
||||
cards.add(new SetCardInfo("Chainweb Aracnir", 167, Rarity.UNCOMMON, mage.cards.c.ChainwebAracnir.class));
|
||||
cards.add(new SetCardInfo("Cling to Dust", 87, Rarity.UNCOMMON, mage.cards.c.ClingToDust.class));
|
||||
cards.add(new SetCardInfo("Commanding Presence", 7, Rarity.UNCOMMON, mage.cards.c.CommandingPresence.class));
|
||||
cards.add(new SetCardInfo("Daxos, Blessed by the Sun", 9, Rarity.UNCOMMON, mage.cards.d.DaxosBlessedByTheSun.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue