mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00: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.colorless >= mana.colorless
|
||||
&& (this.generic >= mana.generic
|
||||
|| this.countColored() >= mana.countColored() + mana.generic);
|
||||
|| this.countColored() + this.colorless >= mana.count());
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue