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

@ -628,7 +628,7 @@ public class Spell extends StackObjImpl implements Card {
* @return
*/
@Override
public int getConvertedManaCost() {
public int getManaValue() {
int cmc = 0;
if (faceDown) {
return 0;
@ -636,7 +636,7 @@ public class Spell extends StackObjImpl implements Card {
for (SpellAbility spellAbility : spellAbilities) {
cmc += spellAbility.getConvertedXManaCost(getCard());
}
cmc += getCard().getManaCost().convertedManaCost();
cmc += getCard().getManaCost().manaValue();
return cmc;
}