Search in sources :

Example 1 with PoisonousAbility

use of mage.abilities.keyword.PoisonousAbility in project mage by magefree.

the class PoisonousTest method testMultipleInstancesAddMultipleCounters.

@Test
public void testMultipleInstancesAddMultipleCounters() {
    addCard(Zone.BATTLEFIELD, playerA, "Virulent Sliver", 2);
    addCard(Zone.BATTLEFIELD, playerA, "Manaweft Sliver", 1);
    attack(3, playerA, "Manaweft Sliver");
    setStopAt(3, PhaseStep.END_COMBAT);
    execute();
    assertMultipleInstancesOfAbility(playerA, "Manaweft Sliver", new PoisonousAbility(1), 2);
    assertCounterCount(playerB, CounterType.POISON, 2);
    assertLife(playerB, 19);
}
Also used : PoisonousAbility(mage.abilities.keyword.PoisonousAbility) Test(org.junit.Test)

Aggregations

PoisonousAbility (mage.abilities.keyword.PoisonousAbility)1 Test (org.junit.Test)1