* Fixed CMC calculation for transformed cards (fixes #1826).

This commit is contained in:
LevelX2 2016-04-15 14:59:36 +02:00
parent 1deb4192ba
commit 2b8f73dbcc
132 changed files with 227 additions and 179 deletions

View file

@ -43,7 +43,7 @@ public class TargetConvertedManaCost implements DynamicValue {
public int calculate(Game game, Ability source, Effect effect) {
Card card = game.getCard(source.getFirstTarget());
if (card != null) {
return card.getManaCost().convertedManaCost();
return card.getConvertedManaCost();
}
return 0;
}