mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38: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();
|
y = this.getNetDefense();
|
||||||
} else if (property.startsWith("cmc")) {
|
} else if (property.startsWith("cmc")) {
|
||||||
rhs = property.substring(5);
|
rhs = property.substring(5);
|
||||||
y = this.getCMC();
|
y = CardUtil.getConvertedManaCost(this);
|
||||||
} else if (property.startsWith("totalPT")) {
|
} else if (property.startsWith("totalPT")) {
|
||||||
rhs = property.substring(10);
|
rhs = property.substring(10);
|
||||||
y = this.getNetAttack() + this.getNetDefense();
|
y = this.getNetAttack() + this.getNetDefense();
|
||||||
|
|||||||
Reference in New Issue
Block a user