mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- This fixes two small errors in rev 1739. Added "CardListUtil." to sumCMC(human) and sumCMC(computer).
This commit is contained in:
@@ -3112,11 +3112,11 @@ public class CardFactory implements NewConstants {
|
||||
CardList computer = new CardList(AllZone.Computer_Play.getCards());
|
||||
|
||||
human = human.getValidCards(Tgts);
|
||||
int humanvalue = sumCMC(human);
|
||||
int humanvalue = CardListUtil.sumCMC(human);
|
||||
humanvalue += human.getType("Land").size();
|
||||
humanvalue += human.getTokens().size() * 3; // X = total converted mana cost + number of lands + 3 * number of tokens (Human)
|
||||
computer = computer.getValidCards(Tgts);
|
||||
int computervalue = sumCMC(computer);
|
||||
int computervalue = CardListUtil.sumCMC(computer);
|
||||
computervalue += computer.getType("Land").size();
|
||||
computervalue += computer.getTokens().size() * 3; // Y = total converted mana cost + number of lands + 3 * number of tokens (Computer)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user