mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
* Bushido - Fixed that it triggerd wrongly for each blocker instead of only once if blocked.
This commit is contained in:
parent
0044c9df78
commit
88d4e2b965
2 changed files with 54 additions and 9 deletions
|
|
@ -46,4 +46,24 @@ public class BushidoTest extends CardTestPlayerBase {
|
|||
assertPermanentCount(playerB, "Elite Vanguard", 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests boosting on double block, it may only trigger once
|
||||
*/
|
||||
@Test
|
||||
public void testMultipleBlocker() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Llanowar Elves", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Quirion Elves", 1);
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Isao, Enlightened Bushi"); // 2/1 Bushido 2
|
||||
attack(2, playerB, "Isao, Enlightened Bushi");
|
||||
block(2, playerA, "Llanowar Elves", "Isao, Enlightened Bushi");
|
||||
block(2, playerA, "Quirion Elves", "Isao, Enlightened Bushi");
|
||||
|
||||
setStopAt(2, PhaseStep.END_COMBAT);
|
||||
execute();
|
||||
|
||||
assertPowerToughness(playerB, "Isao, Enlightened Bushi", 4, 3);
|
||||
assertPermanentCount(playerA, "Llanowar Elves", 0);
|
||||
assertPermanentCount(playerA, "Quirion Elves", 0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue