1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-11 17:00:08 -09:00

* Some minor changes.

This commit is contained in:
LevelX2 2015-05-02 12:19:44 +02:00
parent 9e8157827a
commit 0069241027
8 changed files with 10 additions and 9 deletions
Mage.Sets/src/mage/sets
Mage.Tests/src/test/java/org/mage/test/cards/triggers
Mage/src/mage/abilities/effects/common/continuous

View file

@ -78,10 +78,10 @@ public class TezzeretAgentOfBolas extends CardImpl {
// -1: Target artifact becomes an artifact creature with base power and toughness 5/5.
Effect effect = new AddCardTypeTargetEffect(CardType.CREATURE, Duration.EndOfGame);
effect.setText("");
effect.setText("Target artifact becomes an artifact creature");
LoyaltyAbility ability1 = new LoyaltyAbility(effect, -1);
effect = new SetPowerToughnessTargetEffect(5,5, Duration.EndOfGame);
effect.setText("Target artifact becomes an artifact creature with base power and toughness 5/5");
effect.setText("with base power and toughness 5/5");
ability1.addEffect(effect);
ability1.addTarget(new TargetArtifactPermanent());
this.addAbility(ability1);

View file

@ -37,7 +37,7 @@ public class ArmoredPegasus extends mage.sets.tempest.ArmoredPegasus {
public ArmoredPegasus(UUID ownerId) {
super(ownerId);
this.cardNumber = 7;
this.cardNumber = 99; // TODO: FIX the number;
this.expansionSetCode = "S00";
}

View file

@ -37,7 +37,7 @@ public class Disenchant extends mage.sets.tempest.Disenchant {
public Disenchant(UUID ownerId) {
super(ownerId);
this.cardNumber = 6;
this.cardNumber = 99; // TODO: FIX the number;
this.expansionSetCode = "S00";
}

View file

@ -37,7 +37,7 @@ public class Flight extends mage.sets.magic2012.Flight {
public Flight(UUID ownerId) {
super(ownerId);
this.cardNumber = 2;
this.cardNumber = 99; // TODO: FIX the number
this.expansionSetCode = "S00";
}

View file

@ -37,7 +37,7 @@ public class Shock extends mage.sets.tenth.Shock {
public Shock(UUID ownerId) {
super(ownerId);
this.cardNumber = 1;
this.cardNumber = 99; // TODO: FIX the number;
this.expansionSetCode = "S00";
}

View file

@ -37,7 +37,7 @@ public class VenerableMonk extends mage.sets.tenth.VenerableMonk {
public VenerableMonk(UUID ownerId) {
super(ownerId);
this.cardNumber = 5;
this.cardNumber = 99; // TODO: FIX the number;
this.expansionSetCode = "S00";
}

View file

@ -103,8 +103,8 @@ public class SpellskiteTest extends CardTestPlayerBase {
assertPermanentCount(playerA, "Spellskite", 1);
assertPermanentCount(playerB, "Frost Titan", 1);
assertTapped("Mountain", false);
assertTapped("Spellskite", true);
assertTapped("Mountain", false);
}

View file

@ -40,7 +40,8 @@ import mage.game.permanent.Permanent;
* @author nantuko
*/
public class AddCardTypeTargetEffect extends ContinuousEffectImpl {
private CardType addedCardType;
private final CardType addedCardType;
public AddCardTypeTargetEffect(CardType addedCardType, Duration duration) {
super(duration, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit);