From 02d754fe82eee6a1ca3884ebbf15bcb86b911926 Mon Sep 17 00:00:00 2001 From: Sloth Date: Tue, 11 Sep 2012 18:10:15 +0000 Subject: [PATCH] - Fixed cmc in hasProperty not treating X spells on the stack correctly. --- src/main/java/forge/Card.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/forge/Card.java b/src/main/java/forge/Card.java index f84439cb0a9..057b37964cf 100644 --- a/src/main/java/forge/Card.java +++ b/src/main/java/forge/Card.java @@ -7061,7 +7061,7 @@ public class Card extends GameEntity implements Comparable { 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();