mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
* Loyal Cathar - Fixed that dies triggered ability also triggered for the night side card.
This commit is contained in:
parent
a7211a30d0
commit
fd8a18129b
8 changed files with 56 additions and 38 deletions
|
|
@ -112,4 +112,25 @@ public class TwoFacedCardEffectsTest extends CardTestPlayerBase {
|
|||
assertPermanentCount(playerB, "Howlpack Alpha", 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests that triggered abilities of the frontside do not trigger if the card is transformed
|
||||
*
|
||||
*/
|
||||
@Test
|
||||
public void testTransformedDOesNotTriggerFrontsideAbilities() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Loyal Cathar");
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Mountain", 1);
|
||||
addCard(Zone.HAND, playerB, "Lightning Bolt",2);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerB, "Lightning Bolt", "Loyal Cathar");
|
||||
castSpell(2, PhaseStep.PRECOMBAT_MAIN, playerB, "Lightning Bolt", "Unhallowed Cathar");
|
||||
|
||||
setStopAt(3, PhaseStep.PRECOMBAT_MAIN);
|
||||
execute();
|
||||
|
||||
assertGraveyardCount(playerB, "Lightning Bolt", 2);
|
||||
assertPermanentCount(playerA, "Unhallowed Cathar", 0);
|
||||
assertGraveyardCount(playerA, "Loyal Cathar", 1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue