From 4e4d46437c4dad2ad94c45b41e59228cbfe08256 Mon Sep 17 00:00:00 2001 From: Ingmar Goudt Date: Mon, 14 Jan 2019 00:18:21 +0100 Subject: [PATCH] update riot test --- .../org/mage/test/cards/abilities/keywords/RiotTest.java | 8 ++++---- .../src/main/java/mage/abilities/keyword/RiotAbility.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/RiotTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/RiotTest.java index 9503cd53886..6729541109a 100644 --- a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/RiotTest.java +++ b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/RiotTest.java @@ -31,7 +31,7 @@ public class RiotTest extends CardTestPlayerBase { addCard(Zone.HAND, playerA, "Rampaging Rendhorn", 1); // Creature {4}{G} castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Rampaging Rendhorn"); - setChoice(playerA, "Yes"); + setChoice(playerA, "+1/+1 counter"); setStopAt(1, PhaseStep.BEGIN_COMBAT); @@ -51,7 +51,7 @@ public class RiotTest extends CardTestPlayerBase { addCard(Zone.HAND, playerA, "Rampaging Rendhorn", 1); // Creature {4}{G} castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Rampaging Rendhorn"); - setChoice(playerA, "No"); + setChoice(playerA, "Haste"); setStopAt(2, PhaseStep.BEGIN_COMBAT); @@ -74,7 +74,7 @@ public class RiotTest extends CardTestPlayerBase { addCard(Zone.HAND, playerA, "Silvercoat Lion", 1); // Creature {1}{W} 2/2 castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Silvercoat Lion"); - setChoice(playerA, "Yes"); + setChoice(playerA, "+1/+1 counter"); setStopAt(1, PhaseStep.BEGIN_COMBAT); @@ -98,7 +98,7 @@ public class RiotTest extends CardTestPlayerBase { addCard(Zone.HAND, playerA, "Silvercoat Lion", 1); // Creature {1}{W} 2/2 castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Silvercoat Lion"); - setChoice(playerA, "No"); + setChoice(playerA, "Haste"); setStopAt(2, PhaseStep.BEGIN_COMBAT); diff --git a/Mage/src/main/java/mage/abilities/keyword/RiotAbility.java b/Mage/src/main/java/mage/abilities/keyword/RiotAbility.java index 7b15719e034..8ce3e97bb51 100644 --- a/Mage/src/main/java/mage/abilities/keyword/RiotAbility.java +++ b/Mage/src/main/java/mage/abilities/keyword/RiotAbility.java @@ -71,7 +71,7 @@ class RiotReplacementEffect extends ReplacementEffectImpl { Permanent creature = ((EntersTheBattlefieldEvent) event).getTarget(); Player controller = game.getPlayer(source.getControllerId()); if (creature != null && controller != null) { - if (controller.chooseUse(outcome, "Have " + creature.getLogName() + " enter the battlefield with a +1/+1 counter on it or with haste?","", "+1/+1 counter", "Haste", source, game)) { + if (controller.chooseUse(outcome, "Have " + creature.getLogName() + " enter the battlefield with a +1/+1 counter on it or with haste?",null, "+1/+1 counter", "Haste", source, game)) { if (!game.isSimulation()) { game.informPlayers(controller.getLogName() + " choose to put a +1/+1 counter on " + creature.getName()); }