- Fixed last commit

This commit is contained in:
swordshine
2013-03-08 07:41:37 +00:00
parent d467b3392a
commit e7b1413a08

View File

@@ -44,10 +44,10 @@ public class RevealEffect extends RevealEffectBase {
} else { } else {
List<Card> valid = new ArrayList<Card>(handChoices); List<Card> valid = new ArrayList<Card>(handChoices);
int max = 1; int max = 1;
if (anyNumber) { if (sa.hasParam("RevealValid")) {
valid = CardLists.getValidCards(valid, sa.getParam("RevealValid"), p, host); valid = CardLists.getValidCards(valid, sa.getParam("RevealValid"), p, host);
} }
if (sa.hasParam("AnyNumber")) { if (anyNumber) {
max = valid.size(); max = valid.size();
} }
else if (sa.hasParam("NumCards")) { else if (sa.hasParam("NumCards")) {