From 006af33625c430e2dfd9b52f6743e78548a01aaa Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 9 Jun 2018 12:01:33 +0200 Subject: [PATCH] Two minor fixes. --- Mage.Sets/src/mage/cards/m/MadScienceFairProject.java | 4 +--- .../test/cards/abilities/keywords/ConstellationTest.java | 7 +++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/m/MadScienceFairProject.java b/Mage.Sets/src/mage/cards/m/MadScienceFairProject.java index 986645a92b..98e77a9b71 100644 --- a/Mage.Sets/src/mage/cards/m/MadScienceFairProject.java +++ b/Mage.Sets/src/mage/cards/m/MadScienceFairProject.java @@ -1,4 +1,3 @@ - package mage.cards.m; import java.util.UUID; @@ -25,7 +24,7 @@ public final class MadScienceFairProject extends CardImpl { public MadScienceFairProject(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}"); - // {tap}: Roll a six-sided die. On a 3 or lower, target player adds {C}. Otherwise, that player adds one mana of any color he or she chooses. + // {T}: Roll a six-sided die. On a 3 or lower, target player adds {C}. Otherwise, that player adds one mana of any color he or she chooses. this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new MadScienceFairManaEffect(), new TapSourceCost())); } @@ -79,7 +78,6 @@ class MadScienceFairManaEffect extends ManaEffect { ChoiceColor choice = new ChoiceColor(); if (controller.choose(Outcome.PutManaInPool, choice, game)) { Mana chosen = choice.getMana(1); - checkToFirePossibleEvents(chosen, game, source); return chosen; } } diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/ConstellationTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/ConstellationTest.java index 0d81d1ae66..cab66712e3 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/ConstellationTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/ConstellationTest.java @@ -209,6 +209,13 @@ public class ConstellationTest extends CardTestPlayerBase { castSpell(3, PhaseStep.PRECOMBAT_MAIN, playerA, "Archetype of Courage"); // make dax to creature castSpell(3, PhaseStep.PRECOMBAT_MAIN, playerA, "Mephidross Vampire"); // give vampire to creatures } else { + // Make sure not white mana is used here to cast the vampire + activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Add {B}"); + activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Add {B}"); + activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Add {B}"); + activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Add {B}"); + activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Add {B}"); + activateManaAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Add {B}"); castSpell(3, PhaseStep.PRECOMBAT_MAIN, playerA, "Mephidross Vampire"); // give vampire to creatures castSpell(3, PhaseStep.PRECOMBAT_MAIN, playerA, "Archetype of Courage"); // make dax to creature }