replaced all instances of converted mana cost with mana value

This commit is contained in:
Evan Kranzler 2021-04-17 17:02:27 -04:00
parent cb0df438dd
commit a61d5543fa
610 changed files with 1781 additions and 1796 deletions

View file

@ -184,18 +184,18 @@ public class PermanentCard extends PermanentImpl {
}
@Override
public int getConvertedManaCost() {
public int getManaValue() {
if (isTransformed()) {
// 711.4b While a double-faced permanent's back face is up, it has only the characteristics of its back face.
// However, its converted mana cost is calculated using the mana cost of its front face. This is a change from previous rules.
// If a permanent is copying the back face of a double-faced card (even if the card representing that copy
// is itself a double-faced card), the converted mana cost of that permanent is 0.
return getCard().getConvertedManaCost();
return getCard().getManaValue();
}
if (faceDown) { // game not neccessary
return getManaCost().convertedManaCost();
return getManaCost().manaValue();
}
return super.getConvertedManaCost();
return super.getManaValue();
}