mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
* Some minor changes.
This commit is contained in:
parent
9e8157827a
commit
0069241027
8 changed files with 10 additions and 9 deletions
|
|
@ -78,10 +78,10 @@ public class TezzeretAgentOfBolas extends CardImpl {
|
||||||
|
|
||||||
// -1: Target artifact becomes an artifact creature with base power and toughness 5/5.
|
// -1: Target artifact becomes an artifact creature with base power and toughness 5/5.
|
||||||
Effect effect = new AddCardTypeTargetEffect(CardType.CREATURE, Duration.EndOfGame);
|
Effect effect = new AddCardTypeTargetEffect(CardType.CREATURE, Duration.EndOfGame);
|
||||||
effect.setText("");
|
effect.setText("Target artifact becomes an artifact creature");
|
||||||
LoyaltyAbility ability1 = new LoyaltyAbility(effect, -1);
|
LoyaltyAbility ability1 = new LoyaltyAbility(effect, -1);
|
||||||
effect = new SetPowerToughnessTargetEffect(5,5, Duration.EndOfGame);
|
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.addEffect(effect);
|
||||||
ability1.addTarget(new TargetArtifactPermanent());
|
ability1.addTarget(new TargetArtifactPermanent());
|
||||||
this.addAbility(ability1);
|
this.addAbility(ability1);
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ public class ArmoredPegasus extends mage.sets.tempest.ArmoredPegasus {
|
||||||
|
|
||||||
public ArmoredPegasus(UUID ownerId) {
|
public ArmoredPegasus(UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.cardNumber = 7;
|
this.cardNumber = 99; // TODO: FIX the number;
|
||||||
this.expansionSetCode = "S00";
|
this.expansionSetCode = "S00";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ public class Disenchant extends mage.sets.tempest.Disenchant {
|
||||||
|
|
||||||
public Disenchant(UUID ownerId) {
|
public Disenchant(UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.cardNumber = 6;
|
this.cardNumber = 99; // TODO: FIX the number;
|
||||||
this.expansionSetCode = "S00";
|
this.expansionSetCode = "S00";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ public class Flight extends mage.sets.magic2012.Flight {
|
||||||
|
|
||||||
public Flight(UUID ownerId) {
|
public Flight(UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.cardNumber = 2;
|
this.cardNumber = 99; // TODO: FIX the number
|
||||||
this.expansionSetCode = "S00";
|
this.expansionSetCode = "S00";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ public class Shock extends mage.sets.tenth.Shock {
|
||||||
|
|
||||||
public Shock(UUID ownerId) {
|
public Shock(UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.cardNumber = 1;
|
this.cardNumber = 99; // TODO: FIX the number;
|
||||||
this.expansionSetCode = "S00";
|
this.expansionSetCode = "S00";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ public class VenerableMonk extends mage.sets.tenth.VenerableMonk {
|
||||||
|
|
||||||
public VenerableMonk(UUID ownerId) {
|
public VenerableMonk(UUID ownerId) {
|
||||||
super(ownerId);
|
super(ownerId);
|
||||||
this.cardNumber = 5;
|
this.cardNumber = 99; // TODO: FIX the number;
|
||||||
this.expansionSetCode = "S00";
|
this.expansionSetCode = "S00";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -103,8 +103,8 @@ public class SpellskiteTest extends CardTestPlayerBase {
|
||||||
assertPermanentCount(playerA, "Spellskite", 1);
|
assertPermanentCount(playerA, "Spellskite", 1);
|
||||||
assertPermanentCount(playerB, "Frost Titan", 1);
|
assertPermanentCount(playerB, "Frost Titan", 1);
|
||||||
|
|
||||||
assertTapped("Mountain", false);
|
|
||||||
assertTapped("Spellskite", true);
|
assertTapped("Spellskite", true);
|
||||||
|
assertTapped("Mountain", false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,8 @@ import mage.game.permanent.Permanent;
|
||||||
* @author nantuko
|
* @author nantuko
|
||||||
*/
|
*/
|
||||||
public class AddCardTypeTargetEffect extends ContinuousEffectImpl {
|
public class AddCardTypeTargetEffect extends ContinuousEffectImpl {
|
||||||
private CardType addedCardType;
|
|
||||||
|
private final CardType addedCardType;
|
||||||
|
|
||||||
public AddCardTypeTargetEffect(CardType addedCardType, Duration duration) {
|
public AddCardTypeTargetEffect(CardType addedCardType, Duration duration) {
|
||||||
super(duration, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit);
|
super(duration, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue