Fixed Saruman and added Wraith card
This commit is contained in:
@@ -343,7 +343,7 @@
|
|||||||
"type": "minion",
|
"type": "minion",
|
||||||
"race": "wizard",
|
"race": "wizard",
|
||||||
"strength": 8,
|
"strength": 8,
|
||||||
"vitality": 8,
|
"vitality": 4,
|
||||||
"site": 4,
|
"site": 4,
|
||||||
"keyword": "cunning",
|
"keyword": "cunning",
|
||||||
"effects": [
|
"effects": [
|
||||||
|
|||||||
@@ -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": {
|
"40_184": {
|
||||||
"title": "Black Steed",
|
"title": "Black Steed",
|
||||||
"subtitle": "Bred to Serve",
|
"subtitle": "Bred to Serve",
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
package com.gempukku.lotro.cards.build.field.effect.filter;
|
package com.gempukku.lotro.cards.build.field.effect.filter;
|
||||||
|
|
||||||
import com.gempukku.lotro.cards.build.*;
|
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.cards.build.field.effect.appender.resolver.ValueResolver;
|
||||||
import com.gempukku.lotro.common.*;
|
import com.gempukku.lotro.common.*;
|
||||||
import com.gempukku.lotro.filters.Filter;
|
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) {
|
private void appendFilter(Filterable value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user