mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 14:02:05 -08:00
Fixed Issue#67: Evernight Shade doesn't loose +1/+1 effects
This commit is contained in:
parent
88f990ec67
commit
3b3d02b3f8
7 changed files with 60 additions and 11 deletions
|
|
@ -0,0 +1,32 @@
|
|||
package org.mage.test.cards.continuous;
|
||||
|
||||
import mage.Constants;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
/**
|
||||
* @author magenoxx_at_gmail.com
|
||||
*/
|
||||
public class EvernightShadeTest extends CardTestPlayerBase {
|
||||
|
||||
/**
|
||||
* Tests boost disappeared after creature died
|
||||
*/
|
||||
@Test
|
||||
public void testBoostWithUndying() {
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Swamp", 3);
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Mountain", 1);
|
||||
addCard(Constants.Zone.BATTLEFIELD, playerA, "Evernight Shade");
|
||||
addCard(Constants.Zone.HAND, playerA, "Lightning Bolt");
|
||||
|
||||
activateAbility(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "{B}");
|
||||
activateAbility(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "{B}");
|
||||
castSpell(1, Constants.PhaseStep.POSTCOMBAT_MAIN, playerA, "Lightning Bolt", "Evernight Shade");
|
||||
|
||||
setStopAt(1, Constants.PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertPowerToughness(playerA, "Evernight Shade", 2, 2);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue