From 4f6fb64811682ef236e62bfb397dabcd12e58011 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Tue, 10 Feb 2015 01:24:03 +0100 Subject: [PATCH] * Small fix to ManaOptions. --- Mage/src/mage/abilities/mana/ManaOptions.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage/src/mage/abilities/mana/ManaOptions.java b/Mage/src/mage/abilities/mana/ManaOptions.java index 912bfa908c..33a69f1bd7 100644 --- a/Mage/src/mage/abilities/mana/ManaOptions.java +++ b/Mage/src/mage/abilities/mana/ManaOptions.java @@ -225,15 +225,15 @@ public class ManaOptions extends ArrayList { if (isEmpty()) { this.add(new Mana()); } - boolean addAny = false; - if (addMana.getAny() == 1 && addMana.count() == 1) { - addAny = true; // only replace to any will be repeated + boolean repeatable = false; + if (addMana.getAny() == 1 && addMana.count() == 1 && onlyManaCosts) { + repeatable = true; // only replace to any with mana costs only will be repeated if able } for (Mana mana: this) { while (mana.includesMana(cost)) { mana.subtract(cost); mana.add(addMana); - if (!addAny) { + if (!repeatable) { break; } }