- Fixed cmc in hasProperty not treating X spells on the stack correctly.

This commit is contained in:
Sloth
2012-09-11 18:10:15 +00:00
parent 717ff7c90a
commit 02d754fe82

View File

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