Two minor fixes.

This commit is contained in:
LevelX2 2018-06-09 12:01:33 +02:00
parent 3659a2dc0b
commit 006af33625
2 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,3 @@
package mage.cards.m; package mage.cards.m;
import java.util.UUID; import java.util.UUID;
@ -25,7 +24,7 @@ public final class MadScienceFairProject extends CardImpl {
public MadScienceFairProject(UUID ownerId, CardSetInfo setInfo) { public MadScienceFairProject(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}"); 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())); this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new MadScienceFairManaEffect(), new TapSourceCost()));
} }
@ -79,7 +78,6 @@ class MadScienceFairManaEffect extends ManaEffect {
ChoiceColor choice = new ChoiceColor(); ChoiceColor choice = new ChoiceColor();
if (controller.choose(Outcome.PutManaInPool, choice, game)) { if (controller.choose(Outcome.PutManaInPool, choice, game)) {
Mana chosen = choice.getMana(1); Mana chosen = choice.getMana(1);
checkToFirePossibleEvents(chosen, game, source);
return chosen; return chosen;
} }
} }

View file

@ -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, "Archetype of Courage"); // make dax to creature
castSpell(3, PhaseStep.PRECOMBAT_MAIN, playerA, "Mephidross Vampire"); // give vampire to creatures castSpell(3, PhaseStep.PRECOMBAT_MAIN, playerA, "Mephidross Vampire"); // give vampire to creatures
} else { } 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, "Mephidross Vampire"); // give vampire to creatures
castSpell(3, PhaseStep.PRECOMBAT_MAIN, playerA, "Archetype of Courage"); // make dax to creature castSpell(3, PhaseStep.PRECOMBAT_MAIN, playerA, "Archetype of Courage"); // make dax to creature
} }