mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Fixed last commit
This commit is contained in:
@@ -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")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user