mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
[M13] Faith's Reward
This commit is contained in:
parent
de1bbb37d8
commit
4889e13e10
2 changed files with 159 additions and 0 deletions
|
|
@ -0,0 +1,28 @@
|
|||
package org.mage.test.cards.single;
|
||||
|
||||
import mage.Constants;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
/**
|
||||
* @author Loki
|
||||
*/
|
||||
public class FaithsRewardTest extends CardTestPlayerBase {
|
||||
|
||||
@Test
|
||||
public void testCard() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Plains", 5);
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Mountain", 5);
|
||||
addCard(Constants.Zone.HAND, playerA, "Lightning Bolt", 1);
|
||||
addCard(Constants.Zone.HAND, playerA, "Faith's Reward", 1);
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "White Knight");
|
||||
|
||||
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Lightning Bolt", "White Knight");
|
||||
castSpell(1, Constants.PhaseStep.POSTCOMBAT_MAIN, playerA, "Faith's Reward");
|
||||
|
||||
setStopAt(1, Constants.PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerA, "White Knight", 1);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue