From f0dea447734933b7b0e133385db3afe23e43d39d Mon Sep 17 00:00:00 2001 From: Ingmar Goudt Date: Wed, 23 Dec 2020 21:38:42 +0100 Subject: [PATCH] small Negan fix --- Mage.Sets/src/mage/cards/h/HeedTheMists.java | 2 +- Mage.Sets/src/mage/cards/n/NeganTheColdBlooded.java | 2 +- .../org/mage/test/cards/single/m21/FurorOfTheBittenTest.java | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 Mage.Tests/src/test/java/org/mage/test/cards/single/m21/FurorOfTheBittenTest.java diff --git a/Mage.Sets/src/mage/cards/h/HeedTheMists.java b/Mage.Sets/src/mage/cards/h/HeedTheMists.java index bc92038248..fed4bfbb53 100644 --- a/Mage.Sets/src/mage/cards/h/HeedTheMists.java +++ b/Mage.Sets/src/mage/cards/h/HeedTheMists.java @@ -57,7 +57,7 @@ public final class HeedTheMists extends CardImpl { .stream() .mapToInt(MageObject::getConvertedManaCost) .sum(); - controller.millCards(totalCMC, source, game); + controller.drawCards(totalCMC, source.getSourceId(), game); return true; } diff --git a/Mage.Sets/src/mage/cards/n/NeganTheColdBlooded.java b/Mage.Sets/src/mage/cards/n/NeganTheColdBlooded.java index 8870b7137f..14d621c29a 100644 --- a/Mage.Sets/src/mage/cards/n/NeganTheColdBlooded.java +++ b/Mage.Sets/src/mage/cards/n/NeganTheColdBlooded.java @@ -110,7 +110,7 @@ class NeganTheColdBloodedEffect extends OneShotEffect { if (controllerChoice.equals(creatureId)) { game.informPlayers(controller.getName() + " chose " + permanent.getIdName()); } - if (opponent.equals(creatureId)) { + if (opponentChoice.equals(creatureId)) { game.informPlayers(opponent.getName() + " chose " + permanent.getIdName()); } permanent.sacrifice(source, game); diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/single/m21/FurorOfTheBittenTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/single/m21/FurorOfTheBittenTest.java new file mode 100644 index 0000000000..5a29dcbc11 --- /dev/null +++ b/Mage.Tests/src/test/java/org/mage/test/cards/single/m21/FurorOfTheBittenTest.java @@ -0,0 +1,4 @@ +package org.mage.test.cards.single.m21; + +public class FurorOfTheBittenTest { +}