[ZNR] Implemented Kor Blademaster

This commit is contained in:
Evan Kranzler 2020-09-02 15:47:57 -04:00
parent bd5e370b2d
commit ff3bcf1f66
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,55 @@
package mage.cards.k;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.common.continuous.GainAbilityAllEffect;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.abilities.keyword.DoubleStrikeAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.FilterPermanent;
import mage.filter.common.FilterControlledPermanent;
import mage.filter.predicate.permanent.EquippedPredicate;
/**
* @author TheElk801
*/
public final class KorBlademaster extends CardImpl {
private static final FilterPermanent filter
= new FilterControlledPermanent(SubType.WARRIOR, "Equipped Warriors you control");
static {
filter.add(EquippedPredicate.instance);
}
public KorBlademaster(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}");
this.subtype.add(SubType.KOR);
this.subtype.add(SubType.WARRIOR);
this.power = new MageInt(1);
this.toughness = new MageInt(1);
// Double strike
this.addAbility(DoubleStrikeAbility.getInstance());
// Equipped Warriors you control have double strike.
this.addAbility(new SimpleStaticAbility(new GainAbilityAllEffect(
DoubleStrikeAbility.getInstance(), Duration.WhileOnBattlefield, filter
)));
}
private KorBlademaster(final KorBlademaster card) {
super(card);
}
@Override
public KorBlademaster copy() {
return new KorBlademaster(this);
}
}

View file

@ -88,6 +88,7 @@ public final class ZendikarRising extends ExpansionSet {
cards.add(new SetCardInfo("Island", 269, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Jace, Mirror Mage", 63, Rarity.MYTHIC, mage.cards.j.JaceMirrorMage.class));
cards.add(new SetCardInfo("Kabira Outrider", 18, Rarity.COMMON, mage.cards.k.KabiraOutrider.class));
cards.add(new SetCardInfo("Kor Blademaster", 21, Rarity.COMMON, mage.cards.k.KorBlademaster.class));
cards.add(new SetCardInfo("Lavaglide Pathway", 264, Rarity.RARE, mage.cards.l.LavaglidePathway.class));
cards.add(new SetCardInfo("Legion Angel", 318, Rarity.RARE, mage.cards.l.LegionAngel.class));
cards.add(new SetCardInfo("Lotus Cobra", 193, Rarity.RARE, mage.cards.l.LotusCobra.class));