mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
changed how effects are applied for triggered abilities, added test (fixes #7083)
This commit is contained in:
parent
27a4f27727
commit
827ffb5fb2
3 changed files with 26 additions and 1 deletions
|
|
@ -0,0 +1,24 @@
|
|||
package org.mage.test.cards.single.m21;
|
||||
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
public class HoodedBlightfangTest extends CardTestPlayerBase {
|
||||
|
||||
@Test
|
||||
public void testBowOfNylea() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Hooded Blightfang");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Raging Goblin");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Bow of Nylea");
|
||||
|
||||
attack(1, playerA, "Raging Goblin");
|
||||
setStopAt(2, PhaseStep.END_TURN);
|
||||
execute();
|
||||
assertAllCommandsUsed();
|
||||
|
||||
assertLife(playerA, 20 + 1);
|
||||
assertLife(playerB, 20 - 1 - 1);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue