move default case down

This commit is contained in:
Ingmar Goudt 2019-07-11 15:45:22 +02:00
parent b704618f32
commit 3163bfa310

View file

@ -441,11 +441,7 @@ public abstract class AbilityImpl implements Ability {
if (this instanceof SpellAbility) { if (this instanceof SpellAbility) {
// A player can't apply two alternative methods of casting or two alternative costs to a single spell. // A player can't apply two alternative methods of casting or two alternative costs to a single spell.
switch (((SpellAbility) this).getSpellAbilityCastMode()) { switch (((SpellAbility) this).getSpellAbilityCastMode()) {
case NORMAL:
default:
canUseAlternativeCost = true;
canUseAdditionalCost = true;
break;
case FLASHBACK: case FLASHBACK:
case MADNESS: case MADNESS:
// from Snapcaster Mage: // from Snapcaster Mage:
@ -456,6 +452,11 @@ public abstract class AbilityImpl implements Ability {
// mandatory additional costs the spell has, such as that of Tormenting Voice. (2018-12-07) // mandatory additional costs the spell has, such as that of Tormenting Voice. (2018-12-07)
canUseAdditionalCost = true; canUseAdditionalCost = true;
break; break;
case NORMAL:
default:
canUseAlternativeCost = true;
canUseAdditionalCost = true;
break;
} }
} }