Fixed Saruman and added Wraith card

This commit is contained in:
marcin.sciesinski
2019-09-09 14:48:49 -07:00
parent 9389d6d138
commit 3cbaa43f0e
3 changed files with 42 additions and 1 deletions

View File

@@ -343,7 +343,7 @@
"type": "minion",
"race": "wizard",
"strength": 8,
"vitality": 8,
"vitality": 4,
"site": 4,
"keyword": "cunning",
"effects": [

View File

@@ -1,4 +1,39 @@
{
"40_183": {
"title": "Black Breath",
"culture": "wraith",
"cost": 1,
"type": "condition",
"keyword": "support area",
"effects": [
{
"type": "activated",
"phase": "skirmish",
"effect": {
"type": "transfer",
"filter": "choose(self,zone(support))",
"where": "choose(character,inSkirmishAgainst(nazgul))"
}
},
{
"type": "modifier",
"modifier": {
"type": "cantRemoveBurdens",
"condition": {
"type": "canSpot",
"filter": "self,attachedTo(ring bearer)"
}
}
},
{
"type": "modifier",
"modifier": {
"type": "cantHeal",
"filter": "hasAttached(self)"
}
}
]
},
"40_184": {
"title": "Black Steed",
"subtitle": "Bred to Serve",

View File

@@ -1,6 +1,7 @@
package com.gempukku.lotro.cards.build.field.effect.filter;
import com.gempukku.lotro.cards.build.*;
import com.gempukku.lotro.cards.build.field.FieldUtils;
import com.gempukku.lotro.cards.build.field.effect.appender.resolver.ValueResolver;
import com.gempukku.lotro.common.*;
import com.gempukku.lotro.filters.Filter;
@@ -301,6 +302,11 @@ public class FilterFactory {
};
}
});
parameterFilters.put("zone",
(parameter, environment) -> {
final Zone zone = FieldUtils.getEnum(Zone.class, parameter, "parameter");
return actionContext -> zone;
});
}
private void appendFilter(Filterable value) {