mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
update isBasic method of AbilityMana to account for any mana
This commit is contained in:
@@ -2790,7 +2790,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((am.isBasic() || am.isReflectedMana() || am.isAnyMana()) && !res.contains(am)) {
|
||||
if ((am.isBasic() || am.isReflectedMana()) && !res.contains(am)) {
|
||||
res.add(am);
|
||||
}
|
||||
|
||||
|
||||
@@ -369,7 +369,7 @@ public abstract class AbilityMana extends AbilityActivated implements java.io.Se
|
||||
* @return a boolean.
|
||||
*/
|
||||
public final boolean isBasic() {
|
||||
if (this.origProduced.length() != 1) {
|
||||
if (this.origProduced.length() != 1 && !this.origProduced.contains("Any")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user