mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
[EOE] Implement Luxknight Breacher
This commit is contained in:
parent
33b6ee5e25
commit
c7941fef4e
2 changed files with 51 additions and 0 deletions
50
Mage.Sets/src/mage/cards/l/LuxknightBreacher.java
Normal file
50
Mage.Sets/src/mage/cards/l/LuxknightBreacher.java
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
package mage.cards.l;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldAbility;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.hint.Hint;
|
||||
import mage.abilities.hint.ValueHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class LuxknightBreacher extends CardImpl {
|
||||
|
||||
private static final DynamicValue xValue
|
||||
= new PermanentsOnBattlefieldCount(StaticFilters.FILTER_CONTROLLED_ANOTHER_CREATURE_OR_ARTIFACT);
|
||||
private static final Hint hint = new ValueHint("Other creatures and artifacts you control", xValue);
|
||||
|
||||
public LuxknightBreacher(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.KNIGHT);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// This creature enters with a +1/+1 counter on it for each other creature and/or artifact you control.
|
||||
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(
|
||||
CounterType.P1P1.createInstance(0), xValue, true
|
||||
), "with a +1/+1 counter on it for each other creature and/or artifact you control").addHint(hint));
|
||||
}
|
||||
|
||||
private LuxknightBreacher(final LuxknightBreacher card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LuxknightBreacher copy() {
|
||||
return new LuxknightBreacher(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -134,6 +134,7 @@ public final class EdgeOfEternities extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Kavaron, Memorial World", 376, Rarity.MYTHIC, mage.cards.k.KavaronMemorialWorld.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Lightless Evangel", 109, Rarity.UNCOMMON, mage.cards.l.LightlessEvangel.class));
|
||||
cards.add(new SetCardInfo("Lumen-Class Frigate", 25, Rarity.RARE, mage.cards.l.LumenClassFrigate.class));
|
||||
cards.add(new SetCardInfo("Luxknight Breacher", 26, Rarity.COMMON, mage.cards.l.LuxknightBreacher.class));
|
||||
cards.add(new SetCardInfo("Mechanozoa", 66, Rarity.COMMON, mage.cards.m.Mechanozoa.class));
|
||||
cards.add(new SetCardInfo("Melded Moxite", 143, Rarity.COMMON, mage.cards.m.MeldedMoxite.class));
|
||||
cards.add(new SetCardInfo("Memorial Team Leader", 144, Rarity.UNCOMMON, mage.cards.m.MemorialTeamLeader.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue