mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
[RAV] Leave No Trace, 3 player reward cards
This commit is contained in:
parent
90116082ea
commit
cd8f0ae2fe
5 changed files with 212 additions and 0 deletions
|
|
@ -0,0 +1,30 @@
|
|||
package org.mage.test.cards.destroy;
|
||||
|
||||
import mage.Constants;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestBase;
|
||||
|
||||
/**
|
||||
* @author Loki
|
||||
*/
|
||||
public class LeaveNoTraceTest extends CardTestBase {
|
||||
|
||||
@Test
|
||||
public void testDestroy() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Plains");
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Plains");
|
||||
addCard(Constants.Zone.HAND, playerA, "Leave No Trace");
|
||||
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerB, "Asceticism"); // Green
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerB, "Awakening Zone"); // Green
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerB, "Back from the Brink"); // Blue
|
||||
|
||||
castSpell(playerA, "Leave No Trace");
|
||||
addFixedTarget(playerA, "Leave No Trace", "Asceticism");
|
||||
|
||||
execute();
|
||||
assertPermanentCount(playerB, "Asceticism", 0);
|
||||
assertPermanentCount(playerB, "Awakening Zone", 0);
|
||||
assertPermanentCount(playerB, "Back from the Brink", 1);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue