fix Grinning Totem, Thada Adel, Commune with Lava

opponent was able to cast the exiled cards

also changed Knacksaw Clique to use the same templating as Ornate Kanzashi
This commit is contained in:
Neil Gentleman 2015-11-22 12:28:14 -08:00
parent 99d33eb771
commit 230d1d37bd
7 changed files with 59 additions and 56 deletions

View file

@ -0,0 +1,24 @@
package org.mage.test.cards.single.mir;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
public class GrinningTotemTest extends CardTestPlayerBase {
@Test
public void testCardsGoToGraveyard() {
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 2);
addCard(Zone.BATTLEFIELD, playerA, "Grinning Totem");
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{2},{T}, Sacrifice {this}: Search target opponent's library for a card and exile it", playerB);
setStopAt(3, PhaseStep.BEGIN_COMBAT);
execute();
assertGraveyardCount(playerA, 1); // Grinning Totem
assertGraveyardCount(playerB, 1); // the exiled Mountain
}
}