mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
Add new methods to Target and TargetPointer to help generate card rules text. Currently only used by ExileUntilSourceLeavesEffect
This commit is contained in:
parent
c6e1ce6697
commit
addfd5166e
38 changed files with 156 additions and 208 deletions
|
|
@ -42,6 +42,7 @@ public class EmbalmTest extends CardTestPlayerBase {
|
|||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, aSanctions);
|
||||
addTarget(playerA, yOx);
|
||||
setChoice(playerA, true);
|
||||
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
|
@ -81,10 +82,12 @@ public class EmbalmTest extends CardTestPlayerBase {
|
|||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, aSanctions);
|
||||
addTarget(playerA, yOx);
|
||||
setChoice(playerA, true);
|
||||
castSpell(1, PhaseStep.BEGIN_COMBAT, playerB, dBlade);
|
||||
addTarget(playerB, aSanctions);
|
||||
activateAbility(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Embalm");
|
||||
addTarget(playerA, wKnight);
|
||||
setChoice(playerA, true);
|
||||
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
|
@ -126,11 +129,13 @@ public class EmbalmTest extends CardTestPlayerBase {
|
|||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, aSanctions);
|
||||
addTarget(playerA, yOx);
|
||||
setChoice(playerA, true);
|
||||
|
||||
castSpell(1, PhaseStep.BEGIN_COMBAT, playerB, dBlade, aSanctions);
|
||||
|
||||
activateAbility(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Embalm");
|
||||
addTarget(playerA, wKnight);
|
||||
setChoice(playerA, true);
|
||||
|
||||
castSpell(1, PhaseStep.END_TURN, playerB, dBlade, aSanctions);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue