mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Merge pull request #4880 from Zzooouhh/Zzooouhh-drain
Implemented Drain Power (with bugs)
This commit is contained in:
commit
f27f32ec5e
10 changed files with 188 additions and 3 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…
Add table
Add a link
Reference in a new issue