mirror of
https://github.com/correl/mage.git
synced 2025-04-13 01:01:11 -09:00
Some minor tooltip text fixes.
This commit is contained in:
parent
260e64ccb7
commit
2cc62aada0
3 changed files with 100 additions and 78 deletions
Mage.Sets/src/mage/sets/magicorigins
Mage.Tests/src/test/java/org/mage/test/cards/replacement
Mage/src/mage/abilities/effects/common
|
@ -78,7 +78,9 @@ public class JaceTelepathUnbound extends CardImpl {
|
||||||
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(5)), false));
|
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(5)), false));
|
||||||
|
|
||||||
// +1: Up to one target creature gets -2/-0 until your next turn.
|
// +1: Up to one target creature gets -2/-0 until your next turn.
|
||||||
Ability ability = new LoyaltyAbility(new BoostTargetEffect(-2, 0, Duration.UntilYourNextTurn), 1);
|
Effect effect = new BoostTargetEffect(-2, 0, Duration.UntilYourNextTurn);
|
||||||
|
effect.setText("Up to one target creature gets -2/-0 until your next turn");
|
||||||
|
Ability ability = new LoyaltyAbility(effect, 1);
|
||||||
ability.addTarget(new TargetCreaturePermanent(0, 1));
|
ability.addTarget(new TargetCreaturePermanent(0, 1));
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
|
|
||||||
|
@ -205,7 +207,6 @@ class JaceTelepathUnboundReplacementEffect extends ReplacementEffectImpl {
|
||||||
class JaceTelepathUnboundEmblem extends Emblem {
|
class JaceTelepathUnboundEmblem extends Emblem {
|
||||||
|
|
||||||
// You get an emblem with "Whenever you cast a spell, target opponent puts the top five cards of his or her library into his or her graveyard".
|
// You get an emblem with "Whenever you cast a spell, target opponent puts the top five cards of his or her library into his or her graveyard".
|
||||||
|
|
||||||
public JaceTelepathUnboundEmblem() {
|
public JaceTelepathUnboundEmblem() {
|
||||||
this.setName("Emblem - Jace");
|
this.setName("Emblem - Jace");
|
||||||
Effect effect = new PutTopCardOfLibraryIntoGraveTargetEffect(5);
|
Effect effect = new PutTopCardOfLibraryIntoGraveTargetEffect(5);
|
||||||
|
|
|
@ -25,11 +25,11 @@
|
||||||
* authors and should not be interpreted as representing official policies, either expressed
|
* authors and should not be interpreted as representing official policies, either expressed
|
||||||
* or implied, of BetaSteward_at_googlemail.com.
|
* or implied, of BetaSteward_at_googlemail.com.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.mage.test.cards.replacement;
|
package org.mage.test.cards.replacement;
|
||||||
|
|
||||||
import mage.constants.PhaseStep;
|
import mage.constants.PhaseStep;
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
|
import mage.counters.CounterType;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||||
|
|
||||||
|
@ -38,7 +38,6 @@ import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||||
*
|
*
|
||||||
* @author LevelX2
|
* @author LevelX2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class ZoneChangeReplacementTest extends CardTestPlayerBase {
|
public class ZoneChangeReplacementTest extends CardTestPlayerBase {
|
||||||
|
|
||||||
// If Darksteel Colossus would be put into a graveyard from anywhere,
|
// If Darksteel Colossus would be put into a graveyard from anywhere,
|
||||||
|
@ -132,8 +131,6 @@ public class ZoneChangeReplacementTest extends CardTestPlayerBase {
|
||||||
|
|
||||||
// Have Progenitus and Humility on the battlefield. Destroy Progenitus. Progenitus should go to the graveyard
|
// Have Progenitus and Humility on the battlefield. Destroy Progenitus. Progenitus should go to the graveyard
|
||||||
// since it doesn't have any replacement effect. Currently, it gets shuffled into the library.
|
// since it doesn't have any replacement effect. Currently, it gets shuffled into the library.
|
||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testHumilityDeactivatesReplacementEffectAbilities() {
|
public void testHumilityDeactivatesReplacementEffectAbilities() {
|
||||||
// Protection from everything
|
// Protection from everything
|
||||||
|
@ -158,7 +155,6 @@ public class ZoneChangeReplacementTest extends CardTestPlayerBase {
|
||||||
assertGraveyardCount(playerA, "Progenitus", 1);
|
assertGraveyardCount(playerA, "Progenitus", 1);
|
||||||
assertGraveyardCount(playerA, 2); // Diabolic Edict + Progenitus
|
assertGraveyardCount(playerA, 2); // Diabolic Edict + Progenitus
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -200,10 +196,8 @@ public class ZoneChangeReplacementTest extends CardTestPlayerBase {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// A creature gets damage from Kumano's Pupils and is destroyed after.
|
// A creature gets damage from Kumano's Pupils and is destroyed after.
|
||||||
// The creature has to go to exile.
|
// The creature has to go to exile.
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testCreatureGetsExiledByKumano() {
|
public void testCreatureGetsExiledByKumano() {
|
||||||
// 3/3
|
// 3/3
|
||||||
|
@ -237,12 +231,9 @@ public class ZoneChangeReplacementTest extends CardTestPlayerBase {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// A creature gets damage from Kumano's Pupils and returns to hand after.
|
// A creature gets damage from Kumano's Pupils and returns to hand after.
|
||||||
// Then it's cast again. This new permanent instance is destroyed. It may not
|
// Then it's cast again. This new permanent instance is destroyed. It may not
|
||||||
// got to exile because only previous instance was damgaged by Kumano's Pupils.
|
// got to exile because only previous instance was damgaged by Kumano's Pupils.
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testPermanentNewInstanceAndKumano() {
|
public void testPermanentNewInstanceAndKumano() {
|
||||||
// 3/3
|
// 3/3
|
||||||
|
@ -262,7 +253,6 @@ public class ZoneChangeReplacementTest extends CardTestPlayerBase {
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1);
|
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1);
|
||||||
addCard(Zone.BATTLEFIELD, playerB, "Plains", 4);
|
addCard(Zone.BATTLEFIELD, playerB, "Plains", 4);
|
||||||
|
|
||||||
|
|
||||||
attack(2, playerB, "Pillarfield Ox");
|
attack(2, playerB, "Pillarfield Ox");
|
||||||
block(2, playerA, "Kumano's Pupils", "Pillarfield Ox");
|
block(2, playerA, "Kumano's Pupils", "Pillarfield Ox");
|
||||||
|
|
||||||
|
@ -286,11 +276,11 @@ public class ZoneChangeReplacementTest extends CardTestPlayerBase {
|
||||||
assertGraveyardCount(playerB, "Pillarfield Ox", 1);
|
assertGraveyardCount(playerB, "Pillarfield Ox", 1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test that a countered spell of a card that goes always to library back
|
* Test that a countered spell of a card that goes always to library back
|
||||||
* instead of into the graveyard.
|
* instead of into the graveyard.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testCounterAndMoveToLibrary() {
|
public void testCounterAndMoveToLibrary() {
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Plains", 7);
|
addCard(Zone.BATTLEFIELD, playerA, "Plains", 7);
|
||||||
|
@ -325,10 +315,9 @@ public class ZoneChangeReplacementTest extends CardTestPlayerBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test that a returned creature of Whip of Erebos
|
* Test that a returned creature of Whip of Erebos got exiled if it is
|
||||||
* got exiled if it is destroyed by a spell
|
* destroyed by a spell
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testWhipOfErebos() {
|
public void testWhipOfErebos() {
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 2);
|
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 2);
|
||||||
|
@ -357,7 +346,40 @@ public class ZoneChangeReplacementTest extends CardTestPlayerBase {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Jace, Vryn’s Prodigy – Jace, Telepath Unbound
|
||||||
|
*
|
||||||
|
* You can't whip him back with Whip of Erebos , flip him and then keep him.
|
||||||
|
* I think he is considered a new object after being exiled by his own
|
||||||
|
* trigger, so whip shouldn't affect him anymore.
|
||||||
|
*/
|
||||||
|
@Test
|
||||||
|
public void testWhipOfErebosTransformPlaneswalker() {
|
||||||
|
// {2}{B}{B}, {T}: Return target creature card from your graveyard to the battlefield.
|
||||||
|
// It gains haste. Exile it at the beginning of the next end step.
|
||||||
|
// If it would leave the battlefield, exile it instead of putting it anywhere else.
|
||||||
|
// Activate this ability only any time you could cast a sorcery.
|
||||||
|
addCard(Zone.BATTLEFIELD, playerB, "Whip of Erebos");
|
||||||
|
addCard(Zone.BATTLEFIELD, playerB, "Swamp", 4);
|
||||||
|
addCard(Zone.GRAVEYARD, playerB, "Swamp", 5);
|
||||||
|
addCard(Zone.GRAVEYARD, playerB, "Jace, Vryn's Prodigy");
|
||||||
|
|
||||||
|
activateAbility(2, PhaseStep.PRECOMBAT_MAIN, playerB, "{2}{B}{B},{T}: Return target creature", "Jace, Vryn's Prodigy");
|
||||||
|
|
||||||
|
// {T}: Draw a card, then discard a card. If there are five or more cards in your graveyard, exile Jace, Vryn's Prodigy, then return him to the battefield transformed under his owner's control.
|
||||||
|
activateAbility(2, PhaseStep.BEGIN_COMBAT, playerB, "{T}: Draw a card, then discard a card. If there are five or more cards in your graveyard");
|
||||||
|
|
||||||
|
activateAbility(2, PhaseStep.POSTCOMBAT_MAIN, playerB, "+1: Up to one target creature gets -2/-0 until your next turn");
|
||||||
|
setStopAt(3, PhaseStep.UNTAP);
|
||||||
|
execute();
|
||||||
|
|
||||||
|
assertLife(playerA, 20);
|
||||||
|
assertLife(playerB, 20);
|
||||||
|
|
||||||
|
assertPermanentCount(playerB, "Jace, Vryn's Prodigy", 0);
|
||||||
|
assertPermanentCount(playerB, "Jace, Telepath Unbound", 1);
|
||||||
|
assertCounterCount("Jace, Telepath Unbound", CounterType.LOYALTY, 6);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
* authors and should not be interpreted as representing official policies, either expressed
|
* authors and should not be interpreted as representing official policies, either expressed
|
||||||
* or implied, of BetaSteward_at_googlemail.com.
|
* or implied, of BetaSteward_at_googlemail.com.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package mage.abilities.effects.common;
|
package mage.abilities.effects.common;
|
||||||
|
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
|
|
Loading…
Add table
Reference in a new issue