mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
Merge remote-tracking branch 'remotes/upstream/master'
This commit is contained in:
commit
bd4d00f031
172 changed files with 2189 additions and 1304 deletions
|
|
@ -6,21 +6,25 @@ import org.junit.Test;
|
|||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
public class KalitasBloodchiefOfGhetTest extends CardTestPlayerBase {
|
||||
|
||||
@Test
|
||||
public void testTokenCreatedOnlyIfTargetDies() {
|
||||
// {B}{B}{B}, {T}: Destroy target creature. If that creature dies this way, create a black Vampire creature token.
|
||||
// Its power is equal to that creature's power and its toughness is equal to that creature's toughness.
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Kalitas, Bloodchief of Ghet", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 3);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Rest in Peace", 1);
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Gray Ogre", 1);
|
||||
// When Rest in Peace enters the battlefield, exile all cards from all graveyards.
|
||||
// If a card or token would be put into a graveyard from anywhere, exile it instead.
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Rest in Peace", 1); // Enchantment
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Gray Ogre", 1); // Creature - Ogre 2/2
|
||||
|
||||
activateAbility(3, PhaseStep.PRECOMBAT_MAIN, playerA, "{B}{B}{B}", "Gray Ogre");
|
||||
setStopAt(3, PhaseStep.BEGIN_COMBAT);
|
||||
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerA, 5);
|
||||
assertPermanentCount(playerA, "Vampire", 0);
|
||||
assertPermanentCount(playerB, 0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,10 @@ public class DuskDawnTest extends CardTestPlayerBase {
|
|||
|
||||
@Test
|
||||
public void testCastDawnFromGraveyard() {
|
||||
// Dusk
|
||||
// Destroy all creatures with power 3 or greater.
|
||||
// Dawn
|
||||
// Return all creature cards with power less than or equal to 2 from your graveyard to your hand.
|
||||
addCard(Zone.GRAVEYARD, playerA, "Dusk // Dawn");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Plains", 5);
|
||||
addCard(Zone.GRAVEYARD, playerA, "Devoted Hero");
|
||||
|
|
@ -85,5 +89,4 @@ public class DuskDawnTest extends CardTestPlayerBase {
|
|||
assertGraveyardCount(playerA, "Devoted Hero", 1);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue