mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Changed CostExiledMoveToGrave's toString method to better match text on cards.
This commit is contained in:
@@ -6,12 +6,12 @@
|
|||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
@@ -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