@@ -206,14 +206,26 @@
|
||||
"memorize": "cardsInHand"
|
||||
},
|
||||
{
|
||||
"type": "discardFromHand",
|
||||
"hand": "shadowPlayer",
|
||||
"player": "shadowPlayer",
|
||||
"forced": true,
|
||||
"count": {
|
||||
"type": "forEachMatchingInMemory",
|
||||
"memory": "cardsInHand",
|
||||
"filter": "orc"
|
||||
"type": "conditional",
|
||||
"condition": {
|
||||
"type": "isMore",
|
||||
"firstNumber": {
|
||||
"type": "forEachMatchingInMemory",
|
||||
"memory": "cardsInHand",
|
||||
"filter": "orc"
|
||||
},
|
||||
"secondNumber": 0
|
||||
},
|
||||
"effect": {
|
||||
"type": "discardFromHand",
|
||||
"hand": "shadowPlayer",
|
||||
"player": "shadowPlayer",
|
||||
"forced": true,
|
||||
"count": {
|
||||
"type": "forEachMatchingInMemory",
|
||||
"memory": "cardsInHand",
|
||||
"filter": "orc"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -35,6 +35,7 @@ public class FilterFactory {
|
||||
simpleFilters.put("unique", (actionContext) -> Filters.unique);
|
||||
simpleFilters.put("bearer", (actionContext -> Filters.hasAttached(actionContext.getSource())));
|
||||
simpleFilters.put("character", (actionContext) -> Filters.character);
|
||||
simpleFilters.put("mounted", (actionContext) -> Filters.mounted);
|
||||
simpleFilters.put("weapon", (actionContext) -> Filters.weapon);
|
||||
simpleFilters.put("wounded", (actionContext) -> Filters.wounded);
|
||||
simpleFilters.put("unwounded", (actionContext) -> Filters.unwounded);
|
||||
|
||||
Reference in New Issue
Block a user