mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
move default case down
This commit is contained in:
parent
b704618f32
commit
3163bfa310
1 changed files with 6 additions and 5 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue