Skip to content

Commit

Permalink
Bestow ability - fixed that it could be used with other alternative c…
Browse files Browse the repository at this point in the history
…osts
  • Loading branch information
JayDi85 committed Sep 17, 2023
1 parent 0bb837c commit 5f15e96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Mage/src/main/java/mage/abilities/AbilityImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ public boolean activateAlternateOrAdditionalCosts(MageObject sourceObject, boole
case TRANSFORMED:
case DISTURB:
case MORE_THAN_MEETS_THE_EYE:
case BESTOW:
// from Snapcaster Mage:
// If you cast a spell from a graveyard using its flashback ability, you can't pay other alternative costs
// (such as that of Foil). (2018-12-07)
Expand All @@ -444,10 +445,11 @@ public boolean activateAlternateOrAdditionalCosts(MageObject sourceObject, boole
canUseAdditionalCost = true;
break;
case NORMAL:
default:
canUseAlternativeCost = true;
canUseAdditionalCost = true;
break;
default:
throw new IllegalArgumentException("Unknown ability cast mode: " + ((SpellAbility) this).getSpellAbilityCastMode());
}
}

Expand Down

0 comments on commit 5f15e96

Please sign in to comment.