Wounding X-times as an effect (not cost) in new implementation allows to choose exhausted characters.
This commit is contained in:
@@ -35,6 +35,7 @@ public class Wound implements EffectAppenderProducer {
|
|||||||
|
|
||||||
result.addEffectAppender(
|
result.addEffectAppender(
|
||||||
CardResolver.resolveCards(filter,
|
CardResolver.resolveCards(filter,
|
||||||
|
(actionContext) -> Filters.canTakeWounds(actionContext.getSource(), 1),
|
||||||
(actionContext) -> Filters.canTakeWounds(actionContext.getSource(), times.getEvaluator(actionContext).evaluateExpression(actionContext.getGame(), null)),
|
(actionContext) -> Filters.canTakeWounds(actionContext.getSource(), times.getEvaluator(actionContext).evaluateExpression(actionContext.getGame(), null)),
|
||||||
valueSource, memory, player, "Choose cards to wound", environment));
|
valueSource, memory, player, "Choose cards to wound", environment));
|
||||||
result.addEffectAppender(
|
result.addEffectAppender(
|
||||||
@@ -53,4 +54,5 @@ public class Wound implements EffectAppenderProducer {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user