mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
- Applied fix suggested by Stravant for the Flashback Ability issue. Bug #3132
This commit is contained in:
parent
aa4cf21b13
commit
9b5a04697c
1 changed files with 4 additions and 2 deletions
|
@ -293,10 +293,12 @@ public abstract class AbilityImpl implements Ability {
|
|||
//
|
||||
// We apply this now, *AFTER* the user has made the choice to pay an alternative cost for the
|
||||
// spell. You can also still cast a spell with an unplayable cost by... not paying it's mana cost.
|
||||
if (getAbilityType() == AbilityType.SPELL && getManaCostsToPay().isEmpty() && !noMana) {
|
||||
//if (getAbilityType() == AbilityType.SPELL && getManaCostsToPay().isEmpty() && !noMana) {
|
||||
// return false;
|
||||
//}
|
||||
if (getAbilityType() == AbilityType.SPELL && (getManaCostsToPay().isEmpty() && getCosts().isEmpty()) && !noMana) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// 20121001 - 601.2b
|
||||
// If the spell has a variable cost that will be paid as it's being cast (such as an {X} in
|
||||
// its mana cost; see rule 107.3), the player announces the value of that variable.
|
||||
|
|
Loading…
Reference in a new issue