From a0840ec1b8214dbd8bf5e3ea3546c50838d8e232 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 14 Nov 2014 15:13:44 +0100 Subject: [PATCH] * Fixed calculation of reduced mana costs (e.g. casr Launch the Fleet (while Battlefield Thaumaturgeonto battlefield) now always costs only {W}). --- Mage/src/mage/util/CardUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage/src/mage/util/CardUtil.java b/Mage/src/mage/util/CardUtil.java index e0d022ee71d..1a76423a55a 100644 --- a/Mage/src/mage/util/CardUtil.java +++ b/Mage/src/mage/util/CardUtil.java @@ -214,12 +214,12 @@ public class CardUtil { for (ManaCost manaCost : manaCosts) { Mana mana = manaCost.getOptions().get(0); int colorless = mana != null ? mana.getColorless() : 0; - if (!updated && colorless > 0) { + if (colorless > 0) { if ((colorless - restToReduce) > 0) { int newColorless = colorless - restToReduce; adjustedCost.add(new GenericManaCost(newColorless)); } else { - restToReduce = -colorless; + restToReduce -= colorless; } updated = true; } else {