Merge pull request #3009 from Alexsandr0x/Citadel-of-Pain

Citadel of Pain
This commit is contained in:
Derek M 2017-03-22 16:16:21 -04:00 committed by GitHub
commit 9c3aab3284
3 changed files with 138 additions and 0 deletions

View file

@ -0,0 +1,25 @@
package org.mage.test.cards.abilities.oneshot.damage;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
/**
* Created by Alexsandr0x.
*/
public class CitadelOfPainTest extends CardTestPlayerBase {
@Test
public void testDamage() {
addCard(Zone.BATTLEFIELD, playerA, "Mountain", 3);
// At the beginning of each player's end step, Citadel of Pain deals X damage to that
// player, where X is the number of untapped lands he or she controls.
addCard(Zone.BATTLEFIELD, playerA, "Citadel of Pain");
setStopAt(1, PhaseStep.END_TURN);
execute();
assertLife(playerA, 17);
}
}