mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
[ECL] Implement Abigale, Eloquent First-Year
This commit is contained in:
parent
187c81f21f
commit
c710d80ac5
2 changed files with 69 additions and 0 deletions
67
Mage.Sets/src/mage/cards/a/AbigaleEloquentFirstYear.java
Normal file
67
Mage.Sets/src/mage/cards/a/AbigaleEloquentFirstYear.java
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.LoseAllAbilitiesTargetEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||
import mage.abilities.keyword.FirstStrikeAbility;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.LifelinkAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AbigaleEloquentFirstYear extends CardImpl {
|
||||
|
||||
public AbigaleEloquentFirstYear(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{W/B}{W/B}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.BIRD);
|
||||
this.subtype.add(SubType.BARD);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// First strike
|
||||
this.addAbility(FirstStrikeAbility.getInstance());
|
||||
|
||||
// Lifelink
|
||||
this.addAbility(LifelinkAbility.getInstance());
|
||||
|
||||
// When Abigale enters, up to one other target creature loses all abilities. Put a flying counter, a first strike counter, and a lifelink counter on that creature.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new LoseAllAbilitiesTargetEffect(Duration.Custom)
|
||||
.setText("up to one other target creature loses all abilities"));
|
||||
ability.addEffect(new AddCountersTargetEffect(CounterType.FLYING.createInstance())
|
||||
.setText("Put a flying counter"));
|
||||
ability.addEffect(new AddCountersTargetEffect(CounterType.FIRST_STRIKE.createInstance())
|
||||
.setText(", a first strike counter"));
|
||||
ability.addEffect(new AddCountersTargetEffect(CounterType.FLYING.createInstance())
|
||||
.setText(", and a lifelink counter on that creature"));
|
||||
ability.addTarget(new TargetPermanent(0, 1, StaticFilters.FILTER_ANOTHER_TARGET_CREATURE));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private AbigaleEloquentFirstYear(final AbigaleEloquentFirstYear card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AbigaleEloquentFirstYear copy() {
|
||||
return new AbigaleEloquentFirstYear(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -20,6 +20,8 @@ public final class LorwynEclipsed extends ExpansionSet {
|
|||
this.blockName = "Lorwyn Eclipsed"; // for sorting in GUI
|
||||
this.hasBasicLands = true;
|
||||
|
||||
cards.add(new SetCardInfo("Abigale, Eloquent First-Year", 204, Rarity.RARE, mage.cards.a.AbigaleEloquentFirstYear.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Abigale, Eloquent First-Year", 368, Rarity.RARE, mage.cards.a.AbigaleEloquentFirstYear.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Appeal to Eirdu", 5, Rarity.COMMON, mage.cards.a.AppealToEirdu.class));
|
||||
cards.add(new SetCardInfo("Ashling's Command", 205, Rarity.RARE, mage.cards.a.AshlingsCommand.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Ashling's Command", 330, Rarity.RARE, mage.cards.a.AshlingsCommand.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue