forked from External/mage
fix siege defeated trigger to be optional
This commit is contained in:
parent
347ea5b9fe
commit
fa49ffd27f
3 changed files with 4 additions and 2 deletions
|
|
@ -121,6 +121,7 @@ public class BattleDuelTest extends BattleBaseTest {
|
|||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, belenon);
|
||||
|
||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, impact, belenon);
|
||||
setChoice(playerA, true); // yes to cast it transformed
|
||||
|
||||
setStrictChooseMode(true);
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
|
|
@ -165,6 +166,7 @@ public class BattleDuelTest extends BattleBaseTest {
|
|||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Invasion of Dominaria");
|
||||
|
||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, impact, "Invasion of Dominaria");
|
||||
setChoice(playerA, true); // yes to cast it transformed
|
||||
|
||||
setStrictChooseMode(true);
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ public class InvasionOfAlaraTest extends CardTestPlayerBase {
|
|||
checkHandCardCount("Divination in hand", 1, PhaseStep.BEGIN_COMBAT, playerA, divination, 1);
|
||||
|
||||
activateAbility(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Sacrifice", invasion); // remove all counters
|
||||
//setChoice(playerA, true); // yes to cast
|
||||
setChoice(playerA, true); // yes to cast
|
||||
addTarget(playerA, playerA); // to draw 2 cards (meteor and puma)
|
||||
addTarget(playerA, golems); // to destroy (last effect)
|
||||
// now resolve
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ public class SiegeAbility extends StaticAbility {
|
|||
class SiegeDefeatedTriggeredAbility extends TriggeredAbilityImpl {
|
||||
|
||||
SiegeDefeatedTriggeredAbility() {
|
||||
super(Zone.BATTLEFIELD, new SiegeDefeatedEffect());
|
||||
super(Zone.BATTLEFIELD, new SiegeDefeatedEffect(), true);
|
||||
this.setRuleVisible(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue