Merge pull request #4880 from Zzooouhh/Zzooouhh-drain

Implemented Drain Power (with bugs)
This commit is contained in:
LevelX2 2018-04-30 22:43:00 +02:00 committed by GitHub
commit f27f32ec5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 188 additions and 3 deletions

View file

@ -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());
}