mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Changed CostExiledMoveToGrave's toString method to better match text on cards.
This commit is contained in:
@@ -43,7 +43,7 @@ public class CostExiledMoveToGrave extends CostPartWithList {
|
|||||||
final String desc = getTypeDescription() == null ? getType() : getTypeDescription();
|
final String desc = getTypeDescription() == null ? getType() : getTypeDescription();
|
||||||
sb.append(Cost.convertAmountTypeToWords(i, getAmount(), desc));
|
sb.append(Cost.convertAmountTypeToWords(i, getAmount(), desc));
|
||||||
|
|
||||||
sb.append(" into its owner's graveyard");
|
sb.append(" from exile into that player's graveyard");
|
||||||
|
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
@@ -71,10 +71,7 @@ public class CostExiledMoveToGrave extends CostPartWithList {
|
|||||||
CardCollectionView typeList = activator.getGame().getCardsIn(ZoneType.Exile);
|
CardCollectionView typeList = activator.getGame().getCardsIn(ZoneType.Exile);
|
||||||
|
|
||||||
typeList = CardLists.getValidCards(typeList, getType().split(";"), activator, source);
|
typeList = CardLists.getValidCards(typeList, getType().split(";"), activator, source);
|
||||||
if (typeList.size() < i) {
|
return typeList.size() >= i;
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user