mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Merge branch 'fixMana' into 'master'
Fix mana conversion checking wrong card from hand See merge request core-developers/forge!4561
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user