mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Merge pull request #3009 from Alexsandr0x/Citadel-of-Pain
Citadel of Pain
This commit is contained in:
commit
9c3aab3284
3 changed files with 138 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue