mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
Naya Soulbeast bug confirmed for issue #2102
This commit is contained in:
parent
faffac077d
commit
f627d19137
1 changed files with 47 additions and 0 deletions
|
|
@ -0,0 +1,47 @@
|
||||||
|
/*
|
||||||
|
* To change this license header, choose License Headers in Project Properties.
|
||||||
|
* To change this template file, choose Tools | Templates
|
||||||
|
* and open the template in the editor.
|
||||||
|
*/
|
||||||
|
package org.mage.test.cards.abilities.enters;
|
||||||
|
|
||||||
|
import mage.constants.PhaseStep;
|
||||||
|
import mage.constants.Zone;
|
||||||
|
import mage.counters.CounterType;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author escplan9 (Derek Monturo - dmontur1 at gmail dot com)
|
||||||
|
*/
|
||||||
|
public class NayaSoulbeastTest extends CardTestPlayerBase {
|
||||||
|
|
||||||
|
/*
|
||||||
|
Reported bug: I am finding an issue with Naya Soulbeast, it enters the battlefield and the effect that makes the players reveal
|
||||||
|
the top of their library work, my issue is that it doesn't gain the +1/+1 counters even if there are non-land cards revealed,
|
||||||
|
and since it is a 0/0 it is destroyed as it enters battlefield unless you have a permanent grants creatures you control +1/+1
|
||||||
|
and even in that situation, it doesn't gain the +1/+1 counters.
|
||||||
|
*/
|
||||||
|
@Test
|
||||||
|
public void testNayaEntersWithTwoCounters() {
|
||||||
|
|
||||||
|
// Naya Soulbeast - {6}{G}{G}
|
||||||
|
// Creature Beast - 0/0 - Trample
|
||||||
|
// When you cast Naya Soulbeast, each player reveals the top card of his or her library.
|
||||||
|
// Naya Soulbeast enters the battlefield with X +1/+1 counters on it, where X is the total converted mana cost of all cards revealed this way.
|
||||||
|
addCard(Zone.HAND, playerA, "Naya Soulbeast", 1);
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, "Forest", 8);
|
||||||
|
|
||||||
|
removeAllCardsFromLibrary(playerB);
|
||||||
|
addCard(Zone.LIBRARY, playerB, "Bronze Sable", 1); // {2} 2/1
|
||||||
|
|
||||||
|
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Naya Soulbeast");
|
||||||
|
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||||
|
execute();
|
||||||
|
|
||||||
|
assertPermanentCount(playerA, "Naya Soulbeast", 1);
|
||||||
|
assertCounterCount("Naya Soulbeast", CounterType.P1P1, 2);
|
||||||
|
assertPowerToughness(playerA, "Naya Soulbeast", 2, 2);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue