mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
Added additional test for combat (ai shouldn't attack against creatures with double strike).
This commit is contained in:
parent
53e9d2752b
commit
3e3a930794
1 changed files with 17 additions and 0 deletions
|
|
@ -40,4 +40,21 @@ public class DamageDistributionTest extends CardTestBase {
|
||||||
assertLife(playerB, 2);
|
assertLife(playerB, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testNotAttackingVersusDoubleStrike() {
|
||||||
|
addCard(Constants.Zone.BATTLEFIELD, playerA, "Merfolk Looter");
|
||||||
|
addCard(Constants.Zone.BATTLEFIELD, playerB, "Warren Instigator");
|
||||||
|
setLife(playerB, 4);
|
||||||
|
|
||||||
|
execute();
|
||||||
|
|
||||||
|
// should block and die
|
||||||
|
assertPermanentCount(playerA, "Merfolk Looter", 1);
|
||||||
|
assertPermanentCount(playerB, "Warren Instigator", 1);
|
||||||
|
|
||||||
|
// creature is blocked
|
||||||
|
// blocker dies and second strike does nothing
|
||||||
|
assertLife(playerB, 4);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue