[FIN] Implement Ancient Adamantoise (#13670)

* [FIN] Implement Ancient Adamantoise

* change effect type

* add test
This commit is contained in:
Evan Kranzler 2025-05-27 21:56:07 -04:00 committed by GitHub
parent 3d85682535
commit e1f4e9db59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 188 additions and 2 deletions

View file

@ -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());
}
}