forked from External/mage
replaced all instances of converted mana cost with mana value
This commit is contained in:
parent
cb0df438dd
commit
a61d5543fa
610 changed files with 1781 additions and 1796 deletions
|
|
@ -52,7 +52,7 @@ class MomirEffect extends OneShotEffect {
|
|||
|
||||
public MomirEffect(MomirEffect effect) {
|
||||
super(effect);
|
||||
staticText = "Create a token that's a copy of a creature card with converted mana cost X chosen at random";
|
||||
staticText = "Create a token that's a copy of a creature card with mana value X chosen at random";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -70,10 +70,10 @@ class MomirEffect extends OneShotEffect {
|
|||
return true;
|
||||
}
|
||||
// should this be random across card names
|
||||
CardCriteria criteria = new CardCriteria().types(CardType.CREATURE).convertedManaCost(value);
|
||||
CardCriteria criteria = new CardCriteria().types(CardType.CREATURE).manaValue(value);
|
||||
List<CardInfo> options = CardRepository.instance.findCards(criteria);
|
||||
if (options == null || options.isEmpty()) {
|
||||
game.informPlayers("No random creature card with converted mana cost of " + value + " was found.");
|
||||
game.informPlayers("No random creature card with mana value of " + value + " was found.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue