mirror of
https://github.com/correl/mage.git
synced 2025-03-07 20:53:18 -10:00
fix soul warden test.
This commit is contained in:
parent
f593623508
commit
0b48749e0b
2 changed files with 8 additions and 5 deletions
|
@ -69,7 +69,7 @@ public class Geistblast extends CardImpl {
|
|||
this.getSpellAbility().addEffect(new DamageTargetEffect(2));
|
||||
this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
|
||||
|
||||
// {2}{U}, Exile Geist from your graveyard: Copy target instant or sorcery you control. You may choose new targets for the copy.
|
||||
// {2}{U}, Exile Geistblast from your graveyard: Copy target instant or sorcery you control. You may choose new targets for the copy.
|
||||
Ability ability = new SimpleActivatedAbility(Zone.GRAVEYARD, new CopyTargetSpellEffect(), new ManaCostsImpl<>("{2}{U}"));
|
||||
ability.addTarget(new TargetSpell(filter));
|
||||
ability.addCost(new ExileSourceFromGraveCost());
|
||||
|
|
|
@ -27,14 +27,17 @@ public class SoulWardenTest extends CardTestPlayerBase {
|
|||
addCard(Zone.BATTLEFIELD, playerA, "Soul Warden", 1);
|
||||
|
||||
// Creature 2/1
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Elite Vanguard");
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Raise the Alarm");
|
||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Lightning Bolt", "Soul Warden");
|
||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Elite Vanguard");
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Elite Vanguard"); // 2/1 creature
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Raise the Alarm"); // put 2 1/1 soldiers on the battlefield
|
||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Lightning Bolt");
|
||||
addTarget(playerA, "Soul Warden");
|
||||
castSpell(1, PhaseStep.POSTCOMBAT_MAIN, playerA, "Elite Vanguard"); // should not gain life now that soul warden is dead
|
||||
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertGraveyardCount(playerA, "Lightning Bolt", 1);
|
||||
assertGraveyardCount(playerA, "Soul Warden", 1);
|
||||
assertLife(playerA, 23);
|
||||
assertLife(playerB, 20);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue