mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Some minor changes.
This commit is contained in:
parent
dc45aaf02c
commit
b5a1971aa3
2 changed files with 39 additions and 3 deletions
|
@ -24,8 +24,10 @@ public final class SphinxOfJwarIsle extends CardImpl {
|
||||||
this.power = new MageInt(5);
|
this.power = new MageInt(5);
|
||||||
this.toughness = new MageInt(5);
|
this.toughness = new MageInt(5);
|
||||||
|
|
||||||
|
// Flying, Shroud (This creature can't be the target of spells or abilities.)
|
||||||
this.addAbility(FlyingAbility.getInstance());
|
this.addAbility(FlyingAbility.getInstance());
|
||||||
this.addAbility(ShroudAbility.getInstance());
|
this.addAbility(ShroudAbility.getInstance());
|
||||||
|
// You may look at the top card of your library any time.
|
||||||
this.addAbility(new SimpleStaticAbility(new LookAtTopCardOfLibraryAnyTimeEffect()));
|
this.addAbility(new SimpleStaticAbility(new LookAtTopCardOfLibraryAnyTimeEffect()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -158,9 +158,10 @@ public class ManaOptionsTest extends CardTestPlayerBase {
|
||||||
// {2}, {T}: Choose a color. Add an amount of mana of that color equal to your devotion to that color. (Your devotion to a color is the number of mana symbols of that color in the mana costs of permanents you control.)
|
// {2}, {T}: Choose a color. Add an amount of mana of that color equal to your devotion to that color. (Your devotion to a color is the number of mana symbols of that color in the mana costs of permanents you control.)
|
||||||
@Test
|
@Test
|
||||||
public void testNykthos1() {
|
public void testNykthos1() {
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Sedge Scorpion", 4);
|
addCard(Zone.BATTLEFIELD, playerA, "Sedge Scorpion", 4); // Creature {G} (1/1)
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Forest", 3);
|
addCard(Zone.BATTLEFIELD, playerA, "Forest", 3);
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "Nykthos, Shrine to Nyx", 1);
|
addCard(Zone.BATTLEFIELD, playerA, "Silvercoat Lion", 4); // Creature {1}{W}
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Nykthos, Shrine to Nyx", 1); // Land
|
||||||
|
|
||||||
setStopAt(1, PhaseStep.UPKEEP);
|
setStopAt(1, PhaseStep.UPKEEP);
|
||||||
execute();
|
execute();
|
||||||
|
@ -168,9 +169,10 @@ public class ManaOptionsTest extends CardTestPlayerBase {
|
||||||
ManaOptions manaOptions = playerA.getAvailableManaTest(currentGame);
|
ManaOptions manaOptions = playerA.getAvailableManaTest(currentGame);
|
||||||
assertDuplicatedManaOptions(manaOptions);
|
assertDuplicatedManaOptions(manaOptions);
|
||||||
|
|
||||||
Assert.assertEquals("mana variations don't fit", 2, manaOptions.size());
|
Assert.assertEquals("mana variations don't fit", 3, manaOptions.size());
|
||||||
assertManaOptions("{C}{G}{G}{G}", manaOptions);
|
assertManaOptions("{C}{G}{G}{G}", manaOptions);
|
||||||
assertManaOptions("{G}{G}{G}{G}{G}", manaOptions);
|
assertManaOptions("{G}{G}{G}{G}{G}", manaOptions);
|
||||||
|
assertManaOptions("{W}{W}{W}{W}{G}", manaOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -271,6 +273,38 @@ public class ManaOptionsTest extends CardTestPlayerBase {
|
||||||
assertManaOptions("{G}{G}{G}{G}{G}", manaOptions);
|
assertManaOptions("{G}{G}{G}{G}{G}", manaOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testNykthos6() {
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Sedge Scorpion", 4); // Creature {G} (1/1)
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Forest", 3);
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Silvercoat Lion", 4); // Creature {1}{W}
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Nykthos, Shrine to Nyx", 1); // Land
|
||||||
|
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Radha, Heart of Keld");
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Precognition Field");
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Mystic Forge");
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Experimental Frenzy");
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Elsha of the Infinite");
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Bolas's Citadel");
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Verge Rangers");
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Vivien, Monsters' Advocate");
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Vizier of the Menagerie");
|
||||||
|
|
||||||
|
setStopAt(1, PhaseStep.UPKEEP);
|
||||||
|
execute();
|
||||||
|
|
||||||
|
ManaOptions manaOptions = playerA.getAvailableManaTest(currentGame);
|
||||||
|
assertDuplicatedManaOptions(manaOptions);
|
||||||
|
|
||||||
|
Assert.assertEquals("mana variations don't fit", 6, manaOptions.size());
|
||||||
|
assertManaOptions("{C}{G}{G}{G}", manaOptions);
|
||||||
|
assertManaOptions("{G}{G}{G}{G}{G}{G}{G}{G}{G}", manaOptions);
|
||||||
|
assertManaOptions("{W}{W}{W}{W}{W}{W}{G}", manaOptions);
|
||||||
|
assertManaOptions("{R}{R}{R}{G}", manaOptions);
|
||||||
|
assertManaOptions("{B}{B}{B}{G}", manaOptions);
|
||||||
|
assertManaOptions("{U}{U}{G}", manaOptions);
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testDuplicatedDontHave1() {
|
public void testDuplicatedDontHave1() {
|
||||||
addCard(Zone.BATTLEFIELD, playerA, "City of Brass", 2); // Any
|
addCard(Zone.BATTLEFIELD, playerA, "City of Brass", 2); // Any
|
||||||
|
|
Loading…
Reference in a new issue