mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added generated serials to the new Input functions in Cost_Payment
This commit is contained in:
@@ -625,6 +625,8 @@ public class Cost_Payment {
|
|||||||
|
|
||||||
public static Input exileThis(final SpellAbility spell, final Cost_Payment payment) {
|
public static Input exileThis(final SpellAbility spell, final Cost_Payment payment) {
|
||||||
Input target = new Input() {
|
Input target = new Input() {
|
||||||
|
private static final long serialVersionUID = 678668673002725001L;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void showMessage() {
|
public void showMessage() {
|
||||||
Card card = spell.getSourceCard();
|
Card card = spell.getSourceCard();
|
||||||
@@ -655,6 +657,8 @@ public class Cost_Payment {
|
|||||||
|
|
||||||
public static Input exileType(final SpellAbility spell, final String type, final Cost_Payment payment){
|
public static Input exileType(final SpellAbility spell, final String type, final Cost_Payment payment){
|
||||||
Input target = new Input() {
|
Input target = new Input() {
|
||||||
|
private static final long serialVersionUID = 1403915758082824694L;
|
||||||
|
|
||||||
private CardList typeList;
|
private CardList typeList;
|
||||||
private int nExiles = 0;
|
private int nExiles = 0;
|
||||||
private int nNeeded = payment.getCost().getExileAmount();
|
private int nNeeded = payment.getCost().getExileAmount();
|
||||||
|
|||||||
Reference in New Issue
Block a user