diff --git a/Mage/src/main/java/mage/abilities/AbilityImpl.java b/Mage/src/main/java/mage/abilities/AbilityImpl.java index 5a59a134727..01485b42ca2 100644 --- a/Mage/src/main/java/mage/abilities/AbilityImpl.java +++ b/Mage/src/main/java/mage/abilities/AbilityImpl.java @@ -450,6 +450,12 @@ public abstract class AbilityImpl implements Ability { throw new IllegalArgumentException("Unknown ability cast mode: " + ((SpellAbility) this).getSpellAbilityCastMode()); } } + if (this.getAbilityType() == AbilityType.SPELL && this instanceof SpellAbility + // 117.9a Only one alternative cost can be applied to any one spell as it's being cast. + // So an alternate spell ability can't be paid with Omniscience + && ((SpellAbility) this).getSpellAbilityType() == SpellAbilityType.BASE_ALTERNATE) { + canUseAlternativeCost = false; + } boolean alternativeCostUsed = false; if (sourceObject != null && !(sourceObject instanceof Permanent)) { @@ -473,17 +479,12 @@ public abstract class AbilityImpl implements Ability { } // controller specific alternate spell costs if (canUseAlternativeCost && !noMana && !alternativeCostUsed) { - if (this.getAbilityType() == AbilityType.SPELL - // 117.9a Only one alternative cost can be applied to any one spell as it's being cast. - // So an alternate spell ability can't be paid with Omniscience - && ((SpellAbility) this).getSpellAbilityType() != SpellAbilityType.BASE_ALTERNATE) { - for (AlternativeSourceCosts alternativeSourceCosts : controller.getAlternativeSourceCosts()) { - if (alternativeSourceCosts.isAvailable(this, game)) { - if (alternativeSourceCosts.askToActivateAlternativeCosts(this, game)) { - // only one alternative costs may be activated - alternativeCostUsed = true; - break; - } + for (AlternativeSourceCosts alternativeSourceCosts : controller.getAlternativeSourceCosts()) { + if (alternativeSourceCosts.isAvailable(this, game)) { + if (alternativeSourceCosts.askToActivateAlternativeCosts(this, game)) { + // only one alternative costs may be activated + alternativeCostUsed = true; + break; } } }