mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
fix and test for triumph of the hordes
This commit is contained in:
parent
9da97f9368
commit
566966bf6b
2 changed files with 37 additions and 7 deletions
|
|
@ -0,0 +1,27 @@
|
|||
package org.mage.test.cards.single;
|
||||
|
||||
import mage.abilities.keyword.InfectAbility;
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
public class TriumphOfTheHordesTest extends CardTestPlayerBase {
|
||||
|
||||
//issue 3292, Triumph of the Hordes gives a Chromatic Lantern Infect + Trample
|
||||
@Test
|
||||
public void triumphOfTheHordesNonCreatureTest() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Forest", 10);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Chromatic Lantern", 1);
|
||||
addCard(Zone.HAND, playerA, "Triumph of the Hordes", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Grizzly Bears", 1);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Triumph of the Hordes");
|
||||
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);
|
||||
|
||||
execute();
|
||||
|
||||
assertAbility(playerA, "Chromatic Lantern", InfectAbility.getInstance(), false);
|
||||
assertAbility(playerA, "Grizzly Bears", InfectAbility.getInstance(), true);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue