* Switched from UUID to MageObjectReference to handle affected objects of continuous effects. Solvng problems with objects that changed (multiple times) zones while the effect lasts.

This commit is contained in:
LevelX2 2014-12-25 02:03:21 +01:00
parent 9ff1f60903
commit 02ba80b719
41 changed files with 407 additions and 342 deletions

View file

@ -17,6 +17,9 @@ public class EvernightShadeTest extends CardTestPlayerBase {
public void testBoostWithUndying() {
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 3);
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 1);
// Evernight Shade Creature - Shade 1/1 {3}{B}
// {B}: Evernight Shade gets +1/+1 until end of turn.
// Undying (When this creature dies, if it had no +1/+1 counters on it, return it to the battlefield under its owner's control with a +1/+1 counter on it.)
addCard(Zone.BATTLEFIELD, playerA, "Evernight Shade");
addCard(Zone.HAND, playerA, "Lightning Bolt");

View file

@ -8,8 +8,6 @@ package org.mage.test.combat;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import mage.game.permanent.Permanent;
import org.junit.Assert;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;