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

@ -19,7 +19,7 @@ public enum DiscardCostCardConvertedMana implements DynamicValue {
for (Cost cost : sourceAbility.getCosts()) {
if (cost instanceof DiscardTargetCost) {
DiscardTargetCost discardCost = (DiscardTargetCost) cost;
return discardCost.getCards().stream().mapToInt(Card::getConvertedManaCost).sum();
return discardCost.getCards().stream().mapToInt(Card::getManaValue).sum();
}
}
return 0;
@ -37,6 +37,6 @@ public enum DiscardCostCardConvertedMana implements DynamicValue {
@Override
public String getMessage() {
return "the discarded card's converted mana cost";
return "the discarded card's mana value";
}
}