mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
better fix for Mana Batteries. Canceling is still allowed.
This commit is contained in:
@@ -7697,11 +7697,12 @@ public class CardFactory implements NewConstants {
|
|||||||
for(int j=0;j<=num[0];j++) {
|
for(int j=0;j<=num[0];j++) {
|
||||||
choices[j] = ""+j;
|
choices[j] = ""+j;
|
||||||
}
|
}
|
||||||
String answer = (String)(AllZone.Display.getChoice(
|
String answer = (String)(AllZone.Display.getChoiceOptional(
|
||||||
"Charge counters to remove", choices));
|
"Charge counters to remove", choices));
|
||||||
|
if(null != answer && !answer.equals("")) {
|
||||||
num[0] = Integer.parseInt(answer);
|
num[0] = Integer.parseInt(answer);
|
||||||
AllZone.Stack.add(addMana);
|
AllZone.Stack.add(addMana);
|
||||||
|
}
|
||||||
stop();
|
stop();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user