mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fixed cmc in hasProperty not treating X spells on the stack correctly.
This commit is contained in:
@@ -7061,7 +7061,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
y = this.getNetDefense();
|
||||
} else if (property.startsWith("cmc")) {
|
||||
rhs = property.substring(5);
|
||||
y = this.getCMC();
|
||||
y = CardUtil.getConvertedManaCost(this);
|
||||
} else if (property.startsWith("totalPT")) {
|
||||
rhs = property.substring(10);
|
||||
y = this.getNetAttack() + this.getNetDefense();
|
||||
|
||||
Reference in New Issue
Block a user