Corrected canWound logic

Previously, players were unable to kill characters if the cost of an action was to wound.
This commit is contained in:
PhallenCassidy
2018-12-15 11:31:05 -05:00
committed by GitHub
parent 18bcd75e0d
commit 89be5cac6c

View File

@@ -278,7 +278,7 @@ public class PlayConditions {
@Override
public boolean visitPhysicalCard(PhysicalCard physicalCard) {
if (filter.accepts(gameState, modifiersQuerying, physicalCard)
&& modifiersQuerying.getVitality(gameState, physicalCard) > times
&& modifiersQuerying.getVitality(gameState, physicalCard) >= times
&& modifiersQuerying.canTakeWounds(gameState, (source != null)?Collections.singleton(source):Collections.<PhysicalCard>emptySet(), physicalCard, times))
_woundableCount++;
return _woundableCount >= count;