mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
fixed WerewolfRansacker
This commit is contained in:
parent
1dbc0a2be5
commit
b00aa6a7d2
4 changed files with 30 additions and 120 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package org.mage.test.cards;
|
||||
|
||||
import mage.Constants;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
|
|
@ -19,10 +20,30 @@ public class TestWerewolfRansacker extends CardTestPlayerBase {
|
|||
execute();
|
||||
|
||||
assertLife(playerA, 20);
|
||||
assertLife(playerB, 20);
|
||||
assertLife(playerB, 17);
|
||||
assertPermanentCount(playerB, "Ornithopter", 0);
|
||||
assertPermanentCount(playerA, "Afflicted Deserter", 0);
|
||||
assertPermanentCount(playerA, "Werewolf Ransacker", 1);
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testCard1() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Plains", 3);
|
||||
addCard(Constants.Zone.HAND, playerA, "Blade Splicer");
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerB, "Mountain", 4);
|
||||
addCard(Constants.Zone.HAND, playerB, "Afflicted Deserter");
|
||||
|
||||
castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Blade Splicer");
|
||||
castSpell(2, Constants.PhaseStep.PRECOMBAT_MAIN, playerB, "Afflicted Deserter");
|
||||
setStopAt(4, Constants.PhaseStep.DRAW);
|
||||
execute();
|
||||
|
||||
assertLife(playerA, 20);
|
||||
assertLife(playerB, 20);
|
||||
assertPermanentCount(playerB, "Afflicted Deserter", 0);
|
||||
assertPermanentCount(playerB, "Werewolf Ransacker", 1);
|
||||
assertPermanentCount(playerA, "Blade Splicer", 1);
|
||||
assertPermanentCount(playerA, "Golem", 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue