mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
* Fixed a problem with mana sources that blocked casting spells because their available mana calculation caused return of no available mana (Chrome Mox, Mox Amber #6698).
This commit is contained in:
parent
e937999b96
commit
68f4d67600
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ public class ManaOptions extends ArrayList<Mana> {
|
||||||
if (!hasTapCost(abilities.get(0)) || checkTappedForManaReplacement(abilities.get(0), game, netManas.get(0))) {
|
if (!hasTapCost(abilities.get(0)) || checkTappedForManaReplacement(abilities.get(0), game, netManas.get(0))) {
|
||||||
addMana(netManas.get(0));
|
addMana(netManas.get(0));
|
||||||
}
|
}
|
||||||
} else {
|
} else if (netManas.size() > 1) {
|
||||||
List<Mana> copy = copy();
|
List<Mana> copy = copy();
|
||||||
this.clear();
|
this.clear();
|
||||||
// boolean hasTapCost = hasTapCost(abilities.get(0)); // needed if checkTappedForManaReplacement is reactivated
|
// boolean hasTapCost = hasTapCost(abilities.get(0)); // needed if checkTappedForManaReplacement is reactivated
|
||||||
|
|
Loading…
Reference in a new issue