- Fixed Sac<X> costs with X=0.

This commit is contained in:
Sloth
2012-01-21 12:30:14 +00:00
parent d704c2b52d
commit 85a960d0c2

View File

@@ -164,7 +164,10 @@ public class CostSacrifice extends CostPartWithList {
c = AbilityFactory.calculateAmount(source, amount, ability);
}
}
if (c != null && 0 == c.intValue()) {
payment.setPaidManaPart(this, true);
return true;
}
CostUtil.setInput(CostSacrifice.sacrificeFromList(ability, payment, this, list, c));
}