mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
fix casting from opponent's graveyard
This commit is contained in:
parent
437f2ba231
commit
69e9f3de8a
2 changed files with 7 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ public class CastFromGraveyardOnceTest extends CardTestPlayerBase {
|
|||
|
||||
private static final String bonesplitter = "Bonesplitter"; // 1 mana equip 1 for +2/+0
|
||||
private static final String kitesail = "Kitesail"; // 2 mana equip 2 for +1/+0 and flying
|
||||
private static final String machete = "Trusty Machete"; // 1 mana equip 2 for +2/+1
|
||||
private static final String creature = "Field Creeper"; // 2 mana 2/1
|
||||
private static final String halvar = "Halvar, God of Battle"; // MDFC front side - creature 2WW
|
||||
private static final String sword = "Sword of the Realms"; // MDFC back side - equipment 1W
|
||||
|
|
@ -34,12 +35,14 @@ public class CastFromGraveyardOnceTest extends CardTestPlayerBase {
|
|||
addCard(Zone.BATTLEFIELD, playerA, danitha);
|
||||
addCard(Zone.GRAVEYARD, playerA, bonesplitter);
|
||||
addCard(Zone.GRAVEYARD, playerA, kitesail);
|
||||
addCard(Zone.GRAVEYARD, playerB, machete);
|
||||
addCard(Zone.GRAVEYARD, playerA, creature);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Wastes", 3);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Raff Capashen, Ship's Mage"); // historic spells have flash
|
||||
|
||||
checkPlayableAbility("bonesplitter your turn", 1, PhaseStep.PRECOMBAT_MAIN, playerA, "Cast " + bonesplitter, true);
|
||||
checkPlayableAbility("kitesail your turn", 1, PhaseStep.PRECOMBAT_MAIN, playerA, "Cast " + kitesail, true);
|
||||
checkPlayableAbility("only your graveyard", 1, PhaseStep.PRECOMBAT_MAIN, playerA, "Cast " + machete, false);
|
||||
checkPlayableAbility("creature not permitted", 1, PhaseStep.PRECOMBAT_MAIN, playerA, "Cast " + creature, false);
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, kitesail);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue