mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Fix buggy login in SyrKonradTheGrimTriggeredAbility.checkTrigger()
Basically needed to check that creatures leaving the graveyard belong to the controlling player.
This commit is contained in:
parent
e9bbefb814
commit
69cff6c920
2 changed files with 9 additions and 3 deletions
|
|
@ -8,11 +8,13 @@ import org.mage.test.serverside.base.CardTestPlayerBase;
|
|||
public class SyrKonradTheGrimTest extends CardTestPlayerBase {
|
||||
|
||||
@Test
|
||||
public void ownGraveyardTriggerTest() {
|
||||
public void leavesOwnGraveyardTriggerTest() {
|
||||
addCard(Zone.HAND, playerA, "Rest in Peace");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Plains", 2);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Syr Konrad, the Grim");
|
||||
// These leaving the graveyard *should* cause loss of life
|
||||
addCard(Zone.GRAVEYARD, playerA, "Grizzly Bears", 2);
|
||||
// These ones *shouldn't*
|
||||
addCard(Zone.GRAVEYARD, playerB, "Grizzly Bears");
|
||||
setStopAt(1, PhaseStep.UNTAP);
|
||||
execute();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue