mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
* Fixed that Persist did not working with Hapatra, Vizier of Poisons and Obelisk Spider (fixes #3679).
This commit is contained in:
parent
8c2388644c
commit
20c8c1a9c9
3 changed files with 42 additions and 10 deletions
|
|
@ -153,4 +153,36 @@ public class AddingCountersToPermanentsTest extends CardTestPlayerBase {
|
|||
assertPowerToughness(playerB, "Silvercoat Lion", 2, 2);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Considering rule 121.6 Persist is not working with Hapatra, Vizier of
|
||||
* Poisons and Obelisk Spider. Hapatra and Obelisk Spider do not trigger
|
||||
* their second abilities when Kitchen Finks returns with -1/-1 counter.
|
||||
*/
|
||||
@Test
|
||||
public void HapatraVizierOfPoisons() {
|
||||
|
||||
// Whenever Hapatra, Vizier of Poisons deals combat damage to a player, you may put a -1/-1 counter on target creature.
|
||||
// Whenever you put one or more -1/-1 counters on a creature, create a 1/1 green Snake creature token with deathtouch.
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Hapatra, Vizier of Poisons", 1);
|
||||
|
||||
// When Kitchen Finks enters the battlefield, you gain 2 life.
|
||||
// Persist (When this creature dies, if it had no -1/-1 counters on it, return it to the battlefield under its owner's control with a -1/-1 counter on it.)
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Kitchen Finks", 1); // Creature 3/2
|
||||
|
||||
addCard(Zone.HAND, playerB, "Lightning Bolt");
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Mountain");
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerB, "Lightning Bolt", "Kitchen Finks");
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertGraveyardCount(playerB, "Lightning Bolt", 1);
|
||||
|
||||
assertPowerToughness(playerA, "Kitchen Finks", 2, 1);
|
||||
|
||||
assertPermanentCount(playerA, "Snake", 1);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue