* Port Town - Fixed that it did no longer work with basic Plains (fixes #3633).

This commit is contained in:
LevelX2 2017-07-09 19:22:24 +02:00
parent 88a8612b06
commit a28dc88479
3 changed files with 47 additions and 14 deletions

View file

@ -0,0 +1,40 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.mage.test.cards.abilities.oneshot.destroy;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
/**
*
* @author LevelX2
*/
public class HeatStrokeTest extends CardTestPlayerBase {
@Test
public void testWithValidTarget() {
addCard(Zone.BATTLEFIELD, playerA, "Heat Stroke");
addCard(Zone.BATTLEFIELD, playerA, "Pillarfield Ox");
addCard(Zone.BATTLEFIELD, playerB, "Pillarfield Ox");
attack(2, playerB, "Pillarfield Ox");
block(2, playerA, "Pillarfield Ox", "Pillarfield Ox");
setStopAt(2, PhaseStep.POSTCOMBAT_MAIN);
execute();
assertPermanentCount(playerA, "Pillarfield Ox", 0);
assertPermanentCount(playerB, "Pillarfield Ox", 0);
assertGraveyardCount(playerA, "Pillarfield Ox", 1);
assertGraveyardCount(playerB, "Pillarfield Ox", 1);
}
}