mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
[FIN] Implement Ancient Adamantoise (#13670)
* [FIN] Implement Ancient Adamantoise * change effect type * add test
This commit is contained in:
parent
3d85682535
commit
e1f4e9db59
5 changed files with 188 additions and 2 deletions
|
|
@ -0,0 +1,32 @@
|
|||
package org.mage.test.cards.single.fin;
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class AncientAdamantoiseTest extends CardTestPlayerBase {
|
||||
private static final String adamantoise = "Ancient Adamantoise";
|
||||
private static final String bolt = "Lightning Bolt";
|
||||
|
||||
@Test
|
||||
public void testDamageStays() {
|
||||
addCard(Zone.HAND, playerA, bolt);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Mountain");
|
||||
addCard(Zone.BATTLEFIELD, playerA, adamantoise);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, bolt, adamantoise);
|
||||
|
||||
setStrictChooseMode(true);
|
||||
setStopAt(2, PhaseStep.PRECOMBAT_MAIN);
|
||||
execute();
|
||||
|
||||
Permanent permanent = getPermanent(adamantoise);
|
||||
Assert.assertEquals(adamantoise + " should have 3 damage on it on the next turn", 3, permanent.getDamage());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue