mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Fixed Mortician Beetle
This commit is contained in:
parent
22acb87c37
commit
f786727b40
2 changed files with 44 additions and 4 deletions
|
|
@ -0,0 +1,35 @@
|
|||
package org.mage.test.cards.abilities.oneshot.sacrifice;
|
||||
|
||||
import mage.Constants;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
/**
|
||||
* @author noxx
|
||||
*/
|
||||
public class MorticianBeetleTest extends CardTestPlayerBase {
|
||||
|
||||
/**
|
||||
* Checks that pro black can still be sacrificed
|
||||
*/
|
||||
@Test
|
||||
public void testSacrifice() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Swamp", 4);
|
||||
addCard(Constants.Zone.HAND, playerA, "Cruel Edict");
|
||||
addCard(Constants.Zone.HAND, playerA, "Geth's Verdict");
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Mortician Beetle");
|
||||
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerB, "Savannah Lions");
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerB, "Sigiled Paladin");
|
||||
|
||||
|
||||
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Cruel Edict");
|
||||
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Geth's Verdict");
|
||||
|
||||
setStopAt(1, Constants.PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerB, 0);
|
||||
assertPowerToughness(playerA, "Mortician Beetle", 3, 3);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue