mirror of
https://github.com/correl/mage.git
synced 2025-03-17 01:06:26 -09:00
Made Mana#includesMana capable of comparing colorless to generic
This commit is contained in:
parent
34952f173d
commit
4446adfadf
1 changed files with 1 additions and 1 deletions
|
@ -1083,7 +1083,7 @@ public class Mana implements Comparable<Mana>, Serializable, Copyable<Mana> {
|
||||||
&& this.red >= mana.red
|
&& this.red >= mana.red
|
||||||
&& this.colorless >= mana.colorless
|
&& this.colorless >= mana.colorless
|
||||||
&& (this.generic >= mana.generic
|
&& (this.generic >= mana.generic
|
||||||
|| this.countColored() >= mana.countColored() + mana.generic);
|
|| this.countColored() + this.colorless >= mana.count());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue