mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Redesigned handling of attack allowed check related to the complete attack.
This commit is contained in:
parent
359dc3f537
commit
4d01eb143a
15 changed files with 267 additions and 176 deletions
|
|
@ -48,6 +48,23 @@ public class CantAttackOrBlockAloneTest extends CardTestPlayerBase {
|
|||
assertLife(playerA, 15);
|
||||
}
|
||||
|
||||
/**
|
||||
* Try to attack with two Flunkies
|
||||
*/
|
||||
@Test
|
||||
public void testCanAttackWithTwo() {
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Mogg Flunkies", 2); // 3/3
|
||||
|
||||
attack(2, playerB, "Mogg Flunkies");
|
||||
attack(2, playerB, "Mogg Flunkies");
|
||||
|
||||
setStopAt(2, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertLife(playerA, 14);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Try to block alone
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue