From 2fe9c38fff7ebb79ac44d8259be31d7d51feb2f6 Mon Sep 17 00:00:00 2001 From: tool4EvEr Date: Tue, 20 Apr 2021 20:21:39 +0200 Subject: [PATCH] Fix mana conversion checking wrong card from hand --- .../src/main/java/forge/player/HumanPlaySpellAbility.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forge-gui/src/main/java/forge/player/HumanPlaySpellAbility.java b/forge-gui/src/main/java/forge/player/HumanPlaySpellAbility.java index ad2e95121f6..4bcbdcbf4ab 100644 --- a/forge-gui/src/main/java/forge/player/HumanPlaySpellAbility.java +++ b/forge-gui/src/main/java/forge/player/HumanPlaySpellAbility.java @@ -93,10 +93,10 @@ public class HumanPlaySpellAbility { ability = GameActionUtil.addExtraKeywordCost(ability); if (ability.isSpell() && !ability.isCopied()) { // These hidden keywords should only apply on the Stack - if (c.hasKeyword("May spend mana as though it were mana of any type to cast CARDNAME") + if (ability.getHostCard().hasKeyword("May spend mana as though it were mana of any type to cast CARDNAME") || (option != null && option.isIgnoreManaCostType())) { manaTypeConversion = true; - } else if (c.hasKeyword("May spend mana as though it were mana of any color to cast CARDNAME") + } else if (ability.getHostCard().hasKeyword("May spend mana as though it were mana of any color to cast CARDNAME") || (option != null && option.isIgnoreManaCostColor())) { manaColorConversion = true; }