mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
parent
1819c6e8a8
commit
356737075a
16 changed files with 35 additions and 41 deletions
|
|
@ -14,34 +14,34 @@ public class GainAbilitiesTest extends CardTestPlayerBase {
|
|||
|
||||
/*
|
||||
Reported bug: Behind the Scenes grants skulk to all creatures instead of just ones under owner's control
|
||||
*/
|
||||
*/
|
||||
@Test
|
||||
public void behindTheScenesShouldOnlyGrantSkulkToCreaturesYouControl() {
|
||||
|
||||
|
||||
/*
|
||||
Behind the Scenes {2}{B}
|
||||
Enchantment
|
||||
Creatures you control have skulk. (They can't be blocked by creatures with greater power.)
|
||||
{4}{W}: Creatures you control get +1/+1 until end of turn
|
||||
*/
|
||||
String bScenes = "Behind the Scenes";
|
||||
*/
|
||||
String bScenes = "Behind the Scenes";
|
||||
String hGiant = "Hill Giant"; // {3}{R} 3/3
|
||||
String bSable = "Bronze Sable"; // {2} 2/1
|
||||
String memnite = "Memnite"; // {0} 1/1
|
||||
String gBears = "Grizzly Bears"; // {1}{G} 2/2
|
||||
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerA, bScenes);
|
||||
addCard(Zone.BATTLEFIELD, playerA, hGiant);
|
||||
addCard(Zone.BATTLEFIELD, playerA, bSable);
|
||||
addCard(Zone.BATTLEFIELD, playerB, memnite);
|
||||
addCard(Zone.BATTLEFIELD, playerB, gBears);
|
||||
|
||||
|
||||
setStopAt(1, PhaseStep.PRECOMBAT_MAIN);
|
||||
execute();
|
||||
|
||||
assertAbility(playerA, hGiant, SkulkAbility.getInstance(), true);
|
||||
assertAbility(playerA, bSable, SkulkAbility.getInstance(), true);
|
||||
assertAbility(playerB, memnite, SkulkAbility.getInstance(), false);
|
||||
assertAbility(playerB, gBears, SkulkAbility.getInstance(), false);
|
||||
|
||||
assertAbility(playerA, hGiant, new SkulkAbility(), true);
|
||||
assertAbility(playerA, bSable, new SkulkAbility(), true);
|
||||
assertAbility(playerB, memnite, new SkulkAbility(), false);
|
||||
assertAbility(playerB, gBears, new SkulkAbility(), false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue