[40K] Fixed Abaddon the Despoiler and enabled test (fixes #9490)

This commit is contained in:
Daniel Bomar 2022-09-08 11:35:42 -05:00
parent ba7e9f8600
commit 48df6902e1
No known key found for this signature in database
GPG key ID: C86C8658F4023918
3 changed files with 11 additions and 7 deletions

View file

@ -2,7 +2,6 @@ package org.mage.test.cards.single._40k;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import org.junit.Ignore;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
@ -17,10 +16,10 @@ public class AbaddonTheDespoilerTest extends CardTestPlayerBase {
/**
* Reported bug: https://github.com/magefree/mage/issues/9490
*/
@Ignore
@Test
public void cascadeWorks() {
String lightningBolt = "Lightning Bolt";
addCard(Zone.BATTLEFIELD, playerA, abaddonTheDespoiler);
addCard(Zone.HAND, playerA, lightningBolt, 2);
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 2);
addCard(Zone.LIBRARY, playerA, "Crimson Kobolds"); // {0}
@ -31,6 +30,7 @@ public class AbaddonTheDespoilerTest extends CardTestPlayerBase {
waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN);
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, lightningBolt, playerB);
setChoice(playerA, true); // Cast with Cascade
setStopAt(1, PhaseStep.PRECOMBAT_MAIN);
execute();