mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Implemented Lancer Sliver
This commit is contained in:
parent
6eca9c5bfe
commit
7bd016d4cb
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/l/LancerSliver.java
Normal file
43
Mage.Sets/src/mage/cards/l/LancerSliver.java
Normal file
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.l;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.keyword.FirstStrikeAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class LancerSliver extends CardImpl {
|
||||
|
||||
public LancerSliver(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}");
|
||||
|
||||
this.subtype.add(SubType.SLIVER);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Sliver creatures you control have first strike.
|
||||
this.addAbility(new SimpleStaticAbility(new GainAbilityControlledEffect(
|
||||
FirstStrikeAbility.getInstance(), Duration.WhileOnBattlefield,
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_SLIVERS
|
||||
)));
|
||||
}
|
||||
|
||||
private LancerSliver(final LancerSliver card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LancerSliver copy() {
|
||||
return new LancerSliver(this);
|
||||
}
|
||||
}
|
|
@ -117,6 +117,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("King of the Pride", 16, Rarity.UNCOMMON, mage.cards.k.KingOfThePride.class));
|
||||
cards.add(new SetCardInfo("Knight of Old Benalia", 17, Rarity.COMMON, mage.cards.k.KnightOfOldBenalia.class));
|
||||
cards.add(new SetCardInfo("Krosan Tusker", 169, Rarity.COMMON, mage.cards.k.KrosanTusker.class));
|
||||
cards.add(new SetCardInfo("Lancer Sliver", 18, Rarity.COMMON, mage.cards.l.LancerSliver.class));
|
||||
cards.add(new SetCardInfo("Lava Dart", 134, Rarity.COMMON, mage.cards.l.LavaDart.class));
|
||||
cards.add(new SetCardInfo("Lavabelly Sliver", 207, Rarity.UNCOMMON, mage.cards.l.LavabellySliver.class));
|
||||
cards.add(new SetCardInfo("Lesser Masticore", 225, Rarity.UNCOMMON, mage.cards.l.LesserMasticore.class));
|
||||
|
|
Loading…
Reference in a new issue