mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Fix planeswalker loyalty counters.
They should be added like normal counters, firing events that can be intercepted by cards like doubling season.
This commit is contained in:
parent
2ecb415b4d
commit
52fa369024
2 changed files with 21 additions and 2 deletions
|
|
@ -192,4 +192,22 @@ public class DoublingSeasonTest extends CardTestPlayerBase {
|
|||
assertLife(playerA, 20);
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testDoublePlaneswalkerLoyalty() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Tibalt, the Fiend-Blooded");
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Doubling Season");
|
||||
|
||||
|
||||
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA,"+1: Draw a card, then discard a card at random.");
|
||||
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertLife(playerA, 20);
|
||||
assertLife(playerB, 20);
|
||||
|
||||
assertCounterCount("Tibalt, the Fiend-Blooded", CounterType.LOYALTY, 4);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue