mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
fixed trample and deathtouch not working when deathtouch is gained by an outside source (fixes #7633)
This commit is contained in:
parent
2daf1945e7
commit
6091c7eae3
2 changed files with 21 additions and 1 deletions
|
|
@ -180,4 +180,21 @@ public class DamageDistributionTest extends CardTestPlayerBase {
|
|||
assertLife(playerB, 20);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testTrampleDeathtouch() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 2);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Colossal Dreadmaw");
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Colossapede");
|
||||
addCard(Zone.HAND, playerA, "Bladebrand");
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Bladebrand", "Colossal Dreadmaw");
|
||||
|
||||
attack(1, playerA, "Colossal Dreadmaw");
|
||||
block(1, playerB, "Colossapede", "Colossal Dreadmaw");
|
||||
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertLife(playerB, 20 - 5);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue