mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
* Bolas's Citadel - fixed that it can't play cards with mana abilities;
This commit is contained in:
parent
893bcbb01f
commit
a381c1954c
2 changed files with 123 additions and 83 deletions
|
|
@ -2,11 +2,11 @@ package org.mage.test.cards.cost.alternate;
|
|||
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
public class BolassCitadelTest extends CardTestPlayerBase {
|
||||
|
||||
@Test
|
||||
public void testCastEagerCadet() {
|
||||
/*
|
||||
|
|
@ -27,8 +27,8 @@ public class BolassCitadelTest extends CardTestPlayerBase {
|
|||
assertAllCommandsUsed();
|
||||
assertHandCount(playerA, 0);
|
||||
assertPermanentCount(playerA, "Eager Cadet", 1);
|
||||
assertGraveyardCount(playerA,0);
|
||||
assertLife(playerA, 19);
|
||||
assertGraveyardCount(playerA, 0);
|
||||
assertLife(playerA, 19);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
@ -55,7 +55,27 @@ public class BolassCitadelTest extends CardTestPlayerBase {
|
|||
assertHandCount(playerA, 0);
|
||||
assertPermanentCount(playerA, "Food", 1);
|
||||
assertExileCount(playerA, "Curious Pair", 1);
|
||||
assertGraveyardCount(playerA,0);
|
||||
assertLife(playerA, 19);
|
||||
assertGraveyardCount(playerA, 0);
|
||||
assertLife(playerA, 19);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testArtifactCast() {
|
||||
removeAllCardsFromLibrary(playerA);
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Bolas's Citadel");
|
||||
addCard(Zone.LIBRARY, playerA, "Fellwar Stone");
|
||||
|
||||
// cast from top library for 2 life
|
||||
//showAvaileableAbilities("before", 1, PhaseStep.PRECOMBAT_MAIN, playerA);
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Fellwar Stone");
|
||||
|
||||
setStrictChooseMode(true);
|
||||
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);
|
||||
execute();
|
||||
assertAllCommandsUsed();
|
||||
|
||||
assertPermanentCount(playerA, "Fellwar Stone", 1);
|
||||
assertLife(playerA, 20 - 2);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue