better fix for Mana Batteries. Canceling is still allowed.

This commit is contained in:
jendave
2011-08-06 14:55:12 +00:00
parent f604c08b5b
commit 0a9f1b2d8b

View File

@@ -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();
} }
}; };