mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
updated some verify errors
This commit is contained in:
parent
4d770d3aac
commit
0840fa9e0d
4 changed files with 15 additions and 16 deletions
|
@ -19,6 +19,7 @@ import mage.cards.CardSetInfo;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.Outcome;
|
import mage.constants.Outcome;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
|
import mage.constants.SuperType;
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26,20 +27,21 @@ import mage.constants.Zone;
|
||||||
* @author Rystan
|
* @author Rystan
|
||||||
*/
|
*/
|
||||||
public class BlackbladeReforged extends CardImpl {
|
public class BlackbladeReforged extends CardImpl {
|
||||||
|
|
||||||
private static final FilterControlledPermanent filter = new FilterControlledLandPermanent();
|
private static final FilterControlledPermanent filter = new FilterControlledLandPermanent();
|
||||||
|
|
||||||
public BlackbladeReforged(UUID ownerId, CardSetInfo setInfo) {
|
public BlackbladeReforged(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId,setInfo, new CardType[]{CardType.ARTIFACT}, "{2}");
|
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}");
|
||||||
|
addSuperType(SuperType.LEGENDARY);
|
||||||
this.subtype.add(SubType.EQUIPMENT);
|
this.subtype.add(SubType.EQUIPMENT);
|
||||||
|
|
||||||
// Equipped creature gets +1/+1 for each land you control.
|
// Equipped creature gets +1/+1 for each land you control.
|
||||||
PermanentsOnBattlefieldCount count = new PermanentsOnBattlefieldCount(filter);
|
PermanentsOnBattlefieldCount count = new PermanentsOnBattlefieldCount(filter);
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(count, count)));
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(count, count)));
|
||||||
|
|
||||||
// Equip legendary creature (3)
|
// Equip legendary creature (3)
|
||||||
this.addAbility(new EquipLegendaryAbility(Outcome.AddAbility, new GenericManaCost(3)));
|
this.addAbility(new EquipLegendaryAbility(Outcome.AddAbility, new GenericManaCost(3)));
|
||||||
|
|
||||||
// Equip {7}
|
// Equip {7}
|
||||||
this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(7)));
|
this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(7)));
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,13 +44,13 @@ import mage.target.TargetPermanent;
|
||||||
public class BlessedLight extends CardImpl {
|
public class BlessedLight extends CardImpl {
|
||||||
|
|
||||||
private static final FilterPermanent filter = new FilterPermanent("creature or enchantment");
|
private static final FilterPermanent filter = new FilterPermanent("creature or enchantment");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(Predicates.or(new CardTypePredicate(CardType.CREATURE), new CardTypePredicate(CardType.ENCHANTMENT)));
|
filter.add(Predicates.or(new CardTypePredicate(CardType.CREATURE), new CardTypePredicate(CardType.ENCHANTMENT)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public BlessedLight(UUID ownerId, CardSetInfo setInfo) {
|
public BlessedLight(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{4}{W}");
|
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{W}");
|
||||||
|
|
||||||
|
|
||||||
// Exile target creature or enchantment.
|
// Exile target creature or enchantment.
|
||||||
getSpellAbility().addEffect(new ExileTargetEffect());
|
getSpellAbility().addEffect(new ExileTargetEffect());
|
||||||
|
|
|
@ -29,19 +29,12 @@ package mage.cards.j;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.Ability;
|
|
||||||
import mage.abilities.common.SimpleStaticAbility;
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
import mage.abilities.condition.common.SourceIsSpellCondition;
|
|
||||||
import mage.abilities.costs.AlternativeCostSourceAbility;
|
|
||||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
|
||||||
import mage.abilities.effects.ContinuousEffectImpl;
|
|
||||||
import mage.abilities.effects.common.continuous.WUBRGInsteadEffect;
|
import mage.abilities.effects.common.continuous.WUBRGInsteadEffect;
|
||||||
import mage.abilities.keyword.FlyingAbility;
|
import mage.abilities.keyword.FlyingAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.CardSetInfo;
|
import mage.cards.CardSetInfo;
|
||||||
import mage.constants.*;
|
import mage.constants.*;
|
||||||
import mage.game.Game;
|
|
||||||
import mage.players.Player;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -50,8 +43,9 @@ import mage.players.Player;
|
||||||
public class JodahArchmageEternal extends CardImpl {
|
public class JodahArchmageEternal extends CardImpl {
|
||||||
|
|
||||||
public JodahArchmageEternal(UUID ownerId, CardSetInfo setInfo) {
|
public JodahArchmageEternal(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{U}{R}{W}");
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}{R}{W}");
|
||||||
this.addSuperType(SuperType.LEGENDARY);
|
this.addSuperType(SuperType.LEGENDARY);
|
||||||
|
this.subtype.add(SubType.HUMAN);
|
||||||
this.subtype.add(SubType.WIZARD);
|
this.subtype.add(SubType.WIZARD);
|
||||||
|
|
||||||
this.power = new MageInt(4);
|
this.power = new MageInt(4);
|
||||||
|
@ -59,7 +53,7 @@ public class JodahArchmageEternal extends CardImpl {
|
||||||
|
|
||||||
// Flying
|
// Flying
|
||||||
this.addAbility(FlyingAbility.getInstance());
|
this.addAbility(FlyingAbility.getInstance());
|
||||||
|
|
||||||
// You may pay WUBRG rather than pay the mana cost for spells that you cast.
|
// You may pay WUBRG rather than pay the mana cost for spells that you cast.
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new WUBRGInsteadEffect()));
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new WUBRGInsteadEffect()));
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
package mage.cards.s;
|
package mage.cards.s;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
import mage.MageInt;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.common.DiesTriggeredAbility;
|
import mage.abilities.common.DiesTriggeredAbility;
|
||||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||||
|
@ -46,9 +47,11 @@ public class SparringConstruct extends CardImpl {
|
||||||
|
|
||||||
public SparringConstruct(UUID ownerId, CardSetInfo setInfo) {
|
public SparringConstruct(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{1}");
|
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{1}");
|
||||||
|
|
||||||
this.subtype.add(SubType.CONSTRUCT);
|
this.subtype.add(SubType.CONSTRUCT);
|
||||||
|
|
||||||
|
this.power = new MageInt(1);
|
||||||
|
this.toughness = new MageInt(1);
|
||||||
|
|
||||||
// When Sparring Construct dies, put a +1/+1 counter on target creature you control.
|
// When Sparring Construct dies, put a +1/+1 counter on target creature you control.
|
||||||
Ability ability = new DiesTriggeredAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance()), false);
|
Ability ability = new DiesTriggeredAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance()), false);
|
||||||
ability.addTarget(new TargetControlledCreaturePermanent());
|
ability.addTarget(new TargetControlledCreaturePermanent());
|
||||||
|
|
Loading…
Reference in a new issue