mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
[REX] Implement Grim Giganotosaurus (#12103)
* Implement Grim Giganotosaurus * Refactor MonstrosityAbility to take cost adjuster * Update Nemesis of Mortals' monstrous ability and add test for cost reduction
This commit is contained in:
parent
9d7bf27d38
commit
b0d7daa85e
5 changed files with 147 additions and 13 deletions
|
|
@ -0,0 +1,42 @@
|
|||
package org.mage.test.cards.abilities.activated;
|
||||
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
public class NemesisOfMortalsTests extends CardTestPlayerBase {
|
||||
|
||||
@Test
|
||||
public void testNoCostReduction() {
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Nemesis of Mortals");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Forest", 9);
|
||||
|
||||
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{7}{G}{G}");
|
||||
|
||||
setStrictChooseMode(true);
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertTappedCount("Forest", true, 9);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testWithCostReduction() {
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Nemesis of Mortals");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Forest", 9);
|
||||
|
||||
addCard(Zone.GRAVEYARD, playerA, "Memnite", 4);
|
||||
addCard(Zone.GRAVEYARD, playerA, "Forest", 2);
|
||||
|
||||
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "{7}{G}{G}");
|
||||
|
||||
setStrictChooseMode(true);
|
||||
setStopAt(1, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertTappedCount("Forest", true, 5);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue